|
@@ -19,7 +19,7 @@ from django.views.generic import RedirectView
|
|
|
from django.conf import settings
|
|
from django.conf import settings
|
|
|
from django.conf.urls.static import static
|
|
from django.conf.urls.static import static
|
|
|
from django.contrib.auth import views as auth_views
|
|
from django.contrib.auth import views as auth_views
|
|
|
-from django.urls import include, path
|
|
|
|
|
|
|
+from django.urls import include, path, re_path
|
|
|
|
|
|
|
|
from django.conf.urls import url, include
|
|
from django.conf.urls import url, include
|
|
|
from . import views
|
|
from . import views
|
|
@@ -63,6 +63,8 @@ urlpatterns = [
|
|
|
path('', RedirectView.as_view(url='/mab/')),
|
|
path('', RedirectView.as_view(url='/mab/')),
|
|
|
|
|
|
|
|
path('accounts/', include('django.contrib.auth.urls')),
|
|
path('accounts/', include('django.contrib.auth.urls')),
|
|
|
|
|
+ path('newsletter/', include('newsletter.urls')),
|
|
|
|
|
+ path('tinymce/', include('tinymce.urls')),
|
|
|
url(r'^upload/', include('django_file_form.urls')),
|
|
url(r'^upload/', include('django_file_form.urls')),
|
|
|
url(r'^handle_upload$', views.handle_upload, name='file_form_handle_upload'),
|
|
url(r'^handle_upload$', views.handle_upload, name='file_form_handle_upload'),
|
|
|
path('__debug__/', include(debug_toolbar.urls)),
|
|
path('__debug__/', include(debug_toolbar.urls)),
|