New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lots of cleanups and restructuring to pave way for Django 1.6/1.7 #80
Conversation
@funkybob Do you remember how far you got with doing this? @ajitmathew is interested in continuing this work |
A lot of this was just basic clean ups. |
|
||
if __name__ == "__main__": | ||
execute_manager(settings) | ||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "website.settings") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fails since there is no __init__.py
in website/
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a __init__.py
, since 70de77d
|
|
||
# Absolute path to the directory static files should be collected to. | ||
# Don't put anything in this directory yourself; store your static files | ||
# in apps' "static/" subdirectories and in STATICFILES_DIRS. | ||
# Example: "/home/media/media.lawrence.com/static/" | ||
STATIC_ROOT = '/tmp/timvideos-static' | ||
STATIC_ROOT = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required by staticfiles
app.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally you'd have a production settings file import all these settings, and override this.
Leaving this blank avoids problems in development.
If you get some time, it would be cool for you to take a look at this @micolous |
No description provided.