<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com.au/group/django-users</id>
  <title type="text">Django users Google Group</title>
  <subtitle type="text">
  Discussion group for Django users. Django is a high-level Python Web framework (djangoproject.com).
  </subtitle>
  <link href="/group/django-users/feed/atom_v1_0_msgs.xml" rel="self" title="Django users feed"/>
  <updated>2009-11-21T15:09:47Z</updated>
  <generator uri="http://groups.google.com.au" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Carlos Ricardo Santos</name>
  <email>carlosricardosan...@gmail.com</email>
  </author>
  <updated>2009-11-21T15:09:47Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/dcc023681074422f/8ba922dd1b6ecda1?show_docid=8ba922dd1b6ecda1</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/dcc023681074422f/8ba922dd1b6ecda1?show_docid=8ba922dd1b6ecda1"/>
  <title type="text">Re: Django tag cloud</title>
  <summary type="html" xml:space="preserve">
  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%; }
  </summary>
  </entry>
  <entry>
  <author>
  <name>Doug Blank</name>
  <email>doug.bl...@gmail.com</email>
  </author>
  <updated>2009-11-21T14:20:32Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/16aae07235027573?show_docid=16aae07235027573</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/16aae07235027573?show_docid=16aae07235027573"/>
  <title type="text">Re: MemoryError when adding a lot of data</title>
  <summary type="html" xml:space="preserve">
  [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(),
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alessandro Ronchi</name>
  <email>alessandro.ron...@soasi.com</email>
  </author>
  <updated>2009-11-21T13:46:45Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/dcc023681074422f/f401a913b5476424?show_docid=f401a913b5476424</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/dcc023681074422f/f401a913b5476424?show_docid=f401a913b5476424"/>
  <title type="text">Django tag cloud</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>chefsmart</name>
  <email>moran.cors...@gmail.com</email>
  </author>
  <updated>2009-11-21T13:19:34Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/3eefc3d2350e9048?show_docid=3eefc3d2350e9048</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/3eefc3d2350e9048?show_docid=3eefc3d2350e9048"/>
  <title type="text">Re: Template variables and tags confusion... (regarding concatenation)</title>
  <summary type="html" xml:space="preserve">
  Exactly. Thanks.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Doug Blank</name>
  <email>doug.bl...@gmail.com</email>
  </author>
  <updated>2009-11-21T12:44:07Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/3342f3e8d3032e16?show_docid=3342f3e8d3032e16</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/3342f3e8d3032e16?show_docid=3342f3e8d3032e16"/>
  <title type="text">Re: MemoryError when adding a lot of data</title>
  <summary type="html" xml:space="preserve">
  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)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tim Chase</name>
  <email>django.us...@tim.thechases.com</email>
  </author>
  <updated>2009-11-21T11:45:49Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/4b7cd2456f9142ee?show_docid=4b7cd2456f9142ee</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/4b7cd2456f9142ee?show_docid=4b7cd2456f9142ee"/>
  <title type="text">Re: Template variables and tags confusion... (regarding concatenation)</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>chefsmart</name>
  <email>moran.cors...@gmail.com</email>
  </author>
  <updated>2009-11-21T10:04:39Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/e611f29f00248822?show_docid=e611f29f00248822</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/bc9ea628c6f76291/e611f29f00248822?show_docid=e611f29f00248822"/>
  <title type="text">Template variables and tags confusion... (regarding concatenation)</title>
  <summary type="html" xml:space="preserve">
  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?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alessandro Ronchi</name>
  <email>alessandro.ron...@soasi.com</email>
  </author>
  <updated>2009-11-21T09:34:07Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/2e0402cca7847624/55e47ab969ff4e07?show_docid=55e47ab969ff4e07</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/2e0402cca7847624/55e47ab969ff4e07?show_docid=55e47ab969ff4e07"/>
  <title type="text">Re: Internal server error 500 with mod_wsgi</title>
  <summary type="html" xml:space="preserve">
  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;,
  </summary>
  </entry>
  <entry>
  <author>
  <name>apramanik</name>
  <email>abh...@gmail.com</email>
  </author>
  <updated>2009-11-21T07:05:43Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/6f8976c2a81b7f54/2b1cedf366d68513?show_docid=2b1cedf366d68513</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/6f8976c2a81b7f54/2b1cedf366d68513?show_docid=2b1cedf366d68513"/>
  <title type="text">Form that handles variable number of inputs.</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Karen Tracey</name>
  <email>kmtra...@gmail.com</email>
  </author>
  <updated>2009-11-21T03:22:32Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/b9333b9df1aba055?show_docid=b9333b9df1aba055</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/b9333b9df1aba055?show_docid=b9333b9df1aba055"/>
  <title type="text">Re: MemoryError when adding a lot of data</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Javier Guerra</name>
  <email>jav...@guerrag.com</email>
  </author>
  <updated>2009-11-21T03:21:33Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/7aa6c3307d6c3ca0/031edfa57267b087?show_docid=031edfa57267b087</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/7aa6c3307d6c3ca0/031edfa57267b087?show_docid=031edfa57267b087"/>
  <title type="text">Re: Complex Query Question</title>
  <summary type="html" xml:space="preserve">
  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):
  </summary>
  </entry>
  <entry>
  <author>
  <name>Doug Blank</name>
  <email>doug.bl...@gmail.com</email>
  </author>
  <updated>2009-11-20T23:19:08Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/8d8b0094b8db6133?show_docid=8d8b0094b8db6133</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/a884e93cda61e097/8d8b0094b8db6133?show_docid=8d8b0094b8db6133"/>
  <title type="text">Re: MemoryError when adding a lot of data</title>
  <summary type="html" xml:space="preserve">
  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,
  </summary>
  </entry>
  <entry>
  <author>
  <name>mystand</name>
  <email>lovefaithsw...@gmail.com</email>
  </author>
  <updated>2009-11-20T23:03:22Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/7aa6c3307d6c3ca0/79ab8d1fef05e76c?show_docid=79ab8d1fef05e76c</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/7aa6c3307d6c3ca0/79ab8d1fef05e76c?show_docid=79ab8d1fef05e76c"/>
  <title type="text">Complex Query Question</title>
  <summary type="html" xml:space="preserve">
  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)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Andrew Ball</name>
  <email>anb...@gmail.com</email>
  </author>
  <updated>2009-11-20T20:09:38Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/cf243bb1847b14b0/3baeb7d3189ebed5?show_docid=3baeb7d3189ebed5</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/cf243bb1847b14b0/3baeb7d3189ebed5?show_docid=3baeb7d3189ebed5"/>
  <title type="text">Re: viewing and adding comments while editing an object in the admin interface</title>
  <summary type="html" xml:space="preserve">
  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 ...
  </summary>
  </entry>
  <entry>
  <author>
  <name>Glenn Tenney</name>
  <email>gt-dj060...@think.org</email>
  </author>
  <updated>2009-11-20T19:56:30Z</updated>
  <id>http://groups.google.com.au/group/django-users/browse_thread/thread/82733a16b5ac01a8/0a5aea0baadfee22?show_docid=0a5aea0baadfee22</id>
  <link href="http://groups.google.com.au/group/django-users/browse_thread/thread/82733a16b5ac01a8/0a5aea0baadfee22?show_docid=0a5aea0baadfee22"/>
  <title type="text">Re: How to server static media secured by Django authentication</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
</feed>
