hamid
if i after makemigrations i change thats with out run command migrate i have to do wath
spoonfulofdust
Hi all
I have a question
there is a form field in which the name of the artist will be entered, and if nothing is entered in the drop-down list, you need to display all artists from the database, if you entered the letter A, then the artists whose name begins with the letter A should remain in the drop-down list, and then analogies
I just don't see how it can be done
hamid
spoonfulofdust
i mean
when user start inserting letter a
from drop-down list removing all names from database with not starting with a
Pavan
Please anyone help me in django project
Victor
Victor
If you have a question, ask it directly in the group 😉
Pavan
I need to import data from .xl file into mysql database According to model's written.
Pavan
How I can do this?
Victor
You can create a command to use with manage.py to read this file and iterate thought it. For each line, you'll make a save in your model.
Muhammad
Can any one help me I'm stuck in a project
The Front-end in next.js and backend in django
Muhammad
Manage.py
Doragonsureiyā
Erick
Hi guys, so I'm developing a user authentication system with DRF and unfortunately I'm not succeeding, does anyone have any material that I can use as support?
Maxim
Muhammad
Doragonsureiyā
Muflone
spoonfulofdust
spoonfulofdust
do you can send some code example or link to documentation django?
Ivan
Bonjour à tous, svp j'ai besoin d'aide.
Ivan
I need help with my project, please.
Hello.
Victor
https://nohello.net/en/
Ivan
Sorry.
Ivan
I have two tables 1-Workers (field name, number...) and 2-Consultation(date, name, number...). Now when saving the form for consultation, I would like to fill in the name field automatically according to the registration number. When I enter an individual’s ID number, I would like their name to be displayed.
Is that what I’d like to know how to do, please?
Ivan
When I enter the number, the name of the person matching the number appears in the Name field, then the other fields on the form are completed and the form is submitted.
Alexey
Alexey
.
(env) hjha@hjha:~/myproject/IITI_Soc/1/Hospital-Appointment-Information-System$ pip3 install mysqlclient
Collecting mysqlclient
Using cached mysqlclient-2.2.0.tar.gz (89 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
.
I got this error while run installing command for mysqlclient
.
How can i do it correctly
spoonfulofdust
Felipe
ʜɪᴍᴀɴsʜᴜ sɪɴɢʜ sʜᴇᴋʜᴀᴡᴀᴛ
Can anyone help to suggest how to create a one to one chat room ?
ʜɪᴍᴀɴsʜᴜ sɪɴɢʜ sʜᴇᴋʜᴀᴡᴀᴛ
No i have implemented using django channels
ʜɪᴍᴀɴsʜᴜ sɪɴɢʜ sʜᴇᴋʜᴀᴡᴀᴛ
But not working correctly
Maxim
M. Hossein
I have a datetime field in my model
When I try to create a FilterSet class using django-filter for my API view, datetime field is not showing a datetime picker. What should I do?
ʜɪᴍᴀɴsʜᴜ sɪɴɢʜ sʜᴇᴋʜᴀᴡᴀᴛ
I have created separate room for two users for one to one chat but for sending message it is necessary to handshake both the channel layer if one is sending message without handshake then it is not going. How i resolve this
Alexey
When u receive message, find all users for room, that u want send data
ʜɪᴍᴀɴsʜᴜ sɪɴɢʜ sʜᴇᴋʜᴀᴡᴀᴛ
ʜɪᴍᴀɴsʜᴜ sɪɴɢʜ sʜᴇᴋʜᴀᴡᴀᴛ
Can have other ways for doing this
Venkat
need help in deploying celery which i used in my django app to azure app service am doing from vs code
Raj
Hi all, I am planning to implement Custom User Model with three User types for implementing authentication (using Proxy models or the the flags approach (is_customer, is_shipper)). Which approach is better? Please suggest.
Cheshtaaaaaaa
Hey everyone
I have created custom login for a user ,also the model is custom not implementing any sort of inheritance from User model
Now I want that some specific pages to be accessed only when the user is logged in
How to implement that?
Jaime
Cheshtaaaaaaa
Doragonsureiyā
Cheshtaaaaaaa
I don't want to inherit the User model hence I made my own
Doragonsureiyā
Cheshtaaaaaaa
Please if there's any solution to it lemme know
Naseem
Which is package best for social login like Google
Dennis
Hey guys maybe somebody have worked with Django-cookies-consent module and could give some assist on it?
Charly
Dennis
I want to create cookie accept pop up and after accepting cookies to save it in local storage that if user would refresh page he would not need to do it again.
Dennis
I have followed docs, however it seems like I am doing something wrong because it won't work and give me error.
Charly
Ulug'bek | Python Developer
"Hello, how are you? Is there anyone who has any video material on how to deploy a Django project on VMmanager? Please share if possible."
Cyber
I wonder how you guys handel image in Django i am trying to convert large image into thumbnail but idk why it's not working. The image is squished and blurry. I use django-thumbnail and pillow but it's not working. Any one has experienced this plz help me.
Mr
Hello community!
I'm having trouble using the Django rest framework to paginate. Because I want lazy pagination, the existing paginator approach is ineffective for me. Other than query slicing, I am unable to find a viable approach to implement lazy pagination. Can someone recommend a library or technique for lazy pagination?
spoonfulofdust
Hello guys
I have 2 databases in my project and I want to prevent django from doing any manipulations with one of them except for reading
is there any way to explicitly specify this for django?
M. Hossein
I have two models in my model. Hashtag and Post
I have created a post_save signal for Post model to find hashtags in a post and store them. The problem is that it works with API but not with admin page. I mean all signal code is run but hashtags are not stored. Here is my signal: https://dpaste.org/XKJL8
spoonfulofdust
my solution rn looks like
def save(self, *args, **kwargs):
raise ValueError('Read-only database')
def delete(self, *args, **kwargs):
raise ValueError('Read-only database')
in models
but i think it's not correct
AmtcAcjk
Can we integrate keycloak with django?
Maleficent
How to track a location in python django
Maleficent
I import folium
Maleficent
Ok
Maleficent
I need to track a location
Maleficent
In the map