Closed alinavaie closed 6 years ago
@alinavaie which version of django and which version of django-jalali are you using?
for the second issuer, can you past the stack trace?
django==1.11.6 django-jalali==2.4.5
(Development) Alirezas-MacBook-Air:Unita2 alirezasarinavaie$ python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 22, in
self._wrapped = Settings(settings_module)
File "/Users/alirezasarinavaie/Desktop/Development/lib/python3.6/site-packages/django/conf/init.py", line 110, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/Users/alirezasarinavaie/Desktop/Development/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
@alinavaie I tried the example code which is here
#pip Django and django_jalali if you don't have them
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
and visit http://localhost:8000/admin/foo/bartime/
fa_IR
:(If you are using linux you can add fa_IR
locale using
sudo dpkg-reconfigure locales
Hi, I use djnagi-jalali with python 3 , everything is working well (such as templates) but 2 issues: 1- the datepicker widget is still in Gregorian. So I have to choose the date in Gregorian and then convert it to jalali with template. 2- I got locale.Error when I try to import Farsi locale in setting.py