Mercurial > sat_legacy_website
diff sat_website/urls.py @ 138:2ec5653b190a
add url "whereami" to get the client IP address
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 26 Apr 2016 19:32:44 +0200 |
parents | 2fdbf8ebb72b |
children | b1c16cd53b62 |
line wrap: on
line diff
--- a/sat_website/urls.py Tue Mar 08 08:59:13 2016 +0100 +++ b/sat_website/urls.py Tue Apr 26 19:32:44 2016 +0200 @@ -25,5 +25,6 @@ urlpatterns = patterns('sat_website.views', url(r'^(?P<category>\w*)(.html)?$', 'generic_cat'), (r'^i18n/', include('django.conf.urls.i18n')), + url(r'^whereami/?$', 'whereami') )