
from django.contrib import admin
from django.urls import path, include
from django.conf.urls.static import static
from django.conf import settings

urlpatterns = [
    path('ckeditor/', include('ckeditor_uploader.urls')),
    path('i18n/', include('django.conf.urls.i18n')),

    path('', include('ServicesApp.js_urls')),
    path('', include('GeneralApp.js_urls'))
]

from django.conf.urls.i18n import i18n_patterns
urlpatterns += i18n_patterns(

    path('admin/', admin.site.urls),

    path('', include('GeneralApp.urls')),
    path('', include('ServicesApp.urls')),

)

urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)