mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-19 17:18:23 +02:00
Fix a few formatting errors introduced in last commit.
This commit is contained in:
parent
8f466966f5
commit
953dab3978
44
README.rst
44
README.rst
@ -63,37 +63,37 @@ ensure the latest changes are in use.
|
|||||||
|
|
||||||
You can continue to the 'Initial Configuration' area, if needed.
|
You can continue to the 'Initial Configuration' area, if needed.
|
||||||
|
|
||||||
DJANGO 1.2.x and latest version of django-helpdesk
|
Django 1.2.x and latest version of django-helpdesk
|
||||||
==================================================
|
==================================================
|
||||||
|
|
||||||
If you are running django 1.2.x then you will need to install django-staticfiles
|
If you are running Django 1.2.x then you will need to install django-staticfiles
|
||||||
(http://pypi.python.org/pypi/django-staticfiles/) and add the following to your
|
(http://pypi.python.org/pypi/django-staticfiles/) and add the following to your
|
||||||
existing settings.py and urls.py files:
|
existing `settings.py` and `urls.py` files:
|
||||||
|
|
||||||
settings.py:
|
settings.py::
|
||||||
MEDIA_ROOT = '/var/www/media/'
|
MEDIA_ROOT = '/var/www/media/'
|
||||||
MEDIA_URL = '/media/'
|
MEDIA_URL = '/media/'
|
||||||
STATIC_ROOT = '/var/www/static/'
|
STATIC_ROOT = '/var/www/static/'
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
|
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
'staticfiles',
|
'staticfiles',
|
||||||
)
|
)
|
||||||
|
|
||||||
TEMPLATE_CONTEXT_PROCESSORS = (
|
TEMPLATE_CONTEXT_PROCESSORS = (
|
||||||
'staticfiles.context_processors.static',
|
'staticfiles.context_processors.static',
|
||||||
)
|
)
|
||||||
|
|
||||||
urls.py:
|
urls.py::
|
||||||
from staticfiles.urls import staticfiles_urlpatterns
|
from staticfiles.urls import staticfiles_urlpatterns
|
||||||
urlpatterns += staticfiles_urlpatterns()
|
urlpatterns += staticfiles_urlpatterns()
|
||||||
|
|
||||||
then do:
|
Once those changes are made, run the following commands to take a copy of the static files::
|
||||||
$ cd /var/www
|
|
||||||
$ mkdir static
|
|
||||||
$ cd static
|
|
||||||
$ ln -sf /path/to/helpdesk/static/helpdesk/ helpdesk
|
|
||||||
|
|
||||||
|
$ cd /var/www
|
||||||
|
$ mkdir static
|
||||||
|
$ cd static
|
||||||
|
$ ln -sf /path/to/helpdesk/static/helpdesk/ helpdesk
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
Loading…
x
Reference in New Issue
Block a user