Sh!V
Warning retrying retry total 4 connection=none redirect none status none Warning error could not find a version that satisfies the requirement django(from version: none)
Sh!V
Well reinstalling window😔 thats the soln i have right now
Sh!V
No
Sh!V
do you have a working Internet connection?
Thanks bro internet connection was the problem😞
Sh!V
My bad
Maset
Is there any materials for setting up SMTP server with django (not the google one)
Manish
Hey i wanna ask for a good book
Manish
For Django
Doragonsureiyā
For Django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Manish
Nope i want a proper boom
Manish
Book**
cj
Book**
do you know django already?
Manish
Yeah I’m learning already
Manish
Now need a book for complete grasp of django
cj
Yeah I’m learning already
cool, then buy "two scoops of django", it worths every single penny it costs
Manish
Soo suggest me please
Manish
Okkay thank you sooo much
Manish
From where Name it
cj
From where Name it
buy it from here: https://www.feldroy.com/
Manish
I didn’t find anything there
Ness
Please... Anybody can tell me why this error coming when i m trying to create a user through api (user got create, n its profile too, n then this happen ) AttributeError : collections. OrderedDict object has no attribute pk
yusof
Hey guys i know django and im working with it but i need an advance course for high level. Does anyone know a course?
yusof
What else do you know beside Django and python?
Javascript and angular And in few month later I'll learn react
yusof
What else do you know beside Django and python?
I didn't find any course that talk about polymorphics and...
Ψåȋ§βȑÿåñ§
Guys drop me django books for
Ψåȋ§βȑÿåñ§
Guys drop me django books for beginners
Alex
Yes
Because these are themes which have nothing to do with Django. It's about DB architecture and design.
bikrant
Hi guys I have deployed django rf app to heroko and the APIs are not working as expected. It's showing error "auth_user" does not exist
bikrant
Is it because Sql lite is not connected somehow?
Arslan
migrate?
Rahkmanuly
Ruslan
Hello, how i can get username in my html file? I can use {{ user.name }} {{ user.lastname }} But it didn't work
Ruslan
{{ user.username }} is working
Anonymous
{{ user.username }} is working
you use last_name and first_name
Ruslan
I need get name & lastname authenticated user's
Ruslan
class RegisterUserForm(UserCreationForm): username = forms.CharField() name = forms.CharField() last_name = forms.CharField() password1 = forms.PasswordInput() password2 = forms.PasswordInput() I need get name & lastname in my html
Ruslan
but it was saved with first_name on User model
Yeah=)) It's true. Worked=)
Anonymous
Thank's
Ok, Not at all
پدرام
How create address for website by using django?
ꪉꫝꪖꪹᦋꪖꪜ
Django admin Not hashing Custom user password, can anyone pls help me?
Hadi
guys i have a question (out of django) im running a python script on a cpanel remote host and its connected to mysql server with mysql.connector module my script give me this error after a few hours: mysql.connector.errors.OperationalError: 2013 (HY000): Lost connection to MySQL server during query can anyone help me? what should i do
Hadi
I think you don't have permission to do that.
its not about what im doing its about the connection
ꪉꫝꪖꪹᦋꪖꪜ
I am trying to store password in form of hash from default admin panel but it stores plain text, how can i solve this problem?
ꪉꫝꪖꪹᦋꪖꪜ
Please help with this problem as i have to do my project within tomorrow
لام *
Hi everyone, Who knows why this message is appear in Hue? INFO: Concurrency mode is disabled, not creating a lock manager
Giri
Anybody can tell me what is use of generic views?
Sanjay Krishnan
Anybody can tell me what is use of generic views?
Reusable less lines of code for general functions like create,update, delete,list etc
Alex
Hi everyone, Who knows why this message is appear in Hue? INFO: Concurrency mode is disabled, not creating a lock manager
Don't think it's from a django's built in module. Or even python's. You should setup your LOGGING that way so it outputs module's name from which the log came. https://docs.djangoproject.com/en/3.2/topics/logging/#examples 'format': '{levelname} {asctime} {module} {process:d} {thread:d} {message}', - add module or name in your base formatter. See also https://docs.python.org/3/library/logging.html#logrecord-attributes
ꪉꫝꪖꪹᦋꪖꪜ
I am trying to store password in form of hash from default admin panel but it stores plain text, how can i solve this problem?
Alex
Instead of constantly posting the same message again again and again you had better to properly explain that context.
ꪉꫝꪖꪹᦋꪖꪜ
How to store password in hashed format from django admin to database? @alkalit
Doragonsureiyā
How to store password in hashed format from django admin to database? @alkalit
Don't tag people randomly, even if they seem knowledgeable. Most of the time, the person you tagged doesn't even know about the topic you just brought up. If people want to help you, they will - just be patient.
Alex
How to store password in hashed format from django admin to database? @alkalit
It's managed by the User model https://docs.djangoproject.com/en/3.2/ref/contrib/auth/#django.contrib.auth.models.User.set_password In admin this method is also handled by the form https://github.com/django/django/blob/main/django/contrib/auth/admin.py#L59 https://github.com/django/django/blob/8036b53de61f16098a2f22c50621987182bdfaed/django/contrib/auth/forms.py#L130-L135
Alex
How to store password in hashed format from django admin to database? @alkalit
So, as cj already said to you, it's done by default, unless you broke something.
ꪉꫝꪖꪹᦋꪖꪜ
Alex
Yes, but how to fix that i don't know ?
Explain the steps you did for user model customization. It is the best thing you could do, instead of just "help me how to do"
ꪉꫝꪖꪹᦋꪖꪜ
I have added class UserAdmin(admin.ModelAdmin) in admin.py
ꪉꫝꪖꪹᦋꪖꪜ
Okay