Django Static Files
Using static files like JavaScript, CSS, images with Django

Search for a command to run...

Series
This series will cover the core concepts on web application development using Django, from basic installation to user authentications and some core concepts.
Status: 9/14 published โ
Using static files like JavaScript, CSS, images with Django

function() based views in Django

Django under the hood provides an app called Admin a.k.a Django Admin, which provides Admin UI interface/web page for your Django Project. This admin interface can automatically generate CRUD views/ (form/tables) for your models with very minimal set...

Model Field Validation To validate a model field on application level we can create up a validator which is a callable that take the value to be validated and raises error (ValidationError to be precise) if the value doesn't meet the criteria or it i...

Model Manager A Manager is the interface through which we perform ORMs in Django models By Default, Django automatically adds a Manager with a name of objects. This is the reason we are able to use objects and query to our Models eg: Model.objects.a...

Table relationships in Relational Database design 1. One to One relationship (1-1) A relation is said to be 1-1 if a row in Table A can have only one matching row in Table B Let's take an example of simple 1-1 relationship between user and user_det...
