Ghorz
Normal form
Ganesh
Can anyone helpme how to pass json data to JavaScript
Anonymous
How to import model of one app into the model of another app???
cj
Anonymous
Hmm
Syed
Anonymous
Ok
Anonymous
from app_name.models import model_name
I have created a product model and it's return product name ...
I have created a another model in another app and linked order model of second app with product model using foreign key...
The problem it's returning it's product name only and I want to get its product_code
Syed
Anonymous
Yeah it can be easily used in template
Anonymous
But I want in models.py file
Syed
Order_obj=Order.objects.all()
Anonymous
is their any way that I return multiple fields in product model currently I am returning return_str(product name)
Syed
Order_obj.product_id
Anonymous
Okay
Syed
Anonymous
Yes
Syed
Yes
Suppose if u return 2 fields then same object will save two times.
Anonymous
And also it will distrub the template s
Anonymous
Need Help: How to join two models in django
Ganesh
Ganesh
How to pass json data in JavaScript
Doragonsureiyā
How to pass json data in JavaScript
Step 1: Open a browser
Step 2: Write down https://google.com or https://duck.com and press Enter
Step 3: In the search box write down the same words you asked here
Step 4: Read the firsts results
Ganesh
In views I am using json response and fetching in JavaScript
Xavier
Rahul
Rahul
On every entry i want to store into db using django from google sheet
Damon
Do I need to learn Javascript before I can develop with Django?
Rohan
محمد دلشاد
No Meta questions please
its a Django group of 7k members
you don't have ask this silly question
and of course a lot of us knows python
محمد دلشاد
ask your question directly
Tar
What skeleton do you use ?
Any automatic script or just django-admin startproject and manual configuration?
محمد دلشاد
Mirco
Read rules!
Tar
i usualy go with django-admin stuff
Are you separating settings.py for dev and testing and production manually then?
Create folder for templates / static / media by yourself?
One huge folder or subfolder for each app?
محمد دلشاد
dont use pastebin instead
محمد دلشاد
Tar
Django is so flexible
Therefore, too many approaches for project structure
I haven't decided yet which one I like the most
محمد دلشاد
محمد دلشاد
u got it right
Tar
The error is pretty self explained
محمد دلشاد
there is a missing slash betweem userpage and post in ur urlpattern LOL 😂
Mirco
you are trying to access userpage/post, but you have userpage post into your urlspattern
so remove that useless blank into your path
Raffaele
Hi guys
Raffaele
I need help with my template for a django blog
Raffaele
The website doesn't see my comment form
Raffaele
Here is the pastebin
Raffaele
https://privatebin.net/?34a08f8fd43cc303#8oeG5gDgu2bov8WYGGGfgG2ECbx4RSEBcYdTrEcxZtxP
Mirco
it's better you add also the view
Raffaele
Mirco
Jimmies San
Jimmies San
😂😂😂😂😂
Mirco
NIKHIL
Please tell how to start django learn
Skilz
Mirco
Doragonsureiyā
Please tell how to start django learn
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Anonymous
Detail_view test model fails( AssertionError 404 !=200) during test, but works fine in browser.
Why is it happening so :
This is the like link to my code:
https://stackoverflow.com/q/62192396/13678965
محمد دلشاد
yup i like the way he explains every part
Lord Voldemort
does anyone know how to keep heroku dyno alive in free tire ?
Lord Voldemort
i have 1000 hours free dyno hours
Anonymous
Hi, guys
Am getting error
net: : ERR_ABORTED 404 (NOT FOUND)
Anonymous
OnlyGod
Tengo
Raffaele