Ashish
https://linkode.org/#muNauQxzKEmkieiZJMRsC7
Ashish
https://linkode.org/#07D363wRy9ICM8bFrOQP05
Doragonsureiyā
Anyone suggest a good begginger tutorial for django...for better understanding
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
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
Pythonanywhere
Thanks🌹
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
Anonymous
Is there anybody have a course for django
Watch tech with Tim channel for tutorial
Shail
Thanks @bala
Anonymous
Thanks @bala
It's ok bro
DK
U can use reverse relation. Language table has Tutor_set
Then I need to call other 3 sub tables data. All data is getting merge. If tutor 1 have 3 language it shows all language of all tutor. How can I view data according to tutor_id. I want to view in table
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
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?
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
Mohammad
can anyone help me with this question? https://stackoverflow.com/questions/70036131/show-related-images-to-product-in-django
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)
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
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
Proton
Just django with html and css
Proton
This is the link to the code snipet https://dpaste.org/FCQz
William
Then after the filter, I store them in the session cart so I can do the math in the cart and order models file
I think you better save cart value for each user. If they remove the Item then subtract the price. Each user one cart
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
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
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
I'm now stuck at getting the shipping cost to reflect In the template when someone selects a country
You can get the user selected shipping country right? Then, all you have to do is along with the page refresh update the total amount
William
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)
POST_STATUS = ( ("Pending", "Pending"), ("Valid", "Valid"), ("Invalid", "Invalid") ) Better use models.CharField(choices=POST_STATUS, default="Pending")
Ali
And in my templates.. if obj.is_valid == None ... elif obj.is_valid ... elif ...
William
Fixed it by adding null=true and blank=true
I won't suggest that way. It will be confusing for you and other developers.
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