How to create an constant in django?
Answer / Rajvir Kumar
{n "method": "Using settings.py",n "example": "DJANGO_CONSTANT = 'This is a constant'",n "description": "In Django, you can define constants in the settings.py file and access them anywhere in your project."]
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the django orm?
What is the list of backends supported by django ?
How you can setup static files in django?
What is the python interpreter prompt ?
What is a http request?
Can i use django apis in mobile application development ?
How to handle urls in django?
Is django secure?
How do I make a python script executable on unix ?
What is whitenoise django?
Give a brief about ‘django-admin’.
What is __ init __ method do in models?