DEV Community

Bret
Bret

Posted on

DJANGO, having info show.... app.py, urls.py, admin.py, modules.py (settings.py?)

I have the Django default module made “product”, well,
What python files, In order....
Do you use to make another box of information?

I have:

app.py
urls.py
Admin.py
Modules.py

So far my new class of a module “stuff” is “SHOWING”,
But when I click on it, there’s a error. It says it can’t find somename_stuff .... is the “somename” the App name? Or what are the steps in order to actually have it working?

Top comments (6)

Collapse
 
yobretyo profile image
Bret

“No such table “realtest_stuff”

Collapse
 
kiransai profile image
kirAn-sAi

Did you applied migrations?

Collapse
 
yobretyo profile image
Bret

Now, I want a product to “show” on my product page. Also automatically after I add one

Thread Thread
 
kiransai profile image
kirAn-sAi • Edited

I don't know whether you have followed any tutorial or not check this link once. It has 7 pages of detailed explanation, I believe it is useful to you

Collapse
 
yobretyo profile image
Bret

That was the problem. Thank you!

Thread Thread
 
kiransai profile image
kirAn-sAi

Cool