<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>Django users Google Group</title>
  <link>http://groups.google.com.au/group/django-users</link>
  <description>Discussion group for Django users. Django is a high-level Python Web framework (djangoproject.com).</description>
  <language>en</language>
  <item>
  <title>Re: Django tag cloud</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/dcc023681074422f/8ba922dd1b6ecda1?show_docid=8ba922dd1b6ecda1</link>
  <description>
  I used this approach, was explained on &amp;quot;Learning website development with &lt;br&gt; Django book&amp;quot;, give a look there: &lt;br&gt; * &lt;br&gt; * &lt;br&gt; * &lt;br&gt; * &lt;br&gt; *style.css *file: &lt;br&gt; * &lt;br&gt; * &lt;br&gt; .tag-cloud-0 { font-size: 100%; } &lt;br&gt; .tag-cloud-1 { font-size: 120%; } &lt;br&gt; .tag-cloud-2 { font-size: 140%; } &lt;br&gt; .tag-cloud-3 { font-size: 160%; } &lt;br&gt; .tag-cloud-4 { font-size: 180%; }
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/dcc023681074422f/8ba922dd1b6ecda1?show_docid=8ba922dd1b6ecda1</guid>
  <author>
  carlosricardosan...@gmail.com
  (Carlos Ricardo Santos)
  </author>
  <pubDate>Sat, 21 Nov 2009 15:09:47 UT
</pubDate>
  </item>
  <item>
  <title>Re: MemoryError when adding a lot of data</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/16aae07235027573?show_docid=16aae07235027573</link>
  <description>
  [snip] &lt;br&gt; &lt;p&gt;Is this a &amp;quot;better&amp;quot; way to flush a table, programmatically? &lt;br&gt; &lt;p&gt; from django.db import connection, transaction &lt;br&gt; models = [Person, User, ...] &lt;br&gt; cursor = connection.cursor() &lt;br&gt; flush_tables = [] &lt;br&gt; for model in models: &lt;br&gt; flush_tables.append(model._met a.db_table) &lt;br&gt; statements = connection.ops.sql_flush(no_st yle(),
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/16aae07235027573?show_docid=16aae07235027573</guid>
  <author>
  doug.bl...@gmail.com
  (Doug Blank)
  </author>
  <pubDate>Sat, 21 Nov 2009 14:20:32 UT
</pubDate>
  </item>
  <item>
  <title>Django tag cloud</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/dcc023681074422f/f401a913b5476424?show_docid=f401a913b5476424</link>
  <description>
  I have a model with with a variable number of objects. &lt;br&gt; &lt;p&gt;I want to make a tag cloud with font-size to be a proportion of &lt;br&gt; objects.count() (wich goes from 1 to 150 ). &lt;br&gt; &lt;p&gt;Obviously I can&#39;t use that number in font-size (150pt is too big) and &lt;br&gt; I have to make a proportion (150 -&amp;gt; 20pt, 1 -&amp;gt; 5pt, 50 ~&amp;gt;10pt and so
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/dcc023681074422f/f401a913b5476424?show_docid=f401a913b5476424</guid>
  <author>
  alessandro.ron...@soasi.com
  (Alessandro Ronchi)
  </author>
  <pubDate>Sat, 21 Nov 2009 13:46:45 UT
</pubDate>
  </item>
  <item>
  <title>Re: Template variables and tags confusion... (regarding concatenation)</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/3eefc3d2350e9048?show_docid=3eefc3d2350e9048</link>
  <description>
  Exactly. Thanks.
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/3eefc3d2350e9048?show_docid=3eefc3d2350e9048</guid>
  <author>
  moran.cors...@gmail.com
  (chefsmart)
  </author>
  <pubDate>Sat, 21 Nov 2009 13:19:34 UT
</pubDate>
  </item>
  <item>
  <title>Re: MemoryError when adding a lot of data</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/3342f3e8d3032e16?show_docid=3342f3e8d3032e16</link>
  <description>
  I did have DEBUG = False in settings.py, but I also confirmed that it &lt;br&gt; was the connections that were growing. On further inspection, I found &lt;br&gt; I had this tucked away in my non-browser, reloadable Python code: &lt;br&gt; &lt;p&gt;from django.conf import settings &lt;br&gt; import web.settings as default_settings &lt;br&gt; try: &lt;br&gt; settings.configure(default_set tings, DEBUG=True)
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/3342f3e8d3032e16?show_docid=3342f3e8d3032e16</guid>
  <author>
  doug.bl...@gmail.com
  (Doug Blank)
  </author>
  <pubDate>Sat, 21 Nov 2009 12:44:07 UT
</pubDate>
  </item>
  <item>
  <title>Re: Template variables and tags confusion... (regarding concatenation)</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/4b7cd2456f9142ee?show_docid=4b7cd2456f9142ee</link>
  <description>
  sounds like you want something like &lt;br&gt; &lt;p&gt; &amp;lt;tr {% cycle &amp;quot;class=&#39;odd&#39;&amp;quot; &amp;quot;&amp;quot; %} &lt;br&gt; id=&amp;quot;item_{{ product.id }}&amp;quot;&amp;gt; &lt;br&gt; &lt;p&gt;-tim
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/4b7cd2456f9142ee?show_docid=4b7cd2456f9142ee</guid>
  <author>
  django.us...@tim.thechases.com
  (Tim Chase)
  </author>
  <pubDate>Sat, 21 Nov 2009 11:45:49 UT
</pubDate>
  </item>
  <item>
  <title>Template variables and tags confusion... (regarding concatenation)</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/e611f29f00248822?show_docid=e611f29f00248822</link>
  <description>
  Hi, &lt;br&gt; &lt;p&gt;When I do &amp;lt;tr id=&amp;quot;item_{{ product.id }}&amp;quot;&amp;gt; in a template I get &amp;lt;tr &lt;br&gt; id=&amp;quot;item_1&amp;quot;&amp;gt; in the rendered html as expected. &lt;br&gt; &lt;p&gt;Now I want to do {% cycle &#39;&amp;lt;tr id=&amp;quot;item_{{ product.id }}&amp;quot;&amp;gt;&#39; &#39;&amp;lt;tr &lt;br&gt; class=&amp;quot;odd&amp;quot; id=&amp;quot;item_{{ product.id }}&amp;quot;&amp;gt;&#39; %}, but the desired &lt;br&gt; concatenation does not happen. &lt;br&gt; &lt;p&gt;How do I achieve what I want?
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/e611f29f00248822?show_docid=e611f29f00248822</guid>
  <author>
  moran.cors...@gmail.com
  (chefsmart)
  </author>
  <pubDate>Sat, 21 Nov 2009 10:04:39 UT
</pubDate>
  </item>
  <item>
  <title>Re: Internal server error 500 with mod_wsgi</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/2e0402cca7847624/55e47ab969ff4e07?show_docid=55e47ab969ff4e07</link>
  <description>
  I thought the same thing, but this is my python path as django error &lt;br&gt; trackback: &lt;br&gt; &lt;p&gt;[&#39;/var/www/vhosts/hobbygiochi. com/django/projects/&#39;, &#39;/var/www/vhosts/ &lt;br&gt; hobbygiochi.com/django/django_ src/&#39;, &#39;/var/www/vhosts/ &lt;br&gt; hobbygiochi.com/django/satchmo _src/&#39;, &#39;/var/www/vhosts/ &lt;br&gt; hobbygiochi.com/django/librari es/&#39;,
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/2e0402cca7847624/55e47ab969ff4e07?show_docid=55e47ab969ff4e07</guid>
  <author>
  alessandro.ron...@soasi.com
  (Alessandro Ronchi)
  </author>
  <pubDate>Sat, 21 Nov 2009 09:34:07 UT
</pubDate>
  </item>
  <item>
  <title>Form that handles variable number of inputs.</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/6f8976c2a81b7f54/2b1cedf366d68513?show_docid=2b1cedf366d68513</link>
  <description>
  Hi all, &lt;br&gt; &lt;p&gt;How would I get a Form to handle a variable number of inputs (these &lt;br&gt; inputs are added via javascript)? Is this possible in Django? Thanks! &lt;br&gt; &lt;p&gt;Abhik
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/6f8976c2a81b7f54/2b1cedf366d68513?show_docid=2b1cedf366d68513</guid>
  <author>
  abh...@gmail.com
  (apramanik)
  </author>
  <pubDate>Sat, 21 Nov 2009 07:05:43 UT
</pubDate>
  </item>
  <item>
  <title>Re: MemoryError when adding a lot of data</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/b9333b9df1aba055?show_docid=b9333b9df1aba055</link>
  <description>
  Are you running this script with settings that have DEBUG set to True? &lt;br&gt; &lt;p&gt;See: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://docs.djangoproject.com/en/dev/faq/models/#why-is-django-leaking-memory&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;Karen
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/b9333b9df1aba055?show_docid=b9333b9df1aba055</guid>
  <author>
  kmtra...@gmail.com
  (Karen Tracey)
  </author>
  <pubDate>Sat, 21 Nov 2009 03:22:32 UT
</pubDate>
  </item>
  <item>
  <title>Re: Complex Query Question</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/7aa6c3307d6c3ca0/031edfa57267b087?show_docid=031edfa57267b087</link>
  <description>
  first of all, it might be easier if you follow the database convention of naming your tables in singular. in this case, your events model should be called &#39;Event&#39; and not &#39;Events&#39;. that makes it more readable when you use singular in ForeignKey fields and plural in ManyToManyField&#39;s &lt;br&gt; &lt;p&gt;in your case, the general strategy is to use Q() objects. the idea is to define each possibility separately and then join them all with the &#39;|&#39; operator. something like this (untested):
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/7aa6c3307d6c3ca0/031edfa57267b087?show_docid=031edfa57267b087</guid>
  <author>
  jav...@guerrag.com
  (Javier Guerra)
  </author>
  <pubDate>Sat, 21 Nov 2009 03:21:33 UT
</pubDate>
  </item>
  <item>
  <title>Re: MemoryError when adding a lot of data</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/8d8b0094b8db6133?show_docid=8d8b0094b8db6133</link>
  <description>
  Some additional data: &lt;br&gt; &lt;p&gt;I&#39;m using Django 1.1 on Fedora11 with sqlite backend. I get the same &lt;br&gt; kind of spiking of memory usage if I just enter: &lt;br&gt; &lt;p&gt;Memory usage continues to grow, and it doesn&#39;t seem to be able to be &lt;br&gt; garbage collected. What could cause this? Anything I can set or issue &lt;br&gt; to make Django clean up/use less memory? I am running out of memory,
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/8d8b0094b8db6133?show_docid=8d8b0094b8db6133</guid>
  <author>
  doug.bl...@gmail.com
  (Doug Blank)
  </author>
  <pubDate>Fri, 20 Nov 2009 23:19:08 UT
</pubDate>
  </item>
  <item>
  <title>Complex Query Question</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/7aa6c3307d6c3ca0/79ab8d1fef05e76c?show_docid=79ab8d1fef05e76c</link>
  <description>
  Hi all, &lt;br&gt; &lt;p&gt;I have a question about a complicated query I need to do. I have a model for &lt;br&gt; an event like this: &lt;br&gt; &lt;p&gt;class Events(models.Model): &lt;br&gt; default_group = models.ForeignKey(Group, related_name=&#39;default_group&#39;, &lt;br&gt; null=True) &lt;br&gt; group = models.ManyToManyField(Group) &lt;br&gt; users = models.ManyToManyField(User)
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/7aa6c3307d6c3ca0/79ab8d1fef05e76c?show_docid=79ab8d1fef05e76c</guid>
  <author>
  lovefaithsw...@gmail.com
  (mystand)
  </author>
  <pubDate>Fri, 20 Nov 2009 23:03:22 UT
</pubDate>
  </item>
  <item>
  <title>Re: viewing and adding comments while editing an object in the admin interface</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/cf243bb1847b14b0/3baeb7d3189ebed5?show_docid=3baeb7d3189ebed5</link>
  <description>
  It looks like overriding the change_form.html template for the Admin site &lt;br&gt; (described at &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://docs.djangoproject.com/en/dev/ref/contrib/admin/#adminsite-objects&quot;&gt;[link]&lt;/a&gt;) &lt;br&gt; to include the template tags for the comments may do the trick, but I &lt;br&gt; haven&#39;t yet had time to experiment with this approach ...
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/cf243bb1847b14b0/3baeb7d3189ebed5?show_docid=3baeb7d3189ebed5</guid>
  <author>
  anb...@gmail.com
  (Andrew Ball)
  </author>
  <pubDate>Fri, 20 Nov 2009 20:09:38 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to server static media secured by Django authentication</title>
  <link>http://groups.google.com.au/group/django-users/browse_thread/thread/82733a16b5ac01a8/0a5aea0baadfee22?show_docid=0a5aea0baadfee22</link>
  <description>
  I&#39;ve got a similar, but slightly more complex need... &lt;br&gt; &lt;p&gt;I need to serve some static files (pdfs etc.) to any authorized user, &lt;br&gt; other static files to members of group A (as in Django), and other &lt;br&gt; static files to members of group B. It would seem that I could &lt;br&gt; create some specific permission name for group A and another for
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/django-users/browse_thread/thread/82733a16b5ac01a8/0a5aea0baadfee22?show_docid=0a5aea0baadfee22</guid>
  <author>
  gt-dj060...@think.org
  (Glenn Tenney)
  </author>
  <pubDate>Fri, 20 Nov 2009 19:56:30 UT
</pubDate>
  </item>
  </channel>
</rss>
