Д
what do you mean by low-level caching? (also what's CBV?)
R@kesh
username = requset.COOKIES['name']
R@kesh
how to solve this error ??
R@kesh
File "C:\djangoproject\sessionproject3\testapp\views.py", line 13, in gf_view
username = requset.COOKIES['name']
NameError: name 'requset' is not defined
[08/Apr/2022 17:22:39,758] - Broken pipe from ('127.0.0.1', 62115)
Vadym
Vadym
"requset.COOKIES['name']" => "request.COOKIES['name']"
Д
YUSUF CR
ERROR: D:\django-sites\testsite>python manage.py runserver
python: can't open file 'D:\\django-sites\\testsite\\manage.py': [Errno 2] No such file or directory
YUSUF CR
D:\django-sites\testsite
YUSUF CR
So where is my manage.py?
Doragonsureiyā
D
It should be in the root directory of your project
k9
Sajad
YUSUF CR
Yes
cj
Yes
how did you create it? show the steps you followed
YUSUF CR
Okay
Kelvin
Is there a offline version of the Django rest framework documentation??
Kelvin
Or where I can get it.
Charly
Joao Paulo
Hi!
How are you dealing with form field autocomplete ?
Hoper
Hoper
Hoper
W3
Anonymous
Does anyone know why PUT in rest framework generics act like PATCH and doesn't replace the entire row?
…
hello guys, is there a way to get the value selected with the foreign key on the admin page without saving it to the database?
Zev B.
Hi everyone, is it o.k. to use “for…in” tag reference to display one category posts?
If not, can it be done with any filter reference, like for instance ‘distsort’?
Vikas
Can any help me regarding dja go
Vikas
Prblm
RL
RL
Ahmed
very.
Anonymous
Django Foreign key field dependent on another datetime field
I want to create a Foreign key which is require if another datetime value is greater than any year (like 2014). How can I create that on Django Models. Or I should do that in frontend. (I will use rest framework)
Tchondo
Who use airtable in his django for database, beetwen firebase and airtable witch is fast for request? 🙏🙏
A
Hi, how can i track and view database transaction in django? Thanks
Anonymous
How can I learn django
Anonymous
Anonymous
I have learnt
Anonymous
Then docs, tutorials, books
Doragonsureiyā
How can I learn django
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Manavver
And for django you can follow codewith Harry, geekyshows .
Manavver
And Dennis ivy
Anonymous
Guys, can you check this question out please, more importantly I am interested in the first answer. My question is, what exactly does the forward slash do in the beginning of href?
https://stackoverflow.com/questions/17200389/how-to-use-the-href-attribute-in-django-templates
mohammad
hi how i can set defult value in forms.Select?
S
Hi everyone,
I want to retrieve date from one model and use it as context variable in another model’s view with objects.filter. How do I do this?
Ionut
Hi, I have a question too. How do I check the content in a form if it's a video file? For pictures I use if str(request.FILES['......'].content_type).startswith("image"):
Optimus
mohammad
mohammad
Mirco
Doragonsureiyā
can i send photo to your pv?
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like:
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you posted a wall of text, go back and delete it.
Optimus
mohammad
Pharez
hi everyone. i have a trouble with ckeditor. i have added here codes
Pharez
https://linkode.org/#OZEg848uUjcyeScQ9WRj45
Pharez
l have done all migrations but in admin page i cant see ck editor
Pharez
someone can help me please?
Pharez
Pharez
https://linkode.org/#oOudTgGDaeedEAcwL76md
Pharez
admin site is like that
Pharez
Pharez
But again l see just text field, not ckeditors text field
Baba
Hi,I have a doubt I'm very good at using function base view in django do I have to know class base view because I see most people using it.
Pls I need answer asap
Anonymous
Charly
Charly
Morteza