fix missing 'view' argument for list views urls

This commit is contained in:
bkfox 2017-03-30 13:20:35 +02:00
parent ffa1018086
commit e21792d894
3 changed files with 3 additions and 2 deletions

View File

@ -863,7 +863,7 @@ msgstr "Ce programme n'est plus actif"
#: aircox_cms/templates/aircox_cms/publication.html:33
msgid "Go back to the publication"
msgstr "Retourner à l'application"
msgstr "Retourner à la publication"
#: aircox_cms/templates/aircox_cms/sections/section_publication_info.html:15
msgid "Published by"

View File

@ -285,6 +285,7 @@ class ListBase(models.Model):
import aircox_cms.models as models
params = {
'view': 'list',
'date_filter': self.get_date_filter_display(),
'model': self.model and self.model.model,
'asc': self.asc,

View File

@ -2,7 +2,7 @@
# aircox daily tasks:
# - diffusions monitoring for the current month
cd /srv/app/aircox/
cd /srv/apps/aircox/
scripts/launch_in_venv ./manage.py diffusions_monitor --update --clean --check --mode auto
# - diffusions monitoring for the next month
scripts/launch_in_venv ./manage.py diffusions_monitor --update --next-month --mode auto