piratar / wasa2il

Direct democracy system
https://x.piratar.is
Other
28 stars 16 forks source link

Dev branch is broken after commit 34edafd #197

Closed viktorsmari closed 6 years ago

viktorsmari commented 6 years ago

After this commit: 34edafd2b858388a63393a22baba21183a2bde98

The following command: python manage.py runserver 0.0.0.0:8000

Gives this error:

AttributeError: 'Settings' object has no attribute 'FEATURES'

helgihg commented 6 years ago

Existing local_settings.py must be updated to include the value. New installations, without a local_settings.py won't be affected this way, because in the absence of local_settings.py, default_settings.py is used, which includes the setting.

helgihg commented 6 years ago

I wonder if there's a general way of catching this particular error and somehow instructing the user. Still, it may just be one of those things that you have to know or figure out, I'm not sure.

viktorsmari commented 6 years ago

Confirmed that new installations are not affected.

Closing.