Source

django-environments / etc / urls.py

Full commit
Vincent Hillenbr… 0f28fc5 

Vincent Hillenbr… e3a01df 



Vincent Hillenbr… 0f28fc5 
Vincent Hillenbr… e3a01df 


Vincent Hillenbr… 0f28fc5 
Vincent Hillenbr… 5db39ff 

Vincent Hillenbr… a18a45b 
Vincent Hillenbr… e3a01df 
Vincent Hillenbr… 0f28fc5 

from django.conf.urls.defaults import url, include, patterns
from django.conf.urls.i18n import i18n_patterns
from django.contrib import admin
from django.conf import settings


__all__ = ('default_patterns', 'default_i18n_patterns')

admin.autodiscover()

_patterns = (
    url(r'^admin/', include(admin.site.urls)),
    url(r'^%s$' % settings.LOGIN_URL[1:], 'django.contrib.auth.views.login',
         {'template_name': 'admin/login.html'})
)

default_patterns = patterns('', *_patterns)
default_i18n_patterns = i18n_patterns('', *_patterns)