Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(115)

Issue 908: [issue6] Google's Users API Integration (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
18 years, 1 month ago by Andi
Modified:
16 years, 10 months ago
Reviewers:
mattbrown.nz
Base URL:
http://google-app-engine-django.googlecode.com/svn/trunk/
Visibility:
Public.

Description

http://code.google.com/p/google-app-engine-django/issues/detail?id=6

Patch Set 1 #

Patch Set 2 : mail method fixed, code style #

Patch Set 3 : DjangoUserModel, better helpers integration for authentication #

Patch Set 4 : BaseModel.DoesNotExist attribute implemented, minor fixes #

Patch Set 5 : Doc tests #

Patch Set 6 : Revised patch to support Django 0.96 #

Patch Set 7 : Proper model cache #

Unified diffs Side-by-side diffs Delta from patch set Stats (+375 lines, -15 lines) Patch
appengine_django/__init__.py View 3 4 5 6 4 chunks +22 lines, -12 lines 0 comments Download
appengine_django/auth/__init__.py View 1 2 3 4 5 6 1 chunk +77 lines, -0 lines 0 comments Download
appengine_django/auth/middleware.py View 1 2 3 4 5 6 1 chunk +36 lines, -0 lines 0 comments Download
appengine_django/auth/models.py View 3 4 5 6 1 chunk +176 lines, -0 lines 0 comments Download
appengine_django/auth/tests.py View 6 1 chunk +56 lines, -0 lines 0 comments Download
appengine_django/models.py View 2 chunks +5 lines, -0 lines 0 comments Download
settings.py View 3 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 12
mattbrown.nz
http://codereview.appspot.com/908/diff/1/3 File appengine_django/auth/__init__.py (right): http://codereview.appspot.com/908/diff/1/3#newcode1 Line 1: # Licensed under the Apache License, Version 2.0 ...
18 years, 1 month ago (2008-05-09 10:40:19 UTC) #1
Andi
http://codereview.appspot.com/908/diff/1/3 File appengine_django/auth/__init__.py (right): http://codereview.appspot.com/908/diff/1/3#newcode1 Line 1: # Licensed under the Apache License, Version 2.0 ...
18 years, 1 month ago (2008-05-09 20:23:22 UTC) #2
mattbrown.nz
http://codereview.appspot.com/908/diff/1/3 File appengine_django/auth/__init__.py (right): http://codereview.appspot.com/908/diff/1/3#newcode160 Line 160: datastore_types._PROPERTY_TYPES.append(DjangoUser) On 2008/05/09 20:23:23, aalbrecht wrote: > 975, ...
18 years, 1 month ago (2008-05-11 03:01:19 UTC) #3
Andi
New patch set uploaded: * DjangoUserModel as a basis for other user-related things * better ...
18 years, 1 month ago (2008-05-13 14:20:23 UTC) #4
mattbrown.nz
Hi Andi, Sorry for the delay in responding, I don't think I got an email ...
18 years ago (2008-05-16 03:59:29 UTC) #5
mattbrown.nz
Looking great. Just a few minor comments. http://codereview.appspot.com/908/diff/63/106 File appengine_django/__init__.py (left): http://codereview.appspot.com/908/diff/63/106#oldcode280 Line 280: setattr(settings, ...
18 years ago (2008-05-18 11:23:42 UTC) #6
Andi
Thanks for taking time to review this! The new patchset fixes the problems you mentioned. ...
18 years ago (2008-05-18 19:17:46 UTC) #7
mattbrown.nz
Hi Andi, This is looking great now, one final issue I found in my presubmit ...
18 years ago (2008-05-19 00:38:02 UTC) #8
Andi
Doc tests added
18 years ago (2008-05-19 04:24:38 UTC) #9
Andi
Hi Matt, I'm sorry, but I had to upload another patch set with some minor ...
18 years ago (2008-05-19 11:13:23 UTC) #10
mattbrown.nz
Hi Andi, We're getting there! I still see one error in the tests in the ...
18 years ago (2008-05-19 14:19:29 UTC) #11
Andi
18 years ago (2008-05-19 20:08:33 UTC) #12
There were several problems with the underlying Django stuff. Permission, Group
and Message models had to be implemented and the DjangoUser had to be renamed to
User. Otherwise the AppCache in django.db.models.loading stores a reference to
these models. This cache is used by dumpdata. Since I don't like to deal with
internals the solution for me was to add the missing models and rename
DjangoUser. If the names are equal to the original Django models, the AppCache
is updated correctly.

Sorry, I've completely misinterpreted the test failures, I thought it was some
other unrelated issue.

In addition I removed some needless imports.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b