Charly
Why?
Because money has fixed decimal precision
Tony
What is the difference between the common function and the @classmethod?
Charly
Haleem
Hi,
I am having a webview in my android app which only display my Django website. The whole website is working fine but the admin interface. I am getting connection error when i access model in django admin. But in the views, its good.. any way to resolve the below error.
Something’s wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is readable by the appropriate user.
Charly
Charly
Tony
Tony
one more question: what is the instance variable?
Charly
Tony
yep.
Tony
but can't clearly understand.
Tony
class variable vs instance variable.
Tony
really?
Tony
Difference Between Instance Variables and Class VariablesInstance Variables: Unique to each instance and usually defined inside methods using self.
Class Variables: Shared among all instances of the class and defined directly within the class body, outside any methods.
Tony
how about that?
Tony
Tony
Of course, your assistance was helpful.
H0scein
hello
could anyone help me about
preventing multiple login the same user at the same time
I use jwt for authentication and want to implement this feature , no matter with the session model or device model.
Charly
Charly
Charly
Charly
Charly
Rom..
I'm a beginner
In django i have created todo app where I have created template in that one index.html n todolist.html soo I can't able to see todolist.html page
Diana
Rom..
Rom..
Stilll
Rom..
Root dir I have template for base html and app dir I have templates folder for home.html todo list .html
Vishu
I'm getting an error in google captcha while adding it into the project
Vishu
Any solution getting modulenotfounderror
Vishu
But I already installed it and am still getting this error
Diana
Бекназар
how to give access to a www user
markit
Hello, could someone tell/share code how to create admin via Django Admin panel UI(the functionality like using console command
python manage.py createsuperuser)
and see them (how to register related model )? Thanks in advance
Venom
Please send django complete course link ?
Doragonsureiyā
Please send django complete course link ?
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Venom
Tutorial videos!
Venom
For beginners
Venom
If possible
Adithya
Can anyone tell me, does understanding of javascript is required, for implementing django channels?
Venom
Understanding JavaScript is not required for implementing Django Channels. However, it can be beneficial if you need to handle WebSockets or real-time features on the client side.
Adithya
IT PROFFESIONAL
How to deploy django with default database? I need help
Sajid
I am using postgress db in my django project. I created tables using django models after that I inserted my previous data into tables by importing csv. Now when I am trying to insert data using django orm I am getting a duplicate id key error.
How can I resolve this issue.
Aditi
I created a new project and in that I created a template using html,css and javascript and the template is registered too... But it is showing the template does not exist... How to resolve it?
Priyanshu Pratap
Aditi
It's solved thank you soo much
Aditi
But there is one more issue
Pradheep
Hi, I am experiencing the Daphne and WebSockets. It works well in development, but after deploying to production on the Apache2 server, it throws a 404 error.
Aditi
How to link another webpage using anchor in template file under django
LouLou 🤞
LouLou 🤞
Aditi
Hostmaker
Anyone who is a python/django developer . And has made a switch recently. Need some clarity on DSA rounds and preference
Бекназар
Such an error that I have set up an email message
{% load i18n %}{% autoescape off %}{% blocktranslate %}You're receiving this email because you requested a password reset for your user account at {{ site_name }}.{% endblocktranslate %}
{% translate "Please go to the following page and choose a new password:" %}
{% block reset_link %}{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
{% endblock %}{% translate 'Your username, in case you’ve forgotten:' %} {{ user.get_username }}
{% translate "Thanks for using our site!" %}
{% blocktranslate %}The {{ site_name }} team{% endblocktranslate %}
{% endautoescape %}
Бекназар
{% load i18n %}{% autoescape off %}{% blocktranslate %}You're receiving this email because you requested a password reset for your user account at {{ site_name }}.{% endblocktranslate %}
{% translate "Please go to the following page and choose a new password:" %}
{% block reset_link %}{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
{% endblock %}{% translate 'Your username, in case you’ve forgotten:' %} {{ user.get_username }}
{% translate "Thanks for using our site!" %}
{% blocktranslate %}The {{ site_name }} team{% endblocktranslate %}
{% endautoescape %}
Бекназар
the message is sent from 127.0.0.1:8001, not from my domain
Бекназар
listen 80 default_server; listen [::]:80 default_server;
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html;
server_name soltanbekovbeknazar.kz;
location / { proxy_pass http://127.0.0.1:8001;
proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Real-IP $remote_addr;
add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"'; add_header Access-Control-Allow-Origin *;
}
client_max_body_size 100M;
Бекназар
?
Бекназар
{% load i18n %}{% autoescape off %}{% blocktranslate %}You're receiving this email because you requested a password reset for your user account at {{ site_name }}.{% endblocktranslate %}
{% translate "Please go to the following page and choose a new password:" %}
{% block reset_link %}{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
{% endblock %}{% translate 'Your username, in case you’ve forgotten:' %} {{ user.get_username }}
{% translate "Thanks for using our site!" %}
{% blocktranslate %}The {{ site_name }} team{% endblocktranslate %}
{% endautoescape %}
do you know why 127.0.0.1:8001 is used instead of site_name and domain instead of my domain soltanbekovbeknazar.kz
Alison
Hello guys, what lib do you recommend to work with markdown or richText?
Vikash
Shubham
In my database that is intertwined. And have tables related to these.
Userinfo, attendance, payments, transactions, salary, ticket booking
How many apps should I make to handle what
clouded
a
hey! suppose i want to write an api along with the backend html server. do i use drf or is drf obsolete? is using a drf app as a separate process overkill due to drf only working along with base django? is fastapi any better? what about django-ninja?