<?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/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-23T06:23:07Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Christophe Pettus</name>
  <email>x...@thebuild.com</email>
  </author>
  <updated>2009-11-23T06:23:07Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/20d35b53ca31a42e/bbc9920b1e7af3cc?show_docid=bbc9920b1e7af3cc</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/20d35b53ca31a42e/bbc9920b1e7af3cc?show_docid=bbc9920b1e7af3cc"/>
  <title type="text">Re: Application scope variable</title>
  <summary type="html" xml:space="preserve">
  Django applications do not really &amp;quot;start&amp;quot; or &amp;quot;stop&amp;quot;; they&#39;re a &lt;br&gt; collection of page handlers invoked when a request comes in, and (most &lt;br&gt; likely) do not have shared memory between requests and between &lt;br&gt; parallel requests being processed. &lt;br&gt; &lt;p&gt;For information which persists between and across requests, storing it
  </summary>
  </entry>
  <entry>
  <author>
  <name>Trev</name>
  <email>trevelyan1...@gmail.com</email>
  </author>
  <updated>2009-11-23T06:20:01Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/a392d9c217517bc5/917e9750b88cf47c?show_docid=917e9750b88cf47c</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/a392d9c217517bc5/917e9750b88cf47c?show_docid=917e9750b88cf47c"/>
  <title type="text">Re: OneToOne across apps</title>
  <summary type="html" xml:space="preserve">
  Thanks Javier. &lt;br&gt; &lt;p&gt;It seems that I was perhaps thinking about it the wrong way. I &lt;br&gt; believe I understand what you mean - the REFERENCE just keeps the &lt;br&gt; table in order, it doesn&#39;t provide any performance boost. The speed &lt;br&gt; boost comes from the indexes that are created, which Django &lt;br&gt; automatically sets up.
  </summary>
  </entry>
  <entry>
  <author>
  <name>aurphir</name>
  <email>ranavis...@gmail.com</email>
  </author>
  <updated>2009-11-23T05:58:24Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/20d35b53ca31a42e/79a16b0864b318e7?show_docid=79a16b0864b318e7</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/20d35b53ca31a42e/79a16b0864b318e7?show_docid=79a16b0864b318e7"/>
  <title type="text">Application scope variable</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; &lt;p&gt;How can I have an application scope variable which should be loaded &lt;br&gt; everytime the app starts app, be in memory and accessible by all until &lt;br&gt; the app stops. &lt;br&gt; &lt;p&gt;Thanks &lt;br&gt; Vishal
  </summary>
  </entry>
  <entry>
  <author>
  <name>jorge</name>
  <email>jorgewilsonmach...@gmail.com</email>
  </author>
  <updated>2009-11-21T18:53:46Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/a051c86cb840a953/0921fbc5778699d7?show_docid=0921fbc5778699d7</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/a051c86cb840a953/0921fbc5778699d7?show_docid=0921fbc5778699d7"/>
  <title type="text">Problem with ModelForm</title>
  <summary type="html" xml:space="preserve">
  hi i have a problem when i try to render my form without information . &lt;br&gt; so my code is : &lt;br&gt; &lt;p&gt; models.py &lt;br&gt; &lt;p&gt;class Obra(models.Model): &lt;br&gt; &lt;p&gt;	cod_obra= models.CharField(&amp;quot;código da &lt;br&gt; obra&amp;quot;,max_length=15,primary_ke y=True) &lt;br&gt; nome_da_empreitada= models.CharField(max_length=10 0) &lt;br&gt; data_de_incio = models.DateField(&amp;quot;data de início&amp;quot;)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Radhikavk</name>
  <email>radhi3...@gmail.com</email>
  </author>
  <updated>2009-11-23T05:32:00Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/81128e2d86987a1a/857e7904245c4e98?show_docid=857e7904245c4e98</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/81128e2d86987a1a/857e7904245c4e98?show_docid=857e7904245c4e98"/>
  <title type="text">How to customize admin site to upload multiple images</title>
  <summary type="html" xml:space="preserve">
  hi, &lt;br&gt; &lt;p&gt;model &lt;br&gt; &lt;p&gt;class room_type(models.Model): &lt;br&gt; room_type_id = models.AutoField(primary_key=T rue,null=False,blank=False) &lt;br&gt; room_type_name = &lt;br&gt; models.CharField(max_length=10 0,unique=True,null=False,blank =False) &lt;br&gt; room_type_desc = models.TextField(null=True) &lt;br&gt; standard_occupancy = models.IntegerField()
  </summary>
  </entry>
  <entry>
  <author>
  <name>Rama Vadakattu</name>
  <email>rama.vadaka...@gmail.com</email>
  </author>
  <updated>2009-11-23T05:22:51Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/329fa3c93493ad4d/5a88782b328bce5c?show_docid=5a88782b328bce5c</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/329fa3c93493ad4d/5a88782b328bce5c?show_docid=5a88782b328bce5c"/>
  <title type="text">Re: time date formatting</title>
  <summary type="html" xml:space="preserve">
  Why the above will not work?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Javier Guerra</name>
  <email>jav...@guerrag.com</email>
  </author>
  <updated>2009-11-23T05:07:29Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/a392d9c217517bc5/76d551a6bebfde6c?show_docid=76d551a6bebfde6c</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/a392d9c217517bc5/76d551a6bebfde6c?show_docid=76d551a6bebfde6c"/>
  <title type="text">Re: OneToOne across apps</title>
  <summary type="html" xml:space="preserve">
  Trev wrote: &lt;br&gt; &lt;p&gt;all SQL engines i know about either ignore the REFERENCES hint, or use it for defining constraints. the SQL &amp;quot;...WHERE t1.fk=t2.pk&amp;quot; clause is enough to optimally use any index that could help. when Django creates the tables, it makes sure to add any index that would help on the usual JOINs
  </summary>
  </entry>
  <entry>
  <author>
  <name>matches</name>
  <email>ianseab...@gmail.com</email>
  </author>
  <updated>2009-11-20T22:36:55Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/329fa3c93493ad4d/b223193656381d6a?show_docid=b223193656381d6a</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/329fa3c93493ad4d/b223193656381d6a?show_docid=b223193656381d6a"/>
  <title type="text">time date formatting</title>
  <summary type="html" xml:space="preserve">
  If I want to format the current datetime for an rss feed, I do: &lt;br&gt; &lt;p&gt;{% now &amp;quot;r&amp;quot; %} &lt;br&gt; &lt;p&gt;I want to format a date the same way coming from a DB in this format &lt;br&gt; &amp;quot;2009-11-18 08:00:00&amp;quot; &lt;br&gt; &lt;p&gt;Is there a way to format it with that same &amp;quot;r&amp;quot; format from a template &lt;br&gt; level? &lt;br&gt; &lt;p&gt;This clearly does not work ;) &lt;br&gt; &lt;p&gt;{{ pick.date &amp;quot;r&amp;quot; }}
  </summary>
  </entry>
  <entry>
  <author>
  <name>Preston Holmes</name>
  <email>pres...@ptone.com</email>
  </author>
  <updated>2009-11-23T04:53:05Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/39bc43d95ad60fdc/95df552f40c4c72d?show_docid=95df552f40c4c72d</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/39bc43d95ad60fdc/95df552f40c4c72d?show_docid=95df552f40c4c72d"/>
  <title type="text">Re: Model inheritance - filtering base model only</title>
  <summary type="html" xml:space="preserve">
  Perhaps there is a more efficient way, but in my quick test, one can&#39;t &lt;br&gt; filter() a queryset based on __class__ of the model, but seems one can &lt;br&gt; manually filter it afterwords: &lt;br&gt; &lt;p&gt;qs = Player.objects.all() &lt;br&gt; for i,obj in enumerate(qs): &lt;br&gt; if obj.__class__ != Player: &lt;br&gt; del(qs[i])
  </summary>
  </entry>
  <entry>
  <author>
  <name>Preston Holmes</name>
  <email>pres...@ptone.com</email>
  </author>
  <updated>2009-11-23T04:29:05Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/75fa1039dedac86d/b888109fbf231c49?show_docid=b888109fbf231c49</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/75fa1039dedac86d/b888109fbf231c49?show_docid=b888109fbf231c49"/>
  <title type="text">Re: Question on how to update an existing record when using ModelForm</title>
  <summary type="html" xml:space="preserve">
  You want to use the instance argument to the ModelForm constructor: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://docs.djangoproject.com/en/1.1/topics/forms/modelforms/#the-save-method&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;-Preston
  </summary>
  </entry>
  <entry>
  <author>
  <name>Trev</name>
  <email>trevelyan1...@gmail.com</email>
  </author>
  <updated>2009-11-20T04:28:00Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/a392d9c217517bc5/ca2db1bf2abae68d?show_docid=ca2db1bf2abae68d</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/a392d9c217517bc5/ca2db1bf2abae68d?show_docid=ca2db1bf2abae68d"/>
  <title type="text">OneToOne across apps</title>
  <summary type="html" xml:space="preserve">
  Hi there, &lt;br&gt; &lt;p&gt;I am new to Django and SQL, and I&#39;m putting together my first Django &lt;br&gt; project. My project will contain multiple apps, and one app has a &lt;br&gt; model that I&#39;d like to &amp;quot;One To One&amp;quot; extend with a table in a different &lt;br&gt; app. However, it&#39;s not behaving how I&#39;d expect, and I can&#39;t seem to &lt;br&gt; find any info addressing my question.
  </summary>
  </entry>
  <entry>
  <author>
  <name>pamad</name>
  <email>pama...@gmail.com</email>
  </author>
  <updated>2009-11-22T14:16:06Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/b1db447c18f62dc9/a621d7250a487073?show_docid=a621d7250a487073</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/b1db447c18f62dc9/a621d7250a487073?show_docid=a621d7250a487073"/>
  <title type="text">Trying to do hierarchical tagging using django-tagging-0.3</title>
  <summary type="html" xml:space="preserve">
  So, I&#39;m trying to extend the Tag-model in tagging.models the following &lt;br&gt; way: &lt;br&gt; &lt;p&gt;from django.db import models &lt;br&gt; from tagging.models import Tag &lt;br&gt; &lt;p&gt;class TagContext(models.Model): &lt;br&gt; context = models.ForeignKey( Tag, unique=True, &lt;br&gt; related_name=&#39;context&#39; ) &lt;br&gt; parent = models.ForeignKey( Tag, related_name=&#39;children_set&#39;)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Micah Vivion</name>
  <email>micahviv...@gmail.com</email>
  </author>
  <updated>2009-11-23T00:47:37Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/75fa1039dedac86d/e03640084ab376e8?show_docid=e03640084ab376e8</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/75fa1039dedac86d/e03640084ab376e8?show_docid=e03640084ab376e8"/>
  <title type="text">Question on how to update an existing record when using ModelForm</title>
  <summary type="html" xml:space="preserve">
  Greetings, &lt;br&gt; &lt;p&gt;I have a question on how to update an existing row in my database when one of the fields is my primary key. I am using ModelForm and Django-Piston - my main goal here is to have RESTful Post send to my webservice. I am able to have initial Posts be sent correctly (i.e. that Primary key value doesn&#39;t exist yet). The problem is when I want to update a value where the Primary key already exists - f.is_valid() it fails because &amp;quot;this UniqueIdentifier already exists&amp;quot;. How can I do form validation using ModelForms to update an existing row?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sid</name>
  <email>sidmitra....@gmail.com</email>
  </author>
  <updated>2009-11-23T00:41:42Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/7c818f7ae95c5901/c67894201e310fcb?show_docid=c67894201e310fcb</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/7c818f7ae95c5901/c67894201e310fcb?show_docid=c67894201e310fcb"/>
  <title type="text">Re: Django web flow</title>
  <summary type="html" xml:space="preserve">
  &amp;quot;The Spring Web MVC framework offers a slightly higher level of &lt;br&gt; functionality: form controllers that implement a predefined work flow. &lt;br&gt; &amp;quot; &lt;br&gt; Source: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.ervacon.com/products/swf/intro/index.html&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>lfrodrigues</name>
  <email>lfrodrig...@gmail.com</email>
  </author>
  <updated>2009-11-23T00:32:26Z</updated>
  <id>http://groups.google.com/group/django-users/browse_thread/thread/39bc43d95ad60fdc/611b53b74df0fa4c?show_docid=611b53b74df0fa4c</id>
  <link href="http://groups.google.com/group/django-users/browse_thread/thread/39bc43d95ad60fdc/611b53b74df0fa4c?show_docid=611b53b74df0fa4c"/>
  <title type="text">Model inheritance - filtering base model only</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; &lt;p&gt;I have these models: &lt;br&gt; &lt;p&gt;class Player(models.Model): &lt;br&gt; ..... &lt;br&gt; &lt;p&gt;class PlayerM(Player): &lt;br&gt; ... &lt;br&gt; &lt;p&gt;If I do PlayerM.objects.all() e get all PlayerM objects and for &lt;br&gt; Player.objects.all() I get all Player and PlayerM as expected. &lt;br&gt; &lt;p&gt;How can get only the objects of type Player (only retrieve the objects
  </summary>
  </entry>
</feed>
