Ayush
hello everyone...
does anyone have django for beginners 3.0 pdf?
Mirco
Mirco
We don't support piracy here
Ayush
ok
Andrej
The previous book was very good and it is worth to buy it. We support Django with it.
Mirco
Andrej
Raffaele
Ziya
Hi to all!
This is not a django but python related question. When writing python applications, how do you structure them? I mean folder structure.
Assume we have a directory src. There are several folders/packages inside it, eg. foo, bar, qux etc. and an entry script main.py.
I'd like to add some tests to that project. A single test.py file aside main.py does the work, but when project grows, it becomes too long to read, too messy to find something.
I'd like to add a tests folder with several test scripts (test_foo.py, test_bar.py) in it. But that time, I don't know how to import foo, bar packages. Actually adding them syspath works, but are there any better solution?
Thanks in advance
sheikh
How to upload image file directly to model without any form?
Anonymous
Pillow
Himanshu
how to connect drf to front end?
Anonymous
Anonymous
#Run to check
#discribe in group what happens you.
lis=['Hello','kali','Q']
upper=[lis.append(li) for li in lis]
print(lis)
#DM me
Anonymous
Any one have source code for HYIP investment Website?
Mirco
Doragonsureiyā
Any one have source code for HYIP investment Website?
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With a very high amount of people here the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
Hi
Anonymous
I am creating an api with django rest framework
Anonymous
And using token authentication
Anonymous
Also using an extended user model
Anonymous
Anonymous
How can I update the profile model with the token i get through the request?
Taku
From where I can download free chat template?
Bunty chhatri wala..
Lionel
Hey ppl. What's the most recent stable Django Version? Shall I continue with 3. 0.8? Thoughts?
Raffaele
'Post' object has no attribute 'get_absolute_url'
Raffaele
I have this error
Raffaele
how can I solve it?
Anonymous
Raffaele
It appears when I go to sitemap.xml
ford
Add related_name="subjects" to foreignkey option
Then use this query them to get subjects related to certain course
Subjects = course.subjects.all()
ford
And you can have just one view function to get all your data
Bhavdeep Singh
hey everyone
Bhavdeep Singh
actually i need some help from you guys
Bhavdeep Singh
i was working on web devp from django and i am facing some issue
Bhavdeep Singh
like i have tried to devp a travel website which has 4 pages home, about, contact and news
Bhavdeep Singh
i can acess all pages from home
Bhavdeep Singh
but i m unable to redirect to any other page
Bhavdeep Singh
like i can go to about or any other page from home
Bhavdeep Singh
but once i reached about page and i click to home page button
Bhavdeep Singh
it gives error page not found
Bhavdeep Singh
actually i m unable to reverse the url
Bhavdeep Singh
https://drive.google.com/drive/folders/1SqucBoMxc53Z6yBgKQEyQpY0T_NLcgwl?usp=sharing
Bhavdeep Singh
this is the link of my files
Bhavdeep Singh
i m unable to copy url of each file because as i m trying to do that i m getting recurssion error
Bhavdeep Singh
can someone help me in this code?
Anonymous
Hi everyone! I added bootstrap css files in the static/css root. When i add it as
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}" (in layout.html)
instead of media link, my bootstrap is not working anymore. I cant find where is the problem.i specified STATIC_URL = '/static/' in settings file and {% load static %} in layout.html
Chirag
Chirag
shekhar
Anonymous
yes , i can use my static file on other things
Anonymous
except bootstrap
Mihir
what is celery used for?
Saurabh
Mihir
please elaboraate...
Mihir
i am new to databases and have some knowldege about task queues
Mihir
i read that they are used for email confirmation process but still havent got the complete picture
Mihir
can you explain with a real world example?
Yatin
Is there a way we can show real time data in frontend in django???
Yatin
Like using mqtt protocol
Yatin
I tried searching everywhere. Found something called django channels. But couldn't understand what exactly it is
sravan
Is there any package which sort all the import automatically based on flake8 import rule while saving a file ?
Aditya
Bhavdeep Singh
ya sure
Aditya
Avi
can anyone help me with django user authentication
Avi
i want to create a login and signup
Avi
1 - local login
2 - login with google
Aditya
Aditya
Aditya
Will do
Taku
I want to add default value to form how can I do that?