35 Matching Annotations
  1. Aug 2020
  2. Jun 2020
    1. The philosophy behind Flask is that it gives only the components you need to build an app so that you have the flexibility and control. In other words, it’s un-opinionated. Some features it offers are a build-int dev server, Restful request dispatching, Http request handling, and much more.

      Flask isn't as full of features as Django (which makes him lighter), but it still offers:

      • build-int dev server
      • Restful request dispatching
      • HTTP request handling
      • much more...
  3. May 2020
  4. 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.
  5. Mar 2020
  6. Feb 2020
  7. Nov 2019
    1. REST_FRAMEWORK = { 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', 'PAGE_SIZE': 100 }
  8. Oct 2019
  9. Mar 2019
  10. Nov 2018
  11. Oct 2018
  12. Sep 2018
  13. Aug 2018
  14. Dec 2017
  15. Sep 2017
  16. May 2017
  17. Apr 2017
  18. Mar 2017
  19. Feb 2017
  20. 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

  21. 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