mirror of
https://github.com/jazzband/django-authority.git
synced 2026-05-27 16:34:00 +00:00
fixing invalid syntax error
Got the following error when installing django-authority:
File "/path/to/env/build/django-authority/example/users/admin.py", line 2
from example.users.User
^
SyntaxError: invalid syntax
This commit is contained in:
parent
426e0db6af
commit
ad61de0cae
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from django.contrib.auth.admin import UserAdmin
|
||||
from example.users.User
|
||||
from example.users.models import User
|
||||
|
||||
|
||||
admin.site.register(User, UserAdmin)
|
||||
|
|
|
|||
Loading…
Reference in a new issue