33 Matching Annotations
  1. May 2020
  2. Apr 2020
    1. def save(self, *args, **kwargs): return

      def delete(self, *args, **kwargs): return

      from django.db import models

      class MyReadOnlyModel(models.Model): class Meta: managed = False

    1. To use Gunicorn as your web server, it must be included in the requirements.txt file as an app dependency. It does not need to be installed in your virtual environment/host machine.
  3. Mar 2020
  4. Feb 2020
  5. Nov 2019
    1. REST_FRAMEWORK = { 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', 'PAGE_SIZE': 100 }
  6. Oct 2019
  7. Mar 2019
  8. Nov 2018
  9. Oct 2018
  10. Sep 2018
  11. Aug 2018
  12. Dec 2017
  13. Sep 2017
  14. May 2017
  15. Apr 2017
  16. Mar 2017
  17. Feb 2017
  18. Jan 2017
    1. sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk

      sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk

  19. Aug 2016
    1. 1.8 LTS 1.8.14 December 1, 2015 Until at least April 2018

      Django 1.8 LTS support until at least April 2018