ashu
My website showing this on front page
Hossein
In Django, if I want to save a list in one of the fields of one of my database models, what type of field should I use?
For example, I have a model Users:
user_id = models.IntegerField()
token = models.CharField(max_length=50)
channels = models.CharField()
There can be several channels. That's why I want it to be a list. What kind of data should I use?
Hossein
Dambek
Hi, i have a problem with django function in html. {{ quest.corrects(user=i, work=work) }}, it don't work, and i get the problem :Could not parse the remainder: '(user=i, work=work)' from 'quest.corrects(user=i, work=work)', how i can fix this?
Burxon
\Python310\lib\site-packages\telegram\request\_httpxrequest.py", line 236, in do_request ", line 236, in do_request
raise TimedOut from err
telegram.error.TimedOut: Timed out
Burxon
can u help me please&
Burxon
how to fix it&
Fritz Flores
Hi guys
I am working on a django project and I need to implement live chat in it.
Can u guys suggest ways to go about this
Cheshtaaaaaaa
Hey guys
Has anyone integrated elk(elastic search,logstash,kibana) with django project and sent logs .
I am a bit stuck in that.
cj
Mographmart
hello guys, anybody here ever tried to connect django to external API that use cookies as authentication?, if there can you share his experiment to achieve this purpose? thank u in adcance
Piyush
Hey every one,I need your help,I have made a template in which user inserts his pdf and then the pdf gets displayed but you know that chrome does not provide a rich toolbar when displaying pdfs so what can I do that I get a rich tool bar when displaying pdfs.
Alex
Dilshodbek Ahmedov
Backend to frontend Please connect
Maxim
Dilshodbek Ahmedov
How to connect the frontend
Maxim
Siva
I connect django successfully but I do my project and run with no errors but the output will be connected successfully page only
Siva
What can I do
Alex
Piyush
I have tried that but I think I am doing some thing worng that is why it is not working,I really liked its tood bar.
Rahat
Please send me documents,How to implement rezopay subscription part implement in Django rest framework
Maxim
Rahat
Ok
Ravikumar
Hii Everyone suddenly i got this errror without the changes any code in my code
Prasad
Can we get body measurements using mobile camera by python?
spignelon
Bruh, it disappeared
Maxim
Bruh, it disappeared
this group is for people who already know Python
why did you want this link?
spignelon
spignelon
The link to Django documentation?
Maxim
Doragonsureiyā
The link to Django documentation?
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
spignelon
.
Hello everyone
I would like to ask about working with jwt on server and client
The first way is to send tokens at authorization to the front. And there, already on the front tokens will be recorded in cookies
And for example, when logging out of the account, the front will take the token from the cookie and send it to the request body.
Also about updating the access token, it would all happen on the front end.
There is a second option, that we will write tokens in the cookie immediately on the server. And update them there as well.
The question is whether there is a standard for this. For example, is it better not to let the front to update tokens and the same record or vice versa?
Do you have any articles about this. Thanks in advance
Tushar
Is anyone help me i want to send di ct or ordered dict through Django template into the js function but it will show error ordered dict is not defined
Jd
Hi I am creating a django api, we have pre existing database which cannot create any new table using migration, I want to use login method but it is throwing no tabel or view exists. I am using login method to create the session Id is there any work around is there for creating session Id without django migration tables ?
Avengers
How to create a model in django Rest Framework
ashu
cj
How to create a model in django Rest Framework
like any other model you make in Django, DRF is just for an alternative way to show data on the endpoints, instead of rendering templates, all the other things work the same way internally at django level
Shear
Hello guys can i tried modifying admin by creating User model which can help me create super user is this a good idea
Rob
How can i download django help me please
Rob
Rob
Blackscorche
Hello pls what's the easiest way of setting a virtual enviroment for django that I can access with vs code
Charly
Blackscorche
Charly
Blackscorche
Anonymous
Only post method can be used to access form data in django?
Charly
Anonymous
How to access form data in get method?
Request. ?
Charly
Anonymous
Oooh okay thanks
TEJAS
What is a proper way to authenticate a user in Django views file ?
Anonymous
hello guys
Media files not showing when debug is false
my static and media :
STATIC_URL = 'static/'
STATICFILES_DIRS = (str(BASE_DIR.joinpath('static')),)
STATIC_ROOT = str(BASE_DIR.joinpath('staticfiles'))
MEDIA_URL = "/data/media/"
MEDIA_ROOT = os.path.join(BASE_DIR,'data/media')
Alex
Anonymous
Amberty
Where do u think the virtual environment folder supposed to be in the sense of good practice
deni
Does anyone know how to add xml export in django-import-export==3.2.0 library?
.
What's the difference between {% empty %} and {% else %} in Django?
No one
Hello. How do I make a model instance have multiple images?
TEJAS
Muflone
Anyone?
this is explained in the basic tutorial
Muflone
then you're doing something wrong, of course
TEJAS
Ya but searched very much I didn't find any issue
Muflone
so what you think the issue is?