On 10 Feb, 07:19, waltbrad <[EMAIL PROTECTED]> wrote: > Hi there. I'm a python novice, getting into the Mark Lutz tome. I'm > pretty enthusiastic about python and when I found out that it could be > used in website development I had to look into to Django, (mainly > because of the Satchmo project). So, I actually got Django installed > and got the webserver running, but then the tutorial started talking > about a database. > > I learned a dab of SQL a few months ago, but haven't used it since. Am > I going to have to put learning Django on hold until I re-familiarize > myself with SQL? If so, do you know a good tutorial? The one that I > used was mixed in with PHP, a language that really gave me a headache. > > Or, can I go ahead with your tutorial without SQL and learn something > about how Django helps with HTML and scripting? > > Thanks.
You *can* use Django without a database, but to be honest there's not really much point - the whole power of any dynamic web system is that it stores data in a db, and can create pages based on that data. That said, there's no need at all to know SQL, at least when you start. Django has what's known as an object-relational mapper (ORM) which hides all the necessary SQL behind standard Python calls. So you can get a very long way with the database in Django without ever having to write SQL - it's only necessary when you need to do something really complex which the ORM doesn't support. I've been developing Django sites for two years and in that time have only needed to drop back to SQL about twice. -- DR. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---