django

  • Django App Deployed on Apache with HTTP

    How to deploy Django App on Apache with SSL using Let’sEncrypt

    On debian based linux or ubuntu, install the apache server remove the default page using command To configure Django application with apache, you need the mod_wsgi module installed for…

    neotam Avatar
  • How to enable TokenAuthentication scheme | Django Rest Framework

    How to enable TokenAuthentication scheme | Django Rest Framework

    Authentication and Authorisation is the key to protect resource on the web server. There are different types of authentication models such as Basic, Token and Session. Thanks to Django…

    neotam Avatar
  • Django: django-admin command reference

    Django: django-admin command reference

    COMMAND check usage: django-admin check [-h] [–tag TAGS] [–list-tags] [–deploy] [–fail-level {CRITICAL,ERROR,WARNING,INFO,DEBUG}] [–database DATABASES] [–version] [-v {0,1,2,3}] [–settings SETTINGS] [–pythonpath PYTHONPATH] [–traceback] [–no-color] [–force-color] [app_label …] Checks the entire…

    neotam Avatar
  • Django Framework: Packages and Modules Directory Structure Explained

    Django Framework: Packages and Modules Directory Structure Explained

    Django the popular web development framework for Python. It is based on Model View and Template referred as MVT. Install Django as follows This article takes to the directory…

    neotam Avatar
  • How to Enable Cross Origin Resource Sharing (CORS) on Django REST Framework

    How to Enable Cross Origin Resource Sharing (CORS) on Django REST Framework

    To enable cross origin resource sharing we need to enable some headers to authorize origin (browser ) to make requests to cross(different) origin. Browsers make preflight request to determine…

    neotam Avatar
  • Django vs Flask: Comparison between Django and Flask

    Django vs Flask: Comparison between Django and Flask

    Python is general purpose, high level scripting language. It is known for it’s elegant syntax, readability and productivity. As it is said, python is general purpose programming language such…

    neotam Avatar
  • How to setup AWS S3 storage backend for File Upload

    How to setup AWS S3 storage backend for File Upload

    Django delegates the files handing to the storage backend. By default Django uses the FileSystemStorage to store files on local filesystem. It is possible to customize storage system to…

    neotam Avatar
  • How to Export and Import Fixtures in Django

    How to Export and Import Fixtures in Django

    A fixture is a collection of file that hold the serialized content of the database. Files that comprise the fixture can be distributed across multiple directories and application in…

    neotam Avatar
  • View Django ORM's raw SQL queries

    How to view converted SQL queries of Django ORM

    Django provides the ORM which is database and vendor agnostic, as a result we can perform operations on database regardless kind of database running behind.Thus, developer may not need…

    neotam Avatar