from django.conf.urls.static import static
from django.conf.urls import patterns, include
from django.conf import settings

from django.contrib import admin


# maybe use i18npatterns?!
urlpatterns = patterns(
    '',  # dont remove it, it's the prefix!
    # (r'', include('{{ project_name }}.apps.')),
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^admin/', include(admin.site.urls)),
)

if settings.DEBUG and settings.MEDIA_ROOT:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

from django.conf.urls.static import static
from django.conf.urls import patterns, include
from django.conf import settings

from django.contrib import admin


# maybe use i18npatterns?!
urlpatterns = patterns(
    '',  # dont remove it, it's the prefix!
    # (r'', include('{{ project_name }}.views.')),
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^admin/', include(admin.site.urls)),
)

if settings.DEBUG and settings.MEDIA_ROOT:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

correct urls inclusion