Re: Cloudfiles Storage Backend

2011-09-27 Thread dm03514
YOu can implement a virtual directory, we do it for our cloud files. http://www.rackspace.com/cloud/blog/2010/01/26/nested-folders-in-rackspace-cloud-files/, It's clearly documented on a number of sites, if you just serach for it in google. -- You received this message because you are subscribed

Re: Getting a count of a RawQuerySet object

2011-09-21 Thread dm03514
If you're writing your own queries, can't you just write a count query?? or when you're iterating over your results just keep the count??? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: request.method not working as expected

2011-09-20 Thread dm03514
Fabio in your dev server output is it saying the type of request is get? ARe you accessing "/method/" through your form or are you just directing your webserver to http://192.168.0.2:8000/method/??? On Sep 20, 11:46 am, Fabio Natali wrote: > Hi everybody! > > I have a very

Re: Virtualenv and Django in Production

2011-09-20 Thread dm03514
Virtualenv provides you with more control over your production environments. We run apache/virtualenv on 10 of our production servers. There very well might be more overhead running through a virtualenv. For us it is too negligible to make a difference. We use fabric to deploy our django apps,

Re: access fields value in template

2011-09-17 Thread dm03514
You can access just the values by the values property, {% for value in object.values %} {{ value }} {% endfor %} On Sep 17, 4:33 am, Phang Mulianto wrote: > hi .. > > i have a pagination objects : > > in my view i got query and paginate it using this : > >       objects =

error: [Errno 104] Connection reset by peer - dev server IE 9

2011-08-26 Thread dm03514
When I am testing my applications using django 1.2 and 1.3 dev server on IE 9. Every other requests gives me: Traceback (most recent call last): File "/home/dmican/Envs/monetization/lib/python2.6/site-packages/ django/core/servers/basehttp.py", line 281, in run self.finish_response()

Re: Django Development environment

2011-08-22 Thread dm03514
Ubuntu, VIM, mercurial, DebugToolbar(sometimes) Sqlite3 for many projects. On Aug 22, 6:07 pm, Stephen Jackson wrote: > I am new to the world of Django. I would like to hear from other django > developers describe their dev environment (tools, os, editors, etc.). --

Re: Newbe DateTimeField Question

2011-08-21 Thread dm03514
you can set default=None, that way you don't have to explicityly save that value as none every time you save an object. On Aug 21, 7:33 am, Torsten wrote: > Hi > > I simply want the DateTime to be set to null. > > payed_at = models.DateTimeField(null=True) > > but

Re: View-Voodoo: Calling functions in a view does weird things

2011-08-20 Thread dm03514
I think you're 'call_my_other_function' is returning to the 'myview' function -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

Re: login auth issue - beginner

2011-08-20 Thread dm03514
Hi, Your traceback is from a 'login' function buy you're posting to base '/' Could that be an issue?? The traceback clearly explains what the problem is, no data is arriving at your login function -- You received this message because you are subscribed to the Google Groups "Django users" group.

Django Test Corrupted Test Data

2011-08-19 Thread dm03514
I have a test class that subclasses django.test.TestCase which has about 5 different tests in it. When I run my full test suite (using nose, and specifying sqlite as backend) there are a series of failures. When I go to debug the tests, running them individually, they pass fine.