Bunty chhatri wala..
Mirco
Share the code 😊
Bunty chhatri wala..
Only views.py or urls.py everything?
Mirco
views and html form
Bunty chhatri wala..
Ok wait
Anonymous
Can anyone please suggest a good book for django
Kapil
I have installed apache httpd on my linux (rhel 6) machine. Could anyone let me know where to keep my complete Django code in order to deployment ?
Anonymous
I deployed my website on Heroku server but media files are not serving. What can I do now? Please tell me anyone...
Martín
Abubakr
Hi guys
Abubakr
Where can i find brand-new django projects?
Abubakr
All i found are not new, not good lookingor have less functionalities
.
Hi, does django support prepared statemtents?
Anonymous
Anonymous
Anonymous
Aswath
hey ppl i have a doubt
Aswath
how to differentiate types of users if we are extending User Model Using a One-To-One Link
Gourav
Aswath
im not extending man...
Aswath
im just using a OneToOne field link between my user profile and the auth.User model
Aswath
how do i differentiate between types of users if i have two models having auth.models in their OneToOne field link ?
Aswath
@GouravSaini125 U got some suggestion ?
Aswath
Okay man thanks .. Will let you know in case of doubts
Aswath
try:
... print(user.spaceOwner)
except:
... print(user.consumer)
Aswath
Can i just do this instead... it seems easier @GouravSaini125
Aswath
Coz i have only two types of users for my application
Aswath
what do you say ?
Gourav
Let's talk, DM me
Aswath
Yea i read it and understood the best way . But you know ? i just want to get the work done coz i may have to deal with existing users and migrations which is a pain in the ass..
Aswath
Huh sorry man. Not that experienced and i don wanna get myself bored out of reading the django docs beyond a certain limit. That's why... moreover u know what im lazy .. hahaha
Maz
Anonymous
I have a form with file field to user profile pic. When user create his profile that profile pic should store in media. Now I deployed my project to heroku that user profile pic is not showing. I tried whitenoise but won't work... Plz give me the solution
Gourav
You can't store media files on heroku except for a very small time. You have to other services .
Anonymous
Gourav
And Whitenoise is used for static files.....
Anonymous
Ok
Gourav
https://help.heroku.com/K1PPS2WM/why-are-my-file-uploads-missing-deleted
maroong
How do I create pages automatically for a model ? The model is for a data I scraped I want to generate individual pages for each line
Mirco
Aswath
Aswath
Dude seriously? It seems overwhelming man.
Aswath
maroong
Okay, I'll try it
Aswath
Yeh dude. I agree.
Gourav
Why is such type controversy is going on here❓
Gourav
Everyone has a different mindset and way of learning.
Gourav
Yup
Anonymous
Can I store Media files in Pythonanywhere server ?
Instead of heroku
Muflone
Muflone
Anonymous
Ok sir
Anonymous
Ok sir its enough 😊
Marvin
Hey team , anyone with a great suggestion on a great up to date book to get me through TDD in django or python alike?
PV
Stenly
Please tell me the direction. I have goods and materials (inventory) in different warehouses, warehouses are divided into categories (types). The name of the goods and materials is taken from the nomenclature reference book. I want to calculate the total number of inventory items available in all warehouses of the same type. https://codeshare.io/ayVvEv
Seetharaman
Restrict access for staff users to see their information in django admin page
Nikhil
How can we change a certain attribute of a css selector according to model properties
Nikhil
Model object properties
Nikhil
Inline css
Nikhil
Right
Nikhil
Thanks
Zerihune
Hello guys does anyone hv a clue about object based permission in a model
Aswath
Guys i had trouble while dealing with qr code library in django
Aswath
{% qr_from_text '{{variable_name}}' size="m" %} is not working
Aswath
please help me out here
Gourav
You can't have nested jinja format
Aswath
yeah so what shall i do brother ?
Aswath
@GouravSaini125 im sorry to disturb but... this is important to me bruh
Sweetie
I have a existing django project using postgresql.
USE_TZ was set to True and now I guess it was not a good idea.
I have set my system to UTC now.
What's the best way to remove timezones from all existing records and convert all to utc.
In postgresql terms I have to change all datetime fileds from timestampz to timestamp