<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.python.django.user">
    <title>gmane.comp.python.django.user</title>
    <link>http://blog.gmane.org/gmane.comp.python.django.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154560"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154554"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154552"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154551"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154545"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154544"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154541"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154539"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154538"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154536"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154533"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154531"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154530"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154523"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154522"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154519"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154517"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154514"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154509"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.django.user/154508"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154560">
    <title>Installing/implementing a Python-based API on my website</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154560</link>
    <description>&lt;pre&gt;Hi,

I recently completed the Capitol Words API course at codecademy.com and I 
have experience building websites in HTML + CSS, but I have never installed 
an API before.  I can manipulate the Python code on its own, but I don't 
understand the steps between having the Python code in order and actually 
implementing it on a site.  I can't seem to find any helpful tutorials. 
 Everything I find seems to assume that the user knows how to complete this 
final step.  Does this have to be done via Django?  Can anyone point me to 
a tutorial?

Thanks in advance.

CND

&lt;/pre&gt;</description>
    <dc:creator>C. N. Desrosiers</dc:creator>
    <dc:date>2013-06-20T02:16:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154554">
    <title>Per-Request Query-set Cache</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154554</link>
    <description>&lt;pre&gt;I could have sworn I've already asked this question but didn't see it in my 
search results. Anyways,

I have a large set of calculations in my models. I'm trying to stick with 
the OOP style for future maintainers or whomever else has to work with the 
code. The problem is that I'm up to 100 queries on a single view. Many of 
these queries are duplicated. Others are very close to being duplicated 
except for the 'comparison key'. (e.g. where user = foo)

I'm hoping there is some sort of mechanism out there to easily cache these 
DB calls on a per-query basis. The calculations themselves are incredibly 
intensive (relatively speaking) but 100 queries per view can easily turn 
into a nightmare if this project becomes popular.

Is there any "out of the box" solutions to caching Query Sets within the 
scope of a single request? I am using a combination of class methods, 
instance methods, and in some places simple generic methods so I'm really 
pursuing a way to cache these at a lower level. These should only be cached 
for the duration of the request.

I've seen some 'hackish' options and of course there are the larger ORM 
caching libraries but I'd like to find a clean solution without a whole lot 
of overhead.

Thanks!
- Kurtis

&lt;/pre&gt;</description>
    <dc:creator>Kurtis</dc:creator>
    <dc:date>2013-06-19T23:33:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154552">
    <title>Calling ffmpeg doesn't work on apache server</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154552</link>
    <description>&lt;pre&gt;I'm trying to use ffmpeg to generate a thumbnail for a video.  It works
just fine when I call it from a python shell and when I test it in "python
manage.py shell".  However when I try to run from the apache server running
locally, I get an error:

# normally I call subprocess.call, but for debug here I'm calling check_call
response = subprocess.check_call(['ffmpeg', '-i', self.file.path],
stderr=fh)

# actual path taken out for brevity
Command '['ffmpeg', '-i', u'...']' returned non-zero exit status -6

I've verified that the video path is correct.

Any suggestions?

Thanks!
Chad

&lt;/pre&gt;</description>
    <dc:creator>Chad Vernon</dc:creator>
    <dc:date>2013-06-19T23:01:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154551">
    <title>Multiple modelforms, mixing existing and non existing instances</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154551</link>
    <description>&lt;pre&gt;Hi everyone,

I'm trying to get a particular formset, but i'm stuck on it.

In my database, I have some information stored around external data, 
represented by this kind of model :

LiveInfo(models.Model):
    external_id = models.IntegerField()
    live_url = models.URLField()
    description = models.TextField()

(I receive data from an external API, and I store the above information 
around it, external_id refers to the external element)
Not all external elements have local information associated, depending of 
the needs for a "live" or not.

What I need to do is, from a list of external ids, to construct a set of 
forms representing the data I may have around them.
For exemple, from the external ids [12, 20, 48, 50, 55, 58, ], I need to 
construct a set of forms for each element, filled with the local LiveInfo 
data if present, empty forms for the others.
The problem is that I need them in the exact order that I receive the ids. 
This means that my formset will alternate empty and filled forms.

On global save, of course, I update the already present LiveInfo, and 
create new ones for the others.

But I can't find any way to do this properly with formsets. Maybe it's 
simply not possible, and I have to construct my own set of individual 
forms, an manage my own global validation.

I don't know if I'm clear enough, hope so.

Any idea please ? :D

&lt;/pre&gt;</description>
    <dc:creator>Freddy</dc:creator>
    <dc:date>2013-06-19T20:38:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154545">
    <title>How to use lxml with django</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154545</link>
    <description>&lt;pre&gt;how generate xml or dme file django
I want the result be like this : 
    &amp;lt;abc:ISA95_Company rdf:ID="Alaaadnan"&amp;gt;
      &amp;lt;abc:ABC_IdentifiedObject.name&amp;gt;asfa Adnan 
Company&amp;lt;/abc:ABC_IdentifiedObject.name&amp;gt;
      &amp;lt;abc:ABC_UnnamedObject.alias&amp;gt;asfa Adnan&amp;lt;/abc:ABC_UnnamedObject.alias&amp;gt;
      &amp;lt;abc:ABC_UnnamedObject.description&amp;gt;Company Model for asfa 
Adnan&amp;lt;/abc:ABC_UnnamedObject.description&amp;gt;
      &amp;lt;abc:ABC_UnnamedObject.mrid&amp;gt;Alaaadnan&amp;lt;/abc:ABC_UnnamedObject.mrid&amp;gt;
      
&amp;lt;abc:ABC_OrganizationalEntity.TypeOfOrganizationalEntity&amp;gt;Company&amp;lt;/abc:ABC_OrganizationalEntity.TypeOfOrganizationalEntity&amp;gt;
    &amp;lt;/abc:ISA95_Company&amp;gt;

&lt;/pre&gt;</description>
    <dc:creator>cha</dc:creator>
    <dc:date>2013-06-19T20:09:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154544">
    <title>Script to move django 1.4.3 to 1.5.1</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154544</link>
    <description>&lt;pre&gt;Hi everyone

I just started learning django. Question arises in my mind to write a
script, by using that script i wanted to jump django version  1.5.1 without
effecting my previous settings or effecting my application which is
currently running on django 1.4.3. Is it possible to do that? If yes than
how? I have just little bit knowledge about script. Can anyone help me in
this process.?

Thanks
&lt;/pre&gt;</description>
    <dc:creator>Deepak Sharma</dc:creator>
    <dc:date>2013-06-19T19:17:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154541">
    <title>Cannot import mypackage with code in the __init__.py file</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154541</link>
    <description>&lt;pre&gt;I'm upgrading to django 1.5.1 on CentOs 6.4 with python 2.6.6  although I'm 
developing on a W7 with the django debug server.

I am getting executing my view.py and most of the modules it uses.  But in 
one scenario, the import fails, see directory outline below

NewMdsServer
   |___NewMdsServer
              |___settings.py
              |___wsgi.py 
              |___ ...
   |___app
            |___views.py
            |___mymodule.py
            |___mypackage
                       |___  __init__.py
                       |___  x.py
                       |___  y.py

I have code in the __init__.py which then imports x, y, etc

I cannot seem to import mypackage from views or other modules at the same 
level.  I've tried multiple variants as shown below and sys.path includes 
the directory above app.
from app import mypackage  -- "No module named mypackage"
import mypackage  -- "No module named ..
import app.mypackage -- ditto

The really strange thing is I could swear this was working last week  
before I got pulled off onto another project for a few days.  I'm the only 
one using this server and I have root access.  I've tried google, but 
cannot find a phrase that gives me anything useful.  I would really 
appreciate some advice on what I'm doing wrong.

Thanks,

Fred.

&lt;/pre&gt;</description>
    <dc:creator>fred</dc:creator>
    <dc:date>2013-06-19T18:51:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154539">
    <title>DjangoCon. US CFP extended</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154539</link>
    <description>&lt;pre&gt;Hi, all,

We're extending the CFP for DjangoCon US 2013 through 6/25, since there was a last-minute burst of activity.  We are still looking for talks and tutorials; first-time presenters particularly encouraged to participate!  The URL is:

http://www.djangocon.us/cfp/

(The site is being updated shortly, but if it still says 6/18, don't worry.)

Thanks,
--
&lt;/pre&gt;</description>
    <dc:creator>Christophe Pettus</dc:creator>
    <dc:date>2013-06-19T18:15:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154538">
    <title>Sending emails, models or views?</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154538</link>
    <description>&lt;pre&gt;Yep,
I'm more or less convinced that the logic needed for sending an email
should go into models. But what about the action (method call) of
sending the email? what layer should be responsible for triggering an
email notification? models or views? This is something I keep
wondering myself for a long time ...

for example, imagine we have a simple Ticket model with two methods,
update() and notify_owner()

class Ticket(models.Model):
    def update(self):
        self.updated_on = now()
        self.save()

    def notify_owner(self, msg):
        send_mail(self.owner, msg)


now we want to notify the owner each time a Ticket is updated, shall
we include a self.notify_owner('updated!') call on the update()
method, so we make sure of that? or maybe it is better to do this on
the view each time ticket.update() is called?

There are some pros and cons,
In the views we have access to the request object which some times is
handy because we need some request info to include on the mail.
Including the call into the model we make sure that each time we will
send an email notification and DRY is good, but is this behavior
correct? maybe we only want to notify under certain circumstances...

So anyone has thought about this? any rule of thumb? maybe it totally
depends on the use case? does this question even make sense? :)

Thanks for your answers!
&lt;/pre&gt;</description>
    <dc:creator>Marc Aymerich</dc:creator>
    <dc:date>2013-06-19T18:12:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154536">
    <title>captcha field django form designer, success html mail.</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154536</link>
    <description>&lt;pre&gt;Hi !,

I am working on django cms based website. Where I used django form 
designer( https://github.com/samluescher/django-form-designer)

Now I want to integrate djago-recaptcha with django form designer to add 
captch field in form.

In django-form-designer settings.py 

FIELD_CLASSES = getattr(settings, 'FORM_DESIGNER_FIELD_CLASSES', (
    ('django.forms.CharField', _('Text')),
    ('django.forms.EmailField', _('E-mail address')),
    ('django.forms.URLField', _('Web address')),
    ('django.forms.IntegerField', _('Number')),
    ('django.forms.DecimalField', _('Decimal number')),
    ('django.forms.BooleanField', _('Yes/No')),
    ('django.forms.DateField', _('Date')),
    ('django.forms.DateTimeField', _('Date &amp;amp; time')),
    ('django.forms.TimeField', _('Time')),
    ('django.forms.ChoiceField', _('Choice')),
    ('django.forms.MultipleChoiceField', _('Multiple Choice')),
    ('django.forms.ModelChoiceField', _('Model Choice')),
    ('django.forms.ModelMultipleChoiceField', _('Model Multiple Choice')),
    ('django.forms.RegexField', _('Regex')),
    ('django.forms.FileField', _('File')),
    # ('captcha.fields.CaptchaField', _('Captcha')),
))

Captcha field is commented, so I tried to override the settings in my project's settings. 
Then I get error "CaptchaField does not exist". What should I do ?

And another doubt is how to send html email after successful submission of form.

Any pointer or help would be great.

Thanks 

&lt;/pre&gt;</description>
    <dc:creator>pradnya</dc:creator>
    <dc:date>2013-06-19T17:31:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154533">
    <title>multi-object form, objects all of same class</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154533</link>
    <description>&lt;pre&gt;So I have been looking at different examples using multi-object forms where 
you bring in objects of different classes. I also looked at formsets but I 
don't think these fit what I want to do.


class Alarm(models.Model):
    location = models.ForeignKey(Location, related_name='alarms')
    owners = models.ManyToManyField(User, related_name='users')
    #active = models.NullBooleanField(default=True, blank=True, null=True)
    trigger = models.CharField(max_length=25, blank=False, null=True)
    critical_low = models.DecimalField(max_digits=10, decimal_places=3)
    critical_high = models.DecimalField(max_digits=10, decimal_places=3)


I want to present the user with a form that allows the user to select 
multiple locations without storing the locations in the one record (avoid 
using many to many relationship).  I want it to create as many alarm 
records as there is locations selected. So if location 1 &amp;amp; 2 is selected, 2 
alarm objects will be crated/saved with the exact  same data for owners, 
trigger and low/high fields.

I'm relatively new to Django and don't know how to approach this.

&lt;/pre&gt;</description>
    <dc:creator>Radomir Wojcik</dc:creator>
    <dc:date>2013-06-19T16:46:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154531">
    <title>reverse function gives me url including server path</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154531</link>
    <description>&lt;pre&gt;Hi! I have little trouble with reverse function in Django. When I run my 
project as ./manage runserver, everything is just fine - reverse gives me 
url in /page/xxx format. When I run it as apache2 instance using this conf 
file:

Listen 8001

&amp;lt;VirtualHost *:8001&amp;gt;
        ServerName project.tld
        DocumentRoot "/var/www/project"
        ErrorLog /var/www/project/error.log
        CustomLog /var/www/project/access.log combined
        &amp;lt;Directory "/var/www/project/"&amp;gt;
                SetHandler python-program
                PythonHandler django.core.handlers.modpython
                SetEnv DJANGO_SETTINGS_MODULE settings
                PythonOption django.root /var/www/project
                PythonDebug Off
                PythonPath "['/var/www/','/var/www/project','/usr/local/lib/site-packages/django'] 
+ sys.path"
        &amp;lt;/Directory&amp;gt;
&amp;lt;/VirtualHost&amp;gt;

reverse function returns url including server path - 
/var/www/project/page/xxx. It means, reverse returns url in this format: 
http://project.tld/var/www/project/page/xxx. What is interesting, 
 http://project.tld/var/www/project/page/xxx and 
http://project.tld/page/xxx gives me same results, but reverse() returns 
url with "ugly" server path.

Any suggestions how can I fix it?

Thanks,
Jirka

&lt;/pre&gt;</description>
    <dc:creator>Jiří Kupka</dc:creator>
    <dc:date>2013-06-19T15:54:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154530">
    <title>reverse funtion gives me url including server path</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154530</link>
    <description>&lt;pre&gt;Hi! I have little trouble with reverse function in my project. When I run 
it over ./manage runserver, everything is fine - reverse gives me url in 
/page/xx format. When I run my project over apache2 using this conf file:

Listen 8001

&amp;lt;VirtualHost *:8001&amp;gt;
        ServerName project.tld
        DocumentRoot "/var/www/project"
        ErrorLog /var/www/project/error.log
        CustomLog /var/www/project/access.log combined
        &amp;lt;Directory "/var/www/project/"&amp;gt;
                SetHandler python-program
                PythonHandler django.core.handlers.modpython
                SetEnv DJANGO_SETTINGS_MODULE settings
                PythonOption django.root /var/www/project
                PythonDebug Off
                PythonPath 
"['/var/www/','/var/www/project','/usr/local/lib/site-packages/django'] + 
sys.path"
        &amp;lt;/Directory&amp;gt;
&amp;lt;/VirtualHost&amp;gt;

reverse gives me url in /var/www/project/page/xxx format -&amp;gt; 
http://project.tld/var/www/project/page/xxx. What is interesting, I can 
open http://project.tld/page/xxx and 
http://project.tld/var/www/project/page/xxx and I get same results, but 
reverese function returns "ugly" full path...

Any suggestions, how can I fix it?

Thanks,
Jirka

&lt;/pre&gt;</description>
    <dc:creator>Jiří Kupka</dc:creator>
    <dc:date>2013-06-19T14:32:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154523">
    <title>Passing parameters via POST in django 1.5</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154523</link>
    <description>&lt;pre&gt;Hi,

We're upgrading our application from 1.3 to 1.5. We have quite a few rest 
apis in our application. This used to work in 1.3:

Url:
/path/to/api

Passing parameters in the body like this:

&amp;amp;someParamter=someValue&amp;amp;otherParameter=otherValue

but it doesn't in 1.5, request.POST is empty in the view. I've tried both 
via a restclient and javascript. I can't find any documentation that this 
has changed, so what am I missing?

Thanks!

Odd-R.

&lt;/pre&gt;</description>
    <dc:creator>o_r</dc:creator>
    <dc:date>2013-06-19T14:09:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154522">
    <title>Having an issue with Minimal File Upload utility</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154522</link>
    <description>&lt;pre&gt;I am trying to get this utility to work within my own Django site:

https://github.com/doph/minimal-django-file-upload-example/tree/master/src/for_django_1-3/myproject

I have copied all the appropriate files to where they need to be.  I am on 
django 1.3.7 on Centos 6.4 64Bit.

When I run the list page I get the error:

Caught ImportError while rendering: No module named urls


When I copy the actual project and run it, it works.  When I attempt to add the functionality to my site, I get the above error.


Just wondering why a file copy would produce these different results.


Thanks in advance

&lt;/pre&gt;</description>
    <dc:creator>Matt Lind</dc:creator>
    <dc:date>2013-06-19T13:46:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154519">
    <title>File wsgi.py identify SO</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154519</link>
    <description>&lt;pre&gt;Hi
I wonder if someone can help me.
My problem is the following:
in my file wsgi.py django, I wish I could make a condition if OS is windows 
running sys.path.append (...) if linux runs sys.path.append ('...')

Is this possible?
How do I identify the OS?

&lt;/pre&gt;</description>
    <dc:creator>Hélio Miranda</dc:creator>
    <dc:date>2013-06-19T13:29:23</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154517">
    <title>readonly_fields</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154517</link>
    <description>&lt;pre&gt;
I have tried to use readonly_fields in a form to designate fields that the 
user is not allowed to change.

class Meta 
        readonly_fields = [user]
e.g.


However when I show the form the user can edit them.....doh, btw I do want 
to display, but not to edit!

&lt;/pre&gt;</description>
    <dc:creator>tony gair</dc:creator>
    <dc:date>2013-06-19T13:08:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154514">
    <title>Django-Tastypie with mongoengine problem in uploading images to GridFS</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154514</link>
    <description>&lt;pre&gt;Hi!
I have an application (Django-Tastypie-mongoengine) in which I am uploading 
images to GridFS. With the previous version of tastypie and mongoengine was 
working properly. As I was doing the following to upload:
*def upload (request, id):*
*     Movie.objects movie = (id = id)*
*   *
*     if request.method == 'POST':*
*         my_painting = Movie (id = id)*
*       *
*         files = []*
*         request.FILES.getlist for f in ('file'):*
*            mf = mongoengine.fields.GridFSProxy ()*
*            mf.put (f, filename = f.name, legend = 'Hi')*
*            files.append (mf)*
*            my_painting.MovieCover = files*
*         my_painting.save ()*
*
*
*     return render_to_response ('upload.html', {},*
*                               context_instance = RequestContext (request))
*

The problem is that now I updated to the latest versions, and when I upload 
the images, it deletes all my data, leaving only the images.
Does anyone know why?
What I have to change to get working properly?

&lt;/pre&gt;</description>
    <dc:creator>Hélio Miranda</dc:creator>
    <dc:date>2013-06-19T08:54:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154509">
    <title>selected admin actions for a user, who is owner of one of the tenants in a multi tenant django crm app</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154509</link>
    <description>&lt;pre&gt;Hi Group,


could someone please help me with -
http://stackoverflow.com/questions/17184386/providing-admin-actions-to-group-members-in-a-multi-tenant-django-crm-applicatio

Thanks!

&lt;/pre&gt;</description>
    <dc:creator>Andrew Stewart</dc:creator>
    <dc:date>2013-06-19T06:41:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154508">
    <title>Model Error</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154508</link>
    <description>&lt;pre&gt;I have been working through the tutorial, "Writing your first Django app,
part 1", at https://docs.djangoproject.com/en/1.5/intro/tutorial01/. I have
the following model code:

from django.db import models
import datetime
from django.utils import timezone

class TextFile(models.Model):
    tfile = models.CharField(max_length = 50)
    filetype = models.CharField(max_length = 50)
    up_date = models.DateTimeField('date_uploaded')

    def __unicde__(self):
        return self.tfile

    def was_uploaded_recently(self):
        return self.up_date&amp;gt;= timezone.now() - datetme.timedelta(days=1)

class Bitext_upd(models.Model):
    tFile = models.ForeignKey(TextFile)
    bitext_file = models.CharField(max_length = 50)
    Bit_up_date = models.DateTimeField('date_analysed')

    def __unicode__(self):
        return self.bitext_file

However in the shell I am still getting:
[&amp;lt;TextFile: TextFile object&amp;gt;, &amp;lt;TextFile: TextFile object&amp;gt;]

... when there are two files added.
In the admin interface, I have a list of two "TextFile objects" (see
image), if I edit them I can see the details.

I am a bit lost as to where the error is, can anyone help?
Many thanks.

Regards,
Nigel Legg
07914 740972
http://twitter.com/nigellegg
http://uk.linkedin.com/in/nigellegg

&lt;/pre&gt;</description>
    <dc:creator>Nigel Legg</dc:creator>
    <dc:date>2013-06-19T05:51:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.django.user/154497">
    <title>looking for an apache/system admin master</title>
    <link>http://comments.gmane.org/gmane.comp.python.django.user/154497</link>
    <description>&lt;pre&gt;I've been using windows/django1.4/apache2.2 for a couple intranet apps and 
it has been working well.  I recently had our admin open up a port in our 
firewall to deploy another app publicly. We weren't using the app and there 
were issues when testing, since both the admin and myself are newbies to 
deploying publicly with Apache with SSL. So we left the server as is and 
tested UX for this app on an external host.  We installed a new system wide 
firewall last week which the admin thought would help with our issues so I 
went to do some server prep today to bring the app on an internal server 
again.  

A check of the access logs found a specific external IP address hitting the 
server every 1/4 second with strange URLs that look to be commonly used php 
urls since June 7,2013.  It has been getting hit for DAYs and I just wasn't 
monitoring the server. Each of the requests either 302'd or 404'd and there 
are thousands of them.  I stopped the server, and sent an email to the 
admin to close that port down.

Since neither I nor the system admin know much about deploying, is there 
anywhere I can look to hire someone to help get this app deployed safely?
Our policies require SSL and we are willing to use other OS or servers, we 
just need someone who knows what they are doing. 

We are in the NYC vicinity. 

Thanks,

&lt;/pre&gt;</description>
    <dc:creator>MattDale</dc:creator>
    <dc:date>2013-06-18T17:26:24</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.python.django.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.django.user</link>
  </textinput>
</rdf:RDF>
