Ashish
https://linkode.org/#muNauQxzKEmkieiZJMRsC7
Ashish
https://linkode.org/#07D363wRy9ICM8bFrOQP05
Ashish
i have shared three link model.py form.py and views.py, issue is while update fields some fields updated or not updated, even not getting any error
Shreehari
Hi, can anyone please help me with this question?
Its related django channels.
https://stackoverflow.com/questions/70094760/django-channels-disconnect-notification-issue
Anonymous
any one know vuejs
Mohammad Hossein
Mohammad Hossein
Ali
Anonymous
hello,
Doragonsureiyā
hello,
Please move your "Hello" and other social talk to @PythonOfftopic.
Anonymous
hello, excuse am asking for the help, i want to retrieve the names of just project manager in the drf form, am stacking on how i set a queryset to get those names in the form....in my user model i have got a field called is_project_manager and i have a model called Projectmanager that has a user as a foreignkey from User model, therefore how can i retrieve those users who are project manager in the drf form as option input..i have tried and searching many sources online still i have got no solution, any help plz.
DK
Please someone help me in solving this issue.
I have 4 tables
Tutor
Language (foreign key = tutorId)
Qualifications (foreign key= tutorId)
Certificate (foreign key = tutorId)
I want tutor all data with there sub tables details
From language table I can get tutor details using (select_related) but when calling from tutor main table there is no foreign key so I can't get language details.
I want all data in table form like we do inner join in sql
Issei0
Hello
Shail
Is there anybody have a course for django
Shail
If yes please share the link
Shail
I want to join django family
Shail
Thanks @bala
max 17
Jayashankar
Can anyone give me suggestion on showing local time to users according to their location or timezone ?
Saving in db as UTC.
Is there anything I can use to identify the timezone in request ?
Genemator
Genemator
https://stackoverflow.com/questions/1061911/django-with-system-timezone-setting-vs-users-individual-timezones https://realpython.com/location-based-app-with-geodjango-tutorial/
Jugurtha
Is there any big complete open source project made with Django ? (Not Library not app)
M Latif
Hi every body
How we can use bootstrap file in django
Proton
Guys please any body know how I can calculate shipping cost per country selected in my django ecommerce project ?
Proton
I used the book - django by example 3
José Florencio
José Florencio
@Jugurtha_Green
Jugurtha
Thx so much bro, so helpful
Sergey
hi, is None value on date field ignored when we filter with gte/lte?
Doragonsureiyā
Sergey
ok, thx
Ankiniki
Anyone help me out for deploying django application on aws?
Doragonsureiyā
Anyone help me out for deploying django application on aws?
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
William
Mohammad
can anyone help me with this question?
https://stackoverflow.com/questions/70036131/show-related-images-to-product-in-django
Proton
Genemator
who knows good api for scanning passport
Proton
William please which of the models
I have products model
Orders
Shipping ( which I haven't figured out still)
William
Proton
Alright
Proton
William the main problem is to have a button to update the page with the country and cost of shipping and store it in the django session
William
Proton
Proton
Exactly
Proton
Then after the filter, I store them in the session cart so I can do the math in the cart and order models file
William
Proton
Just django with html and css
Proton
This is the link to the code snipet
https://dpaste.org/FCQz
William
Proton
William yeah sure
That is what it does
After successful order, the cart is cleared
Now the main issue is calculating the shipping
The shipping cost is added per country related to a category
Now I want to pull the data from the database when someone selects a country they want to ship to and click on the update button
So that the price of the products in cart can be recalculated and the shipping cost can also be added to the cart
Proton
Then I can generate a receipt for the customer with the shipping details attached
William
Proton
I'm now stuck at getting the shipping cost to reflect In the template when someone selects a country
Ali
Each post has three situations.
1. Valid,
2. Invalid
3. Pending
Since the fields is empty, the post situations will be Pending.
True: Valid
False: Invalid
(Nothing): Pending
Which model fields is better to be used in this scenario? Looking for something like BooleanField(blank=True)
Rutherford
I have a custom user that i want to add to a group.
What I've tried so far is to get the group into a variable called group.
Then also get the specific user I want to add to the group into some variable user.
I then call.
user.groups.add(group)
But I always get the error
Cannot add <Group:groupname>: instance is on database "default", value is on database "None"
How do I fix this error.
Django version 3.2
Aziz
Hi! I have a form, this form takes a field "csv_file" with FileField type. When i select any file, for example png file, i get empty csv_file field and thats why I get form.is_valid False. error message says that field is required. So, why? form template has enctype multipart
Ali
Rutherford
Manuel
how can I generate with graphmodel the model relational entity
Manuel
per each app of the project
Doragonsureiyā
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.
Ali
The best performance free web server for hosting DJango projects except PythonAnyWhere?
John
Can somone please help me on integration of Django with react js?
William
Ali
Ali
And in my templates..
if obj.is_valid == None
...
elif obj.is_valid
...
elif
...
Genemator
django server isn't breaking with ctrl+c
Genemator
no it isn't working too
Devang_12
Does anyone know how to display data from table related to the logged in user?
Devang_12
def managestugriev(request):
from_stugrievance = studentgriev.objects.filter(name=user_logged_in)
from_facgriev = facgrieve.objects.all()
return render(request,'manageGriev.html',{"data_form_stu":from_stugrievance,"data_from_fac":from_facgriev})
Devang_12
I am doing this in views.py
Devang_12
but nothing is happing
Devang_12
I am displaying data in a table from two different models