1.5.0 rosetta translate
This commit is contained in:
@@ -120,6 +120,8 @@ INSTALLED_APPS = [
|
|||||||
'allauth.socialaccount',
|
'allauth.socialaccount',
|
||||||
'allauth.socialaccount.providers.google',
|
'allauth.socialaccount.providers.google',
|
||||||
|
|
||||||
|
'rosetta',
|
||||||
|
|
||||||
'GeneralApp',
|
'GeneralApp',
|
||||||
'AuthApp',
|
'AuthApp',
|
||||||
'RoutesApp',
|
'RoutesApp',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.urls import path, include
|
from django.urls import path, include, re_path
|
||||||
from django.conf.urls.static import static
|
from django.conf.urls.static import static
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from GeneralApp.views import Page404
|
from GeneralApp.views import Page404
|
||||||
@@ -61,4 +61,9 @@ urlpatterns += i18n_patterns(
|
|||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if 'rosetta' in settings.INSTALLED_APPS:
|
||||||
|
urlpatterns += [
|
||||||
|
re_path(r'^rosetta/', include('rosetta.urls'))
|
||||||
|
]
|
||||||
|
|
||||||
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||||
@@ -15,4 +15,5 @@ django-allauth==0.60.0
|
|||||||
pytz==2024.1
|
pytz==2024.1
|
||||||
requests-pkcs12==1.24
|
requests-pkcs12==1.24
|
||||||
#django-tz-detect==0.4.0
|
#django-tz-detect==0.4.0
|
||||||
|
django-rosetta==0.10.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user