I am using Django 1.5.1, and according to django, documentation cleanup is deprecated in this version of django, and cleanup should be used. When I try to use cleanup, it indicates an unknown command. And when I type djando-admin.py help . I don't get it listed in the commands, instead I get cleaned up. And when using django-admin.py cleanup, I get the following error:
Incorrect Configured: The installation of USE_I18N was requested, but the settings were not configured. You must either define the DJANGO_SETTINGS_MODULE environment variable or call settings.configure () before accessing the settings.
Any idea that triggers this.
source
share