<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>a.muse: Django: first impressions</title>
    <link>http://www.jessirae.com/blog/articles/2010/02/13/django-first-impressions</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Django: first impressions</title>
      <description>&lt;p&gt;A month or so ago I was anticipating a move into Django.  I started on some of the &lt;a href="http://docs.djangoproject.com/en/dev/intro/tutorial01/#intro-tutorial01"&gt;Hello World tutorials&lt;/a&gt; on the django site, and I wanted to share the few observations from my very brief encounter with Python via Django.&lt;/p&gt;


&lt;center&gt;
&lt;img src="http://jessirae.com/blog/files/django-logo-positive.png" alt="" /&gt;
&lt;/center&gt;

	&lt;ol&gt;
	&lt;li&gt;Double underscores?!! Whose idea was that?  Does that end up being a pain when writing in Django?  I remember that Ruby uses the double underscore too, but Rails doesn&amp;#8217;t use this construct frequently from what I remember.  Please someone write in and tell me I am mistaken about the frequency in use of double underscores in Django.&lt;/li&gt;
		&lt;li&gt;The setup with sqlite was straight forward and simple&amp;#8212;more simple than in Rails.  It has been my impression, however, that this ease (or lack of ease) has more to do with the database installation on the operating system, than it does with actual integration with the framework.  In other words, the problems that I have encountered with setting up database connections in other frameworks occur while trying to setup the data source itself.&lt;/li&gt;
		&lt;li&gt;Is the settings.py file supposed to be like the web.xml in j2ee and the environment.rb in Rails?  It seems that database information goes in this file, which is different than in j2ee and Rails where you have separate files to specify the database connections (e.g. context.xml and database.yml).&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;Overall, I would be interested in working more with Django.&lt;/p&gt;


&lt;pre&gt;
  506  tar xzvf Django-1.1.1.tar.gz
  507  cd Django-1.1.1/
  508  sudo python setup.py install
  509  python
  510  ls -al
  511  vi INSTALL 
  513  django-admin.py startproject Test
  514  cd Test/
  515  ls -al
  516  python manage.py runserver
  517  python manage.py syncdb
  518  python manage.py startapp polls
  519  cd polls
  520  python manage.py sql polls
  521  cd ..
  522  python manage.py sql polls
  523  python manage.py syncdb
&lt;/pre&gt;
</description>
      <pubDate>Sat, 13 Feb 2010 08:09:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:8c760939-648d-4e79-9a2a-8bda96967724</guid>
      <author>Jessica</author>
      <link>http://www.jessirae.com/blog/articles/2010/02/13/django-first-impressions</link>
      <category>technology</category>
      <category>newbie</category>
      <category>django</category>
      <category>python</category>
      <trackback:ping>http://www.jessirae.com/blog/articles/trackback/12833</trackback:ping>
    </item>
  </channel>
</rss>

