Пример #1
0
from django.conf.urls import url, patterns
from ginger.conf.urls import scan
from . import views

urlpatterns = scan(views)
Пример #2
0
from django.conf.urls import url, patterns, include
from ginger.conf.urls import scan
from . import views

urlpatterns = scan(views) + patterns("", url("", include("django.contrib.auth.urls")),)