2011-01-26 00:10:30 +01:00
|
|
|
django-helpdesk - A Django powered ticket tracker for small enterprise.
|
2011-02-05 05:51:34 +01:00
|
|
|
=======================================================================
|
2008-02-06 05:36:07 +01:00
|
|
|
|
2011-02-05 05:59:24 +01:00
|
|
|
Copyright 2009-11 Jutda and Ross Poulton. All Rights Reserved. See LICENSE for details.
|
2008-01-07 21:22:13 +01:00
|
|
|
|
2011-01-26 00:10:30 +01:00
|
|
|
django-helpdesk was formerly known as Jutda Helpdesk, named after the
|
|
|
|
company who originally created it. As of January 2011 the name has been
|
|
|
|
changed to reflect what it really is: a Django-powered ticket tracker with
|
|
|
|
contributors reaching far beyond Jutda.
|
|
|
|
|
2011-02-05 00:13:37 +01:00
|
|
|
Complete documentation is available in the docs/ directory, or online at http://django-helpdesk.readthedocs.org/.
|
|
|
|
|
2011-02-05 05:59:24 +01:00
|
|
|
You can see a demo installation at http://demo.jutdahelpdesk.com
|
|
|
|
|
|
|
|
Licensing
|
|
|
|
=========
|
2008-01-07 21:22:13 +01:00
|
|
|
|
2011-01-26 00:08:41 +01:00
|
|
|
See the file 'LICENSE' for licensing terms. Note that django-helpdesk is
|
2009-01-23 11:35:53 +01:00
|
|
|
distributed with 3rd party products which have their own licenses. See
|
2009-01-20 09:13:54 +01:00
|
|
|
LICENSE.3RDPARTY for license terms for included packages.
|
2008-01-07 21:22:13 +01:00
|
|
|
|
2011-02-05 05:59:24 +01:00
|
|
|
Dependencies (pre-flight checklist)
|
|
|
|
===================================
|
2008-01-07 21:22:13 +01:00
|
|
|
|
2011-02-05 05:51:34 +01:00
|
|
|
1. Python 2.4+
|
2011-01-26 00:08:41 +01:00
|
|
|
2. Django (1.2 or newer)
|
2011-04-27 11:57:03 +02:00
|
|
|
3. South for database migrations (highly recommended, but not required). Download from http://south.aeracode.org/
|
|
|
|
4. An existing WORKING Django project with database etc. If you
|
2008-01-15 00:12:27 +01:00
|
|
|
cannot log into the Admin, you won't get this product working.
|
2008-01-07 21:22:13 +01:00
|
|
|
|
2011-02-05 05:51:34 +01:00
|
|
|
**NOTE REGARDING SQLITE AND SEARCHING:**
|
2009-01-22 08:33:30 +01:00
|
|
|
If you use sqlite as your database, the search function will not work as
|
|
|
|
effectively as it will with other databases due to its inability to do
|
|
|
|
case-insensitive searches. It's recommended that you use PostgreSQL or MySQL
|
|
|
|
if possible. For more information, see this note in the Django documentation:
|
|
|
|
http://docs.djangoproject.com/en/dev/ref/databases/#sqlite-string-matching
|
|
|
|
|
2009-03-08 06:49:08 +01:00
|
|
|
When you try to do a keyword search using sqlite, a message will be displayed
|
|
|
|
to alert you to this shortcoming. There is no way around it, sorry.
|
|
|
|
|
2011-07-01 10:34:24 +02:00
|
|
|
**NOTE REGARDING MySQL:**
|
|
|
|
If you use MySQL, with most default configurations you will receive an error
|
|
|
|
when creating the database tables as we populate a number of default templates
|
|
|
|
in languages other than English.
|
|
|
|
|
|
|
|
You must create the database the holds the django-helpdesk tables using the
|
|
|
|
UTF-8 collation; see the MySQL manual for more information:
|
|
|
|
http://dev.mysql.com/doc/refman/5.1/en/charset-database.html
|
|
|
|
|
|
|
|
If you do NOT do this step, and you only want to use English-language templates,
|
|
|
|
you can continue however you will receive a warning when running the 'migrate'
|
|
|
|
commands.
|
|
|
|
|
2011-02-05 05:59:24 +01:00
|
|
|
Upgrading from previous versions
|
|
|
|
================================
|
2009-01-23 11:35:53 +01:00
|
|
|
|
2011-04-27 11:57:03 +02:00
|
|
|
We highly recommend that you use South (available
|
|
|
|
from http://south.aeracode.org/) to assist with management of database schema
|
|
|
|
changes.
|
2009-01-23 11:35:53 +01:00
|
|
|
|
2011-04-27 11:57:03 +02:00
|
|
|
If you are upgrading from a previous version that did NOT use South for
|
|
|
|
migrations (i.e. prior to April 2011) then you will need to 'fake' the first
|
|
|
|
migration::
|
2009-01-23 11:35:53 +01:00
|
|
|
|
2011-04-27 11:57:03 +02:00
|
|
|
python manage.py migrate helpdesk 0001 --fake
|
2009-01-23 11:35:53 +01:00
|
|
|
|
2011-04-27 11:57:03 +02:00
|
|
|
If you are upgrading from a previous version of django-helpdesk that DID use
|
|
|
|
South, simply download an up to date version of the code base (eg by using
|
|
|
|
`git pull`) then migrate the database::
|
2009-01-23 11:35:53 +01:00
|
|
|
|
2011-04-27 11:57:03 +02:00
|
|
|
python manage.py migrate helpdesk --db-dry-run # DB untouched
|
|
|
|
python manage.py migrate helpdesk
|
2009-01-23 11:35:53 +01:00
|
|
|
|
2011-04-27 11:57:03 +02:00
|
|
|
Lastly, restart your web server software (eg Apache) or FastCGI instance, to
|
|
|
|
ensure the latest changes are in use.
|
2009-01-23 11:35:53 +01:00
|
|
|
|
2011-04-27 11:57:03 +02:00
|
|
|
You can continue to the 'Initial Configuration' area, if needed.
|
2009-01-23 11:35:53 +01:00
|
|
|
|
2011-05-06 08:55:42 +02:00
|
|
|
Django 1.2.x and latest version of django-helpdesk
|
2011-05-03 20:14:05 +02:00
|
|
|
==================================================
|
|
|
|
|
2011-05-06 08:55:42 +02:00
|
|
|
If you are running Django 1.2.x then you will need to install django-staticfiles
|
2011-05-03 20:14:05 +02:00
|
|
|
(http://pypi.python.org/pypi/django-staticfiles/) and add the following to your
|
2011-05-06 09:02:36 +02:00
|
|
|
existing `settings.py` and `urls.py` files.
|
2011-05-03 20:14:05 +02:00
|
|
|
|
2011-05-06 08:55:42 +02:00
|
|
|
settings.py::
|
2011-05-06 09:02:36 +02:00
|
|
|
|
2011-05-06 08:55:42 +02:00
|
|
|
MEDIA_ROOT = '/var/www/media/'
|
|
|
|
MEDIA_URL = '/media/'
|
|
|
|
STATIC_ROOT = '/var/www/static/'
|
|
|
|
STATIC_URL = '/static/'
|
2011-05-03 20:14:05 +02:00
|
|
|
|
2011-05-06 08:55:42 +02:00
|
|
|
INSTALLED_APPS = (
|
2011-05-06 09:02:36 +02:00
|
|
|
# Other installed applications here, including 'helpdesk'
|
2011-05-06 08:55:42 +02:00
|
|
|
'staticfiles',
|
|
|
|
)
|
2011-05-03 20:14:05 +02:00
|
|
|
|
2011-05-06 08:55:42 +02:00
|
|
|
TEMPLATE_CONTEXT_PROCESSORS = (
|
2011-05-06 09:02:36 +02:00
|
|
|
# Other context processors listed here
|
2011-05-06 08:55:42 +02:00
|
|
|
'staticfiles.context_processors.static',
|
|
|
|
)
|
2011-05-03 20:14:05 +02:00
|
|
|
|
2011-05-06 08:55:42 +02:00
|
|
|
urls.py::
|
2011-05-06 09:02:36 +02:00
|
|
|
|
2011-05-06 08:55:42 +02:00
|
|
|
from staticfiles.urls import staticfiles_urlpatterns
|
|
|
|
urlpatterns += staticfiles_urlpatterns()
|
2011-05-03 20:14:05 +02:00
|
|
|
|
2011-05-06 08:55:42 +02:00
|
|
|
Once those changes are made, run the following commands to take a copy of the static files::
|
2011-05-03 20:33:37 +02:00
|
|
|
|
2011-05-06 08:55:42 +02:00
|
|
|
$ cd /var/www
|
|
|
|
$ mkdir static
|
|
|
|
$ cd static
|
|
|
|
$ ln -sf /path/to/helpdesk/static/helpdesk/ helpdesk
|
2011-05-03 20:14:05 +02:00
|
|
|
|
2011-02-05 05:59:24 +01:00
|
|
|
Installation
|
|
|
|
============
|
2008-01-07 21:22:13 +01:00
|
|
|
|
2011-02-05 00:13:37 +01:00
|
|
|
``pip install django-helpdesk``
|
2008-08-18 23:29:31 +02:00
|
|
|
|
2011-02-05 00:13:37 +01:00
|
|
|
For further installation information see docs/install.html and docs/configuration.html
|
2011-02-02 12:40:40 +01:00
|
|
|
|
2011-02-07 08:50:47 +01:00
|
|
|
Internationalisation
|
|
|
|
====================
|
|
|
|
|
|
|
|
If you want to help translate django-helpdesk into languages other than English, we encourage you to make use of our Transifex project.
|
|
|
|
|
|
|
|
http://www.transifex.net/projects/p/django-helpdesk/resource/core/
|
|
|
|
|
|
|
|
Feel free to request access to contribute your translations.
|