forked from rc/aircox
fix missing 'view' argument for list views urls
This commit is contained in:
parent
ffa1018086
commit
e21792d894
|
@ -863,7 +863,7 @@ msgstr "Ce programme n'est plus actif"
|
||||||
|
|
||||||
#: aircox_cms/templates/aircox_cms/publication.html:33
|
#: aircox_cms/templates/aircox_cms/publication.html:33
|
||||||
msgid "Go back to the publication"
|
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
|
#: aircox_cms/templates/aircox_cms/sections/section_publication_info.html:15
|
||||||
msgid "Published by"
|
msgid "Published by"
|
||||||
|
|
|
@ -285,6 +285,7 @@ class ListBase(models.Model):
|
||||||
import aircox_cms.models as models
|
import aircox_cms.models as models
|
||||||
|
|
||||||
params = {
|
params = {
|
||||||
|
'view': 'list',
|
||||||
'date_filter': self.get_date_filter_display(),
|
'date_filter': self.get_date_filter_display(),
|
||||||
'model': self.model and self.model.model,
|
'model': self.model and self.model.model,
|
||||||
'asc': self.asc,
|
'asc': self.asc,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# aircox daily tasks:
|
# aircox daily tasks:
|
||||||
# - diffusions monitoring for the current month
|
# - 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
|
scripts/launch_in_venv ./manage.py diffusions_monitor --update --clean --check --mode auto
|
||||||
# - diffusions monitoring for the next month
|
# - diffusions monitoring for the next month
|
||||||
scripts/launch_in_venv ./manage.py diffusions_monitor --update --next-month --mode auto
|
scripts/launch_in_venv ./manage.py diffusions_monitor --update --next-month --mode auto
|
||||||
|
|
Loading…
Reference in New Issue
Block a user