Révision c23f4a3b
Ajouté par Josué Kouka il y a environ 6 ans
mandayejs/applications/__init__.py | ||
---|---|---|
20 | 20 |
from importlib import import_module |
21 | 21 |
|
22 | 22 |
from django.conf import settings |
23 |
from django.conf.urls import patterns, url
|
|
23 |
from django.conf.urls import url |
|
24 | 24 |
from django.http import Http404 |
25 | 25 |
from django.core.exceptions import ImproperlyConfigured |
26 | 26 |
from django.core.urlresolvers import resolve |
27 | 27 |
from django.utils.text import slugify |
28 | 28 |
|
29 |
from mandayejs.applications import views |
|
30 |
|
|
29 | 31 |
|
30 | 32 |
def get_app_settings(): |
31 | 33 |
module_name, app_settings = tuple(settings.SITE_APP.rsplit('.', 1)) |
... | ... | |
192 | 194 |
'account_details': '/DEFAULT/Ermes/Services/ILSClient.svc/RetrieveAccount', |
193 | 195 |
} |
194 | 196 |
|
195 |
urlpatterns = patterns( |
|
196 |
'', |
|
197 |
urlpatterns = [ |
|
197 | 198 |
url( |
198 | 199 |
r'account/(?P<username>\w+)/$', |
199 |
'mandayejs.applications.views.archimed_account_details',
|
|
200 |
views.archimed_account_details,
|
|
200 | 201 |
name='archimed-account-details'), |
201 |
)
|
|
202 |
]
|
|
202 | 203 |
|
203 | 204 |
SITE_LOGOUT_LOCATOR = '.account_logoff' |
204 | 205 |
|
Formats disponibles : Unified diff
add django 1.11 support (#19615)