We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
usfevent.wsgi (place this under the public_html/usf/usfevent/ main directory)
import os import sys
sys.stdout = sys.stderr
sys.path.append('/home/django/public_html/usf') sys.path.append('/home/django/public_html/usf/usfevent') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' #locate settings.py import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler()
settings.py (Need to change a few lines to make things work on server)
MEDIA_ROOT = '/home/django/public_html/usf/usfevent/media/' STATIC_ROOT = "/home/django/public_html/usf/usfevent/static" TEMPLATE_DIRS = ( "/home/django/public_html/usf/usfevent/templates" )
The text was updated successfully, but these errors were encountered:
Fixing admin's lack of CSS on apache server: http://stackoverflow.com/questions/4389653/django-admin-has-broken-css-link-through-apache-but-works-in-runserver-mode
Sorry, something went wrong.
No branches or pull requests
usfevent.wsgi
(place this under the public_html/usf/usfevent/ main directory)
import os
import sys
sys.stdout = sys.stderr
sys.path.append('/home/django/public_html/usf')
sys.path.append('/home/django/public_html/usf/usfevent')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' #locate settings.py
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
settings.py
(Need to change a few lines to make things work on server)
MEDIA_ROOT = '/home/django/public_html/usf/usfevent/media/'
STATIC_ROOT = "/home/django/public_html/usf/usfevent/static"
TEMPLATE_DIRS = (
"/home/django/public_html/usf/usfevent/templates"
)
The text was updated successfully, but these errors were encountered: