Re: Noobie questions about Django and Databases

22 views
Skip to first unread message

Shawn Milochik

unread,
May 6, 2013, 11:11:42 PM5/6/13
to django...@googlegroups.com
In that case, you'd just add a 'model number' field to your table.

In the Django ORM, each Model instance relates to a table. So you aren't going to want to have more than one to write your code against.

Just read through these two pages and everything should make sense:



It may seem like a lot of reading at first, but unless you have at least a vague memory of what's in these pages when you start writing code, you're going to get badly stuck and probably not have a clue what the best search terms will be to get you unstuck.

Brian Williams

unread,
May 7, 2013, 12:20:07 AM5/7/13
to django...@googlegroups.com
Thanks Shawn,

I am plugging my way through the docs and djangobook.  I figured that I probably just hadn't come to it yet.

Sometimes ADD gets the best of me and I just can't help but ask a question when something is on my brain.

I appreciate the help, off to read the links you sent.

Brian
Message has been deleted

Nate Aune

unread,
May 8, 2013, 11:46:30 AM5/8/13
to django...@googlegroups.com

What I had planned to "learn by doing", is building a site that scrapes the prices of baseball bats from about 20 different websites and displays the best price when a user searches based on the model of the baseball / softball / teeball bat.  

Check out the django-dynamic-scraper: http://django-dynamic-scraper.readthedocs.org/
 
Nate
Reply all
Reply to author
Forward
0 new messages