On Jan 2, 7:38 pm, Mike Dewhirst <mi...@dewhirst.com.au> wrote: > On 3/01/2012 10:59am, Chris Kavanagh wrote: > > > > > > > > > > > > > On Jan 2, 6:57 pm, Chris Kavanagh<cka...@gmail.com> wrote: > >> I'm new to django& programming in general. I know the basics of > >> Python. Anyways, going through the djangoproject tutorial, I came to > >> the part where you edit the polls/models.py, and this is where I need > >> advice. > > >> I understand roughly what's going in when we write the script in > >> models.py, however if I had to create something like this on my own, I > >> wouldn't know where to begin. Obviously I have no .db experience, but > >> I get the gist of the different types of fields django uses. The > >> question is, how do I go about learning this?? Do I need to go through > >> an SQL tutorial to better understand how this works?? > > >> Thanks in advance for ANY help! > > I read somewhere that it takes about 10,000 hours of > (learning/training/practice/work) to achieve mastery in any area > requiring complex skills and knowhow. Playing a musical instrument, > writing complex database systems for the web, air traffic control - you > name it. > > I think you need to bite the bullet and slog your way through the > tutorial. Don't expect to understand too much the first time but learn > to follow the written instructions *slavishly* until it actually works. > > Then get yourself a copy of The Definitive Guide to Django by Adrian > Holovaty and Jacob Kaplan-Moss and work through that. > > Finally tackle a small project of your own and make that work. Google > will help you answer most of your questions. > > Good luck > > Mike > > Thanks so much for the advice Mike. Actually I have the book, and I'm going through the tutorial now. When I came to the database part, I realized I didn't know a thing about them. So how could I write Python code that would interact with a database?? So, I figured there had to be someway to learn this stuff. I wasn't sure what to study to learn/ get better at it. . .After going through that chp in the book, and looking quickly at an SQL Tutorial, I think I have a better understanding of what I need to do.
Again, thanks so much for the advice. It's much appreciated! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.