All About Django Article

Posted on

This article is an article about Django Web-based Framework which is mainly based on the Python programming language.

Preparation

Create Python Virtual Environment

  1. How to Create Python Virtual Environment from Anaconda in Microsoft Windows

Build Django Application

  1. How to Change Default Page of a Django Application
  2. How to Call a Function by clicking a Button in the Django Template File from a Django Application
  3. How to Call a Function and Sending Parameter Value by clicking a Button in the Django Template File from a Django Application
  4. How to Send Input Text from Django Template File to Function exist in Django View using GET method in Django Application
  5. How to Send Input Text from Django Template File to Function exist in Django View using POST method in Django Application
  6. How to Use ModelForm to Create a Form for submitting User Input in Django Application

Django Tips and Trick

  1. How to Install Django in Ubuntu Linux via Command Line .
  2. How to Check Django version via Command Line .
  3. How to Create a New Project using Django Web-based Framework in Ubuntu Linux via Command Line
  4. How to Create a New Application using Django Web-based Framework in Ubuntu Linux via Command Line
  5. How to Create Super User Account in Django
  6. How to Display and Manage Module in Django Administration Panel
  7. How to Deploy and Run Django only using Screen tool and Access it from Apache Webserver in Linux CentOS
  8. How to Perform Multisearch in Django Application
  9. How to Configure Logging Feature to print variable in Django Application
  10. How to Solve Cannot Load Django Application when using Additional URL or ProxyPass Access
  11. How to Solve Cannot Load Django Admin Static Files when using Additional URL or ProxyPass Access
  12. How to Print Variable exist in Django View to the Console
  13. How to Join the QueryResult in Django for further printing in Django Template

Django Error Message

Error General

  1. How to Solve Django Error Message : ImportError: No module named module_name
  2. How to Solve Error Message gunicorn[8881]: ModuleNotFoundError: No module named ‘app’ when running Django Application using Gunicorn Daemon
  3. How to Solve Error Message Django cannot find Newer SQLite Version when Running Django Application
  4. How to Solve Error Message Disallowed Host at Invalid HTTP_HOST header on running Django Application
  5. How to Solve Error Message django.db.utils.OperationalError: fe_sendauth: no password supplied when migration database Django Application
  6. How to Solve Error Message ‘str’ object has no attribute ‘get’ when returning String Value to an Index Page of Django Application
  7. How to Solve Error Message PermissionError at / [Errno 13] Permission denied when changing index page in Django Application
  8. How to Solve Error CSRF verification failed. Request Aborted when submitting a Form in Django Application
  9. How to Solve Error Message django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the ‘fields’ attribute or the ‘exclude’ attribute is prohibited; when running Django Application
  10. How to Solve Error Message ValueError at /save_staff/ Field ‘id’ expected a number but got ”. when running Django Application
  11. How to Solve Error Message IntegrityError at /save_staff/ duplicate key value violates unique constraint “apps_staff_user_staff_id_key” DETAIL: Key (user_staff_id)=(1) already exists when running Django Application

NameError

  1. How to Solve Error Message NameError at /save_staff/ name ‘name’ is not defined when running Django Application

NoReverseMatch Error

  1. How to Solve Error Message NoReverseMatch at / Reverse for ‘my_function’ not found. ‘my_function’ is not a valid view function or pattern name. when running Django Application
  2. How to Solve Error Message NoReverseMatch at / Reverse for ‘my_function’ with no arguments not found. 1 pattern(s) tried: [‘my_function/(?P<name>[^/]+)\\Z’] when running Django Application

TypeError

  1. How to Solve Error Message TypeError at /my_function/ my_function() missing 1 required positional argument: ‘name’ when running Django Application
  2. How to Solve Error Message TypeError at /save_staff/ MultiValueDict.get() missing 1 required positional argument: ‘key’ when running Django Application

TemplateSyntaxError

  1. How to Solve Django Error Message : TemplateDoesNotExist at /
  2. How to Solve Error Message TemplateSyntaxError Could not parse the remainder: ‘[‘structure_status’]’ from ‘context[‘structure_status’]’ in Django Application
  3. How to Solve Error Message TemplateSyntaxError at / Invalid block tag on line 11: ‘recursetree’. when displaying Django MPTT Tree Model in Django Application
  4. How to Solve Error Message TemplateSyntaxError at / ‘mptt_tags’ is not a registered tag library. when running Django Application

AttributeError

  1. How to Solve Error Message AttributeError at /url/ in Django Application
  2. How to Solve Error Message AttributeError at / ‘str’ object has no attribute ‘META’ when changing main page of Django Application
  3. How to Solve Django Error Message : AttributeError:’module’ object has no attribute ‘attribute_name’

Leave a Reply