nephila / djangocms-installer

Console wizard to bootstrap django CMS projects
https://djangocms-installer.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
177 stars 78 forks source link

Incorrect time zone settings Ubuntu #324

Closed abdelwahebmoalla closed 4 years ago

abdelwahebmoalla commented 6 years ago

after I followed the tutorial when i wanted to run the project with python manafe.py runserver i got this exception

Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File "/mnt/c/Users/abdel/Desktop/django_cms/env/local/lib/python2.7/site-packages/django/core/management/init.py", line 364, in execute_from_command_line utility.execute() File "/mnt/c/Users/abdel/Desktop/django_cms/env/local/lib/python2.7/site-packages/django/core/management/init.py", line 308, in execute settings.INSTALLED_APPS File "/mnt/c/Users/abdel/Desktop/django_cms/env/local/lib/python2.7/site-packages/django/conf/init.py", line 56, in getattr self._setup(name) File "/mnt/c/Users/abdel/Desktop/django_cms/env/local/lib/python2.7/site-packages/django/conf/init.py", line 41, in _setup self._wrapped = Settings(settings_module) File "/mnt/c/Users/abdel/Desktop/django_cms/env/local/lib/python2.7/site-packages/django/conf/init.py", line 137, in init raise ValueError("Incorrect timezone setting: %s" % self.TIME_ZONE) ValueError: Incorrect timezone setting: local

yakky commented 6 years ago

@abdelwahebmoalla which djangocms-installer version are you using? which is the djangocms-installer command you ran? what is the content of /etc/timezone file?

abdelwahebmoalla commented 6 years ago

I used the last version provided by pip and I executed the command djangocms my_project I solved the issue by changing local to UTC

yakky commented 6 years ago

@abdelwahebmoalla could you test the latest develop to see if the issue is fixed for your previous timezone setting?

thanks

yakky commented 4 years ago

closed due to lack of feedback