Rup
I want to get data by foreign key by using queryset can anyone help me please?
Rup
Can you please elaborate. Not getting it clearly.
Rup
Can you Please refer me a link or kind of tutorial so that I can get a clear idea from that.
Anonymous
https://github.com/nikeshvarma/EcommerceWebsite
There is alot of javascript in this website lol😔😔
Anonymous
And i hate javascript😔😔, it always seems hard
Anonymous
There is alot of javascript in this website lol😔😔
Actually, by mistake I have uploaded bootstraps and fontawesome js files too. 😅
Anonymous
Otherwise the overall project is purely made in django framework
Anonymous
Most people hate bootstrap, they prefer materilize css
Anonymous
So you did not code any js there?
Maybe some few line of codes in js.
Anonymous
It is live hosted at:- https://website123.pythonanywhere.com/
AA
Hi everyone. I hope you are doing well. I need your help guys. So, I'm using django import export package in order to upload/download csv, tsv files from/to database from admin panel and I'm struggling with uploading part, I have name, rank, quantity, verified, category fields in my database and it imports all fields except for (category) field.
Anonymous
It is live hosted at:- https://website123.pythonanywhere.com/
Will it stay live like that forever on that python anywhere?
Anonymous
Will it stay live like that forever on that python anywhere?
Almost forever but you just need to reset the expire date in every 3 months.
Anonymous
Am planning to use heroku though
I haven't any idea about heroku, just hear it's name sometimes.
kuzmich
first of all define str method and return name I guess
kuzmich
we'll see if it works
kuzmich
mptt is a cool library nice choice of you
AA
I just skipped these parts
kuzmich
just follow the solution on SO it seems to be solved
Editing Name
Hello guys, how to generate unique identifier, without using uuid in model
Anonymous
use the new .takeout() method and ^
ᕼᗩᑕKᗴᖇ
I used heroku to put my TodoList but all objects disappear after a day why is that so
ᕼᗩᑕKᗴᖇ
Ok what happens to sqllite ?
Ibad
Ok what happens to sqllite ?
https://help.heroku.com/K1PPS2WM/why-are-my-file-uploads-missing-deleted
Anonymous
Hey programmers
Anonymous
I'm facing an attribute error str object has no attribute get
Anonymous
Can anyone help me
ᕼᗩᑕKᗴᖇ
https://help.heroku.com/K1PPS2WM/why-are-my-file-uploads-missing-deleted
Wohh Didn't know that, Thanks Man I will use postgres with it 👍👍
Anonymous
https://dpaste.org/WN7O
Anonymous
please help me to resolve this error
Charly
please help me to resolve this error
you are making post_data default value to string, thus you can't access it like a dictionary; also, the get is a function, you should not using square brackets
Anonymous
I tried but still I'm getting same error
Charly
Anonymous
https://dpaste.org/Cntg
Anonymous
this is updated code @charly sir
Charly
this is updated code @charly sir
and whats the content of post_data?
Mr.B
Cursor
Charly
https://dpaste.org/Cntg
also if you are using django use the ORM not raw sql
Anonymous
Okay sir
Ahmed
thanks
Vivek
Hello, if I wish to take an image upload from a user how to do it? When I try to do it only the name of the image file gets stored in the database. Someone help please
M
Hello guys, how to generate unique identifier, without using uuid in model
Override the save model and set the uid there, or if you are using a form you can use it there too
Dev__master
How to convert files into zip format in django? Those files are stored in media folder
Dev__master
Can anyone help me?
Dev__master
Sorry, actually asking code for that in python
Harish
Just google python run process
Siddharth
I do'nt know from where this url executed. ( below ) /_ignition/execute_solution 404 I am trying to host django on aws ec2(os ubuntu), anyone aware of this ?
Favas
give any sugestion to implement video call in django using webrtc
Siddhartha Inturu
Do anyone have index page in html for vehicle rental system ? Message me please
Ss
Anyone good in Django ? I want help
Doragonsureiyā
Anyone good in Django ? I want help
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
𝕯aniel
Hi guys someone help me please. when i commented code https://gist.github.com/itglobalaz/a36ef5796a1ed40fd250d7a11b9ce24f i can see product photo else product photo is not displaying on the website... I use django-mptt django-mptt-urls. First time i see problem like this
Crack
Anybody have work with allauth
Anonymous
Is it possible to redirect the page after a specified time has elapsed if one of the hyperlinks has not been selected?
lol
Please what's the best method of performing role based authentication?\
Anonymous
Yes, but I could not find a suitable solution
Raghav
anyone knows how to make a vending machine api?
Harsh
I am learning django models. This is my app's model.py: https://del.dog/django-py-error.txt The issue is, when in admin page, the datetime field just won't show up. I want it to be visible, but greyed out/uneditable Please assist.
Niloy
please,can any one help me with custom user creation
Niloy
?
Harsh
William
Do you want to edit that date-time value or not?
Avi
Could somebody help me to deploy my django app on heroku
Siddharth
Aws django static files are not working
Siddharth
U serious ?
Mirco i need you help again.
Mirco
Aws django static files are not working
Use django-storages with S3
Siddharth
Use django-storages with S3
I did used, i have ec2 instance and then i run collectstatic command, even those static files are on s3 storage but for some reason when i load admin pannel it appears without css or any static files