<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Tue May 21, 2013 3:54 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Tue May 21, 2013 3:54 pm</pubDate>
  <lastBuildDate>Tue May 21, 2013 3:54 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: Syntax error in Django tutorial (LXF #165)</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=110471#110471</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=60039'&gt;bbagger&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Feb 21, 2013 8:52 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;bbagger wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;...&lt;br /&gt;
What have I done wrong?&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;Let me answer this myself, since nobody else can: I had ommited the comma at end of the &lt;span style=&quot;font-weight: bold&quot;&gt;previous&lt;/span&gt; line.  &lt;img src=&quot;images/smiles/icon_sad.gif&quot; alt=&quot;Sad&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=110471#110471</comments>
                                        <author>bbagger</author>
                                        <pubDate>Thu Feb 21, 2013 8:52 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=110471#110471</guid>
                                      </item>
                                      <item>
                                        <title>[SOLVED]Syntax error in Django tutorial (LXF #165)</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=109717#109717</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=60039'&gt;bbagger&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Dec 17, 2012 9:13 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      When I try to create the view described on page 82 in the tutorial I get this error message:&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;SyntaxError at /inventory&lt;br /&gt;
&lt;br /&gt;
invalid syntax &amp;#40;views.py, line 7&amp;#41;&lt;br /&gt;
&lt;br /&gt;
Request Method&amp;#58; &amp;nbsp; &amp;nbsp;GET&lt;br /&gt;
Request URL&amp;#58; &amp;nbsp; &amp;nbsp;http&amp;#58;//127.0.0.1&amp;#58;8000/inventory&lt;br /&gt;
Django Version&amp;#58; &amp;nbsp; &amp;nbsp;1.4.3&lt;br /&gt;
Exception Type&amp;#58; &amp;nbsp; &amp;nbsp;SyntaxError&lt;br /&gt;
Exception Value&amp;#58; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
invalid syntax &amp;#40;views.py, line 7&amp;#41;&lt;br /&gt;
&lt;br /&gt;
Exception Location&amp;#58; &amp;nbsp; &amp;nbsp;/usr/lib/python2.7/site-packages/django/utils/importlib.py in import_module, line 35&lt;br /&gt;
Python Executable&amp;#58; &amp;nbsp; &amp;nbsp;/usr/bin/python2&lt;br /&gt;
Python Version&amp;#58; &amp;nbsp; &amp;nbsp;2.7.3&lt;br /&gt;
Python Path&amp;#58; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;#91;'/home/bent/pawnstore',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python27.zip',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python2.7',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python2.7/plat-linux2',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python2.7/lib-tk',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python2.7/lib-old',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python2.7/lib-dynload',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python2.7/site-packages',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python2.7/site-packages/PIL',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python2.7/site-packages/gst-0.10',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python2.7/site-packages/gtk-2.0',&lt;br /&gt;
&amp;nbsp;'/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode'&amp;#93;&lt;br /&gt;
&lt;br /&gt;
Server time&amp;#58; &amp;nbsp; &amp;nbsp;Mon, 17 Dec 2012 03&amp;#58;03&amp;#58;31 -0600&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
Line 7 of views.py is:&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp; return render_to_response&amp;#40;'inventory/index/html'&amp;#58; &amp;#123;'latest_item_list'&amp;#58; latest_item_list&amp;#125;&amp;#41;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
I have tried several alternatives within my limited Python knowledge, but have had no luck so far. &lt;br /&gt;
&lt;br /&gt;
What have I done wrong?&lt;br /&gt;
&lt;br /&gt;
Bent</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=109717#109717</comments>
                                        <author>bbagger</author>
                                        <pubDate>Mon Dec 17, 2012 9:13 am</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=109717#109717</guid>
                                      </item></channel></rss>