Skip to content

javaatpoint

  • Home
  • Topics
    • Django
    • React
    • Computer Architecture
    • Python
    • Redux
    • DNS
    • Other Blog
  • Author
    • Contact Me
    • Privacy Policy
  • About

SOLVED : ImportError: cannot import name ‘url’ from ‘django.conf.urls’

Posted on March 6, 2022March 6, 2022 by Javaatpoint
The error appears like below : The error is coming because , ‘django.conf.urls.url’ is removed in Django 4 and above it is used like –...
How to save multiple no of relational objects(json format) from frontend in foreign key of model in Django

How to save multiple no of relational objects(json format) from frontend in foreign key of model in Django

Posted on December 15, 2021December 15, 2021 by Javaatpoint
Sometimes , you get multiple relational objects for a foreign key , so we will discuss about , how to save these multiple objects in...
Difference between count and len function in Django model or database queryset | When to use count() & len() function in Django

Difference between count and len function in Django model or database queryset | When to use count() & len() function in Django

Posted on December 10, 2021December 10, 2021 by Javaatpoint
len() function gives the no of object present in some variable , ex – As you could see in above example , all the data...
SOLVED: Field ‘size’ expected a number but got ” got error , but defined null=True in model in Django

SOLVED: Field ‘size’ expected a number but got ” got error , but defined null=True in model in Django

Posted on December 8, 2021December 8, 2021 by Javaatpoint
Why Error is Coming? This error is coming in Django , because model field in django do not receive value other than the value you...
How to return empty json objects in Django

How to return empty json objects in Django

Posted on December 7, 2021December 7, 2021 by Javaatpoint
You can return empty json (Javascript Object Notation) in Django easily , just follow these 3 easy steps below – Import JsonResponse You can import...
User agent in Django | find if user is using mobile or PC or tablet | template & view usage in Django

User agent in Django | find if user is using mobile or PC or tablet | template & view usage in Django

Posted on November 29, 2021November 29, 2021 by Javaatpoint
User agent is a django package that allows easy identification of visitor’s browser, OS and device information, including whether the visitor uses a mobile phone,...
How to pass data to any template without passing it through the views in Django | global model(database) data for every template.

How to pass data to any template without passing it through the views in Django | global model(database) data for every template.

Posted on November 28, 2021November 28, 2021 by Javaatpoint
You can pass data to any template of your project , following below five steps – Create context_processors.py file in app folder As , shown...
How to make a .bat file (script file) to run Django server in virtual environment quickly .

How to make a .bat file (script file) to run Django server in virtual environment quickly .

Posted on June 6, 2021September 26, 2021 by Banwari Lal
Whenever , We have to run our Django server , we have to go to the path , where our Django project is residing ,...
How to know from which path , python is executing in Django Project using sys | Know the Path of Python in Project using terminal

How to know from which path , python is executing in Django Project using sys | Know the Path of Python in Project using terminal

Posted on May 30, 2021September 26, 2021 by Banwari Lal
Sometimes , We require the path of Python , from where python is actually executing in Project ! Know the Path Of Python in Project...

SOLVED : OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: ‘‘

Posted on May 25, 2021September 26, 2021 by Banwari Lal
Problem which appear :- OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: ‘<frozen importlib._bootstrap>’ This error appears like below on...

Posts navigation

Older posts

Search

© 2020-2021 Javaatpoint | All Rights Reserved.