diff options
Diffstat (limited to 'lib/grappelli/urls.py')
-rw-r--r-- | lib/grappelli/urls.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/grappelli/urls.py b/lib/grappelli/urls.py new file mode 100644 index 0000000..1893982 --- /dev/null +++ b/lib/grappelli/urls.py @@ -0,0 +1,16 @@ +# coding: utf-8 + +# DJANGO IMPORTS +from django.conf.urls.defaults import * +from django.conf import settings + + +urlpatterns = patterns('', + + # GENERIC + url(r'^lookup/obj/$', 'grappelli.views.generic.generic_lookup', name="grp_generic_lookup"), + # FOREIGNKEY LOOKUP + url(r'^lookup/related/$', 'grappelli.views.related.related_lookup', name="grp_related_lookup"), + url(r'^lookup/m2m/$', 'grappelli.views.related.m2m_lookup', name="grp_m2m_lookup"), + +) |