Cookiecutter-django: Consider adding a maintenance mode package

Created on 17 Mar 2017  路  4Comments  路  Source: pydanny/cookiecutter-django

It would be nice to have a package or something that puts the website in maintenance mode. Some good choices that I found are:

  1. https://github.com/fabiocaccamo/django-maintenance-mode (at application level)
  2. https://github.com/alsoicode/django-maintenancemode-2 (at database level)
enhancement

Most helpful comment

Once https://github.com/alsoicode/django-maintenancemode-2 supports Django 1.11, I'll make this happen.

All 4 comments

Very good suggestion @bluesurfer. I like the second one more.

  • It is much 'DRYer' with less code.
  • It is 'Heroku' friendly.
  • Changing a 'checkbox' is easier in production than having to get onto the terminal as the super user.
  • You can hand this off to the client's DevOps team easily.

Of course it is also quite straight forward to add it to your project in the requirements folder.

Once https://github.com/alsoicode/django-maintenancemode-2 supports Django 1.11, I'll make this happen.

@pydanny

Fresh news: django-maintenancemode-2 now supports Django 1.11 :)

I suggest that this is to be implemented as an optional feature, via use_maintenancemode for instance.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

saschalalala picture saschalalala  路  4Comments

StupidTAO picture StupidTAO  路  3Comments

webyneter picture webyneter  路  3Comments

yemarnevets picture yemarnevets  路  3Comments

webyneter picture webyneter  路  4Comments