mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-12 10:51:03 +00:00
Fixing urls.
This commit is contained in:
parent
6cc5b5e18a
commit
dae15811ee
1 changed files with 1 additions and 1 deletions
|
|
@ -216,13 +216,13 @@ class ModelAdmin2(BaseAdmin2):
|
|||
|
||||
@property
|
||||
def urls(self):
|
||||
# We set the application and instance namespace here
|
||||
return self.get_urls(), None, None
|
||||
|
||||
@property
|
||||
def api_urls(self):
|
||||
return self.get_api_urls(), None, None
|
||||
|
||||
|
||||
def create_extra_permissions(app, created_models, verbosity, **kwargs):
|
||||
"""
|
||||
Creates 'view' permissions for all models.
|
||||
|
|
|
|||
Loading…
Reference in a new issue