File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -183,3 +183,4 @@ that much better:
183183 * Joe Friedl (https://github.com/grampajoe)
184184 * Daniel Ward (https://github.com/danielward)
185185 * Aniket Deshpande (https://github.com/anicake)
186+ * rfkrocktk (https://github.com/rfkrocktk)
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Changelog
44
55Changes in 0.8.5
66================
7+ - Added user_permissions to Django User object (#491, #492)
78- Fix setting Geo Location fields (#488)
89- Fix handling invalid dict field value (#485)
910- Added app_label to MongoUser (#484)
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class Permission(Document):
117117
118118 class Meta :
119119 verbose_name = _ ('permission' )
120- verbose_name_plural = _ ('permissions' )U
120+ verbose_name_plural = _ ('permissions' )
121121 # unique_together = (('content_type', 'codename'),)
122122 # ordering = ('content_type__app_label', 'content_type__model', 'codename')
123123
@@ -229,7 +229,7 @@ class User(Document):
229229 verbose_name = _ ('last login' ))
230230 date_joined = DateTimeField (default = datetime_now ,
231231 verbose_name = _ ('date joined' ))
232-
232+
233233 user_permissions = ListField (ReferenceField (Permission ), verbose_name = _ ('user permissions' ),
234234 help_text = _ ('Permissions for the user.' ))
235235
You can’t perform that action at this time.
0 commit comments