Fix some docs and migrations in prep for 0.3 release, see #878

This commit is contained in:
Garret Wassermann 2021-08-20 02:05:21 -04:00
parent 8a40ceeddd
commit 1559333993
7 changed files with 66 additions and 9 deletions

View File

@ -38,12 +38,11 @@ INSTALLED_APPS = [
'django.contrib.sites', 'django.contrib.sites',
'django.contrib.humanize', 'django.contrib.humanize',
'bootstrap4form', 'bootstrap4form',
'account', # Required by pinax-teams 'account', # Required by pinax-teams
'pinax.invitations', # required by pinax-teams 'pinax.invitations', # required by pinax-teams
'pinax.teams', # team support 'pinax.teams', # team support
'helpdesk', # This is us!
'reversion', # required by pinax-teams 'reversion', # required by pinax-teams
'helpdesk', # This is us!
] ]
MIDDLEWARE = [ MIDDLEWARE = [

View File

@ -11,6 +11,7 @@ Contents
:glob: :glob:
install install
upgrade
configuration configuration
settings settings
spam spam
@ -68,10 +69,4 @@ Licensing
--------- ---------
django-helpdesk is released under the BSD license, however it packages 3rd party applications which may be using a different license. More details can be found in the :doc:`license` documentation. django-helpdesk is released under the BSD license, however it packages 3rd party applications which may be using a different license. More details can be found in the :doc:`license` documentation.
Dependencies
------------
1. Python 3.4+ (or 2.7, but deprecated and support will be removed next release)
2. Django 1.11 or newer
3. An existing **working** Django project with database etc. If you cannot log into the Admin, you won't get this product working! This means you **must** run `migrate` **before** you add ``helpdesk`` to your ``INSTALLED_APPS``.

View File

@ -61,8 +61,8 @@ errors with trying to create User settings.
'account', # Required by pinax-teams 'account', # Required by pinax-teams
'pinax.invitations', # required by pinax-teams 'pinax.invitations', # required by pinax-teams
'pinax.teams', # team support 'pinax.teams', # team support
'helpdesk', # This is us!
'reversion', # required by pinax-teams 'reversion', # required by pinax-teams
'helpdesk', # This is us!
) )
Note: you do not need to use pinax-teams. To dissable teams see the :doc:`teams` section. Note: you do not need to use pinax-teams. To dissable teams see the :doc:`teams` section.

29
docs/upgrade.rst Normal file
View File

@ -0,0 +1,29 @@
Upgrading
=========
Your ``django-helpdesk`` installation can be upgraded to the latest version using the release notes below.
Prerequisites
-------------
Please consult the Installation instructions for general instructions and tips.
The tips below are based on modifications of the original installation instructions.
0.2 -> 0.3
----------
- Under `INSTALLED_APPS`, `bootstrapform` needs to be replaced with `bootstrap4form`
- Unless turning off `pinax_teams`, need to add the following to `INSTALLED_APPS` for `pinax_teams`:
```
"account",
"pinax.invitations",
"pinax.teams",
"reversion",
```
- If using `send_templated_mail`, then it now needs to be imported from `helpdesk.templated_email`

View File

@ -0,0 +1,19 @@
# Generated by Django 3.1.13 on 2021-08-18 14:30
from django.db import migrations, models
import helpdesk.models
class Migration(migrations.Migration):
dependencies = [
('helpdesk', '0034_create_email_template_for_merged'),
]
operations = [
migrations.AlterField(
model_name='usersettings',
name='email_on_ticket_change',
field=models.BooleanField(default=helpdesk.models.email_on_ticket_change_default, help_text="If you're the ticket owner and the ticket is changed via the web by somebody else,do you want to receive an e-mail?", verbose_name='E-mail me on ticket change?'),
),
]

14
requirements-no-pinax.txt Normal file
View File

@ -0,0 +1,14 @@
Django>=2.2,<4
django-bootstrap4-form
celery
django-celery-beat
email-reply-parser
akismet
markdown
beautifulsoup4
lxml
simplejson
pytz
six
djangorestframework
django-model-utils

View File

@ -10,5 +10,6 @@ lxml
simplejson simplejson
pytz pytz
six six
pinax_teams
djangorestframework djangorestframework
django-model-utils django-model-utils