<?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-25T00:06:20Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Tim Valenta</name>
  <email>tonightslasts...@gmail.com</email>
  </author>
  <updated>2009-11-25T00:06:20Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/b0a35a2487cd283a?show_docid=b0a35a2487cd283a</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/b0a35a2487cd283a?show_docid=b0a35a2487cd283a"/>
  <title type="text">Re: Designing base template - how to include media properly?</title>
  <summary type="html" xml:space="preserve">
  Oops damn &#39;send&#39; button on the iPod. &lt;br&gt; &lt;p&gt;The media attribute is a python property which aggregates all widget &lt;br&gt; media. So everything is simplified to just using myform.media. &lt;br&gt; &lt;p&gt;Widgets are specified on form fields, if you want to change it from &lt;br&gt; the default widget. &lt;br&gt; &lt;p&gt;Sent from my iPod; pardon any typos and poor grammar!
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tim Valenta</name>
  <email>tonightslasts...@gmail.com</email>
  </author>
  <updated>2009-11-25T00:04:09Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/5c28bef31bae69cf?show_docid=5c28bef31bae69cf</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/5c28bef31bae69cf?show_docid=5c28bef31bae69cf"/>
  <title type="text">Re: Designing base template - how to include media properly?</title>
  <summary type="html" xml:space="preserve">
  The &#39;media&#39; attribute on forms are actually python proterties &lt;br&gt; &lt;p&gt;Sent from my iPod; pardon any typos and poor grammar!
  </summary>
  </entry>
  <entry>
  <author>
  <name>Todd Blanchard</name>
  <email>tblanch...@mac.com</email>
  </author>
  <updated>2009-11-25T00:02:52Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/d7a134a6b0d97ae8?show_docid=d7a134a6b0d97ae8</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/d7a134a6b0d97ae8?show_docid=d7a134a6b0d97ae8"/>
  <title type="text">Re: Designing base template - how to include media properly?</title>
  <summary type="html" xml:space="preserve">
  Thanks, I feel like I&#39;m making progress. &lt;br&gt; &lt;p&gt;Widgets define media too. I&#39;m really fuzzy about how widgets get loaded and how their media declarations get collected into the media object list. (I&#39;m using contrib.gis which has nifty map widgets and it &amp;quot;just works&amp;quot; in the admin but now I&#39;m building my own UI).
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tim Valenta</name>
  <email>tonightslasts...@gmail.com</email>
  </author>
  <updated>2009-11-24T23:52:30Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/3adac409804ccde6?show_docid=3adac409804ccde6</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/3adac409804ccde6?show_docid=3adac409804ccde6"/>
  <title type="text">Re: Designing base template - how to include media properly?</title>
  <summary type="html" xml:space="preserve">
  Sorry-- I got out of sync with the replies. &lt;br&gt; &lt;p&gt;How many pages do you have dozens of forms on? If ever, I find that &lt;br&gt; I&#39;ve got a single form on the page. If you&#39;re writing an app complex &lt;br&gt; enough to need such amazingly complicated nested forms.... should you &lt;br&gt; use the admin, and let it do all that for you?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Todd Blanchard</name>
  <email>tblanch...@mac.com</email>
  </author>
  <updated>2009-11-24T23:36:40Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/a0924fca8a4913a1?show_docid=a0924fca8a4913a1</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/a0924fca8a4913a1?show_docid=a0924fca8a4913a1"/>
  <title type="text">Re: Designing base template - how to include media properly?</title>
  <summary type="html" xml:space="preserve">
  No no no, I really really appreciate the help. &lt;br&gt; &lt;p&gt;But I&#39;m definitely beginning to feel like my app is 80% boilerplate.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tim Valenta</name>
  <email>tonightslasts...@gmail.com</email>
  </author>
  <updated>2009-11-24T23:35:12Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/8b0f152a8fb4fb3d?show_docid=8b0f152a8fb4fb3d</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/8b0f152a8fb4fb3d?show_docid=8b0f152a8fb4fb3d"/>
  <title type="text">Re: Designing base template - how to include media properly?</title>
  <summary type="html" xml:space="preserve">
  PS -- I hope I don&#39;t sound like I&#39;m insulting your intelligence--- I&#39;m &lt;br&gt; not. I&#39;ve often felt like there aren&#39;t enough policies in Django, &lt;br&gt; myself. But pick your battles. This is an easy one. I prefer Django &lt;br&gt; over Rails, when it comes down to it. Feel fortunate that Django has &lt;br&gt; practically the best documentation on the planet. I hate more open
  </summary>
  </entry>
  <entry>
  <author>
  <name>Todd Blanchard</name>
  <email>tblanch...@mac.com</email>
  </author>
  <updated>2009-11-24T23:33:50Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/afdd81017dee05f7?show_docid=afdd81017dee05f7</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/afdd81017dee05f7?show_docid=afdd81017dee05f7"/>
  <title type="text">Re: Designing base template - how to include media properly?</title>
  <summary type="html" xml:space="preserve">
  What is annoying is I have to repeat this incantation in every view function ever, yes?. If its got a form, I have to do this every time. &lt;br&gt; &lt;p&gt;I thought the idea was to write less code? Not the same code over and over again in every view. &lt;br&gt; &lt;p&gt;Or am I missing something. Seems like I am getting very much NON-DRY here.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tim Valenta</name>
  <email>tonightslasts...@gmail.com</email>
  </author>
  <updated>2009-11-24T23:28:58Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/62e5092c87a2099d?show_docid=62e5092c87a2099d</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/62e5092c87a2099d?show_docid=62e5092c87a2099d"/>
  <title type="text">Re: Designing base template - how to include media properly?</title>
  <summary type="html" xml:space="preserve">
  Sorry it&#39;s not working out for you, but I&#39;d disagree about the &lt;br&gt; comparison to X-Windows :) I&#39;d be defending Django, and not X- &lt;br&gt; windows, when I say that. &lt;br&gt; &lt;p&gt;I&#39;m serious. Just add them together. I&#39;m not sure you&#39;re &lt;br&gt; appreciating the slick objects that have been crafted for this very &lt;br&gt; purpose. &lt;br&gt; &lt;p&gt;Your view:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Russell Keith-Magee</name>
  <email>freakboy3...@gmail.com</email>
  </author>
  <updated>2009-11-24T23:28:25Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/ec904b22a475b7a5/9e20fccddc6c0214?show_docid=9e20fccddc6c0214</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/ec904b22a475b7a5/9e20fccddc6c0214?show_docid=9e20fccddc6c0214"/>
  <title type="text">Re: Per-object permissions</title>
  <summary type="html" xml:space="preserve">
  To be clear - that ticket *doesnt&#39;* implement row-level permissions; &lt;br&gt; it modifies the calls for permission checks to allow you to build a &lt;br&gt; row-level permissions checker external to Django. &lt;br&gt; &lt;p&gt;Yours, &lt;br&gt; Russ Magee %-)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Todd Blanchard</name>
  <email>tblanch...@mac.com</email>
  </author>
  <updated>2009-11-24T23:13:04Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/c2f0b654452aba8c?show_docid=c2f0b654452aba8c</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/c2f0b654452aba8c?show_docid=c2f0b654452aba8c"/>
  <title type="text">Re: Designing base template - how to include media properly?</title>
  <summary type="html" xml:space="preserve">
  You know what, this is absolutely too much BS. Why would one bother to use the media declaration stuff at all if there is no mechanism to properly consume it (a built in template tag for instance). &lt;br&gt; &lt;p&gt;I think I will just hardcode them in the head in the base template. They seldom change and browser caching being what it is having them never change is just fine.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tomasz Zieliński</name>
  <email>tomasz.zielin...@pyconsultant.eu</email>
  </author>
  <updated>2009-11-24T23:12:36Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/029490d86e528261/fb04bf5c67d69bee?show_docid=fb04bf5c67d69bee</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/029490d86e528261/fb04bf5c67d69bee?show_docid=fb04bf5c67d69bee"/>
  <title type="text">Re: How to unregister model?</title>
  <summary type="html" xml:space="preserve">
  That patch is a hack that requires modifying live instance of Django, &lt;br&gt; moreover I don&#39;t know what is influenced by it as I&#39;m not that &lt;br&gt; familiar &lt;br&gt; with inner workings of model layer, so using it would be troublesome &lt;br&gt; for me. &lt;br&gt; &lt;p&gt;So it seems that I have to write custom delete()s, using raw SQL.. &lt;br&gt; &lt;p&gt;-- &lt;br&gt; Tomasz Zielinski
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tim Valenta</name>
  <email>tonightslasts...@gmail.com</email>
  </author>
  <updated>2009-11-24T22:25:17Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/62c3cc622a9a2279/e29be02c607af203?show_docid=e29be02c607af203</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/62c3cc622a9a2279/e29be02c607af203?show_docid=e29be02c607af203"/>
  <title type="text">Re: Module ho.pis can not be found when running on apache</title>
  <summary type="html" xml:space="preserve">
  I was caught by surprise when I moved my stuff to a production server, &lt;br&gt; too. The live pythonpath is clearly different than you&#39;re expecting, &lt;br&gt; which I&#39;m sure you know already. &lt;br&gt; &lt;p&gt;My ultimate problem was that I was taking advantage of the fact that &lt;br&gt; Django&#39;s development server puts your project on the pythonpath
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tim Valenta</name>
  <email>tonightslasts...@gmail.com</email>
  </author>
  <updated>2009-11-24T22:13:12Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/029490d86e528261/4aaaf364e2af1e0e?show_docid=4aaaf364e2af1e0e</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/029490d86e528261/4aaaf364e2af1e0e?show_docid=4aaaf364e2af1e0e"/>
  <title type="text">Re: How to unregister model?</title>
  <summary type="html" xml:space="preserve">
  Seeing as how it was last updated over a month ago, you might be best &lt;br&gt; off by downloading his patch and applying it, because there may not be &lt;br&gt; a solution very quickly. Development for version 1.2 is going on &lt;br&gt; right now, and they&#39;re focusing on brand-new features at the moment. &lt;br&gt; Bug fixes and such tweaks (which I think this will be categorized as)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tim Valenta</name>
  <email>tonightslasts...@gmail.com</email>
  </author>
  <updated>2009-11-24T22:05:11Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/a48af2c10b71ca24?show_docid=a48af2c10b71ca24</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/a4733626b084150f/a48af2c10b71ca24?show_docid=a48af2c10b71ca24"/>
  <title type="text">Re: Designing base template - how to include media properly?</title>
  <summary type="html" xml:space="preserve">
  The idea is along the lines of what you initially guessed. &lt;br&gt; &lt;p&gt;The admin accomplishes the non-duplicate effect in django/django/ &lt;br&gt; contrib/admin/options.py, starting at line 770. It loops over the &lt;br&gt; forms and combines the existing media with the media on each form &lt;br&gt; object. It ends up using a series of objects to do it, including a
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tomasz Zieliński</name>
  <email>tomasz.zielin...@pyconsultant.eu</email>
  </author>
  <updated>2009-11-24T22:02:58Z</updated>
  <id>http://groups.google.com/group/django-users/browse_frm/thread/029490d86e528261/9922481ed7facbb2?show_docid=9922481ed7facbb2</id>
  <link href="http://groups.google.com/group/django-users/browse_frm/thread/029490d86e528261/9922481ed7facbb2?show_docid=9922481ed7facbb2"/>
  <title type="text">Re: How to unregister model?</title>
  <summary type="html" xml:space="preserve">
  I&#39;m suffering from something similar to this: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://code.djangoproject.com/ticket/10829&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;- and I prefer to avoid hacking Django core, resorting to raw SQL etc. &lt;br&gt; I only I could hide those unmanaged models, things would be smooth &lt;br&gt; again, &lt;br&gt; even though it&#39;s not the cleanest solution. &lt;br&gt; &lt;p&gt;-- &lt;br&gt; Tomasz Zielinski
  </summary>
  </entry>
</feed>
