Re: memory leak in django 1.5

2013-03-24 Thread Craig de Stigter
Just confirming that this fixed the memory leak problem for us. Thanks again :) On Friday, March 22, 2013 3:07:02 PM UTC+13, Craig de Stigter wrote: > > Karen Tracey saves the day! > > Thanks so much, seems likely that's it :) > > Craig de Stigter > > On Friday, March 22, 2013 2:25:04 PM UTC+13,

Re: An alternate cry for help

2013-03-24 Thread Cal Leeming [Simplicity Media Ltd]
Hi Christos, I cannot comment directly on Pinax as I have never used it before, however I can give some general comments. Asking how to make a social network is the same as asking how to make a game, how to build a car, how to write a book etc.. it *completely* depends on what your end goal is, a

Re: POSTing JSON to Tastypie from Android

2013-03-24 Thread Pratik Mandrekar
Thanks, I got it to work after much of trial and error. Here is the gist - https://gist.github.com/ratpik/5232763 Thanks, Pratik On Sunday, March 24, 2013 8:46:09 PM UTC+5:30, ke1g wrote: > > There are a couple of standard ways, IIRC, to encode post parameters, but > neither of them is JSON in

RE: first steps with django

2013-03-24 Thread Babatunde Akinyanmi
I love this post Sent from my Windows Phone -- From: Jeffrey Black Sent: 3/24/2013 4:22 PM To: django-users@googlegroups.com Cc: django-users@googlegroups.com Subject: Re: first steps with django Give this a look first. http://www.jeffknupp.com/blog/2012/10/24/startin

Django management call_command

2013-03-24 Thread Felix Wagner
Hello, I wrote a test management Command: def start_daemon(): pidfile_rule = "/tmp/ihe_test.pid" p = str(os.getpid()) file(pidfile_rule, 'w').write(p) while True: print "Hello" sleep(10) class Command(BaseCommand): help = 'Starts or stops the daemons' opti

Re: first steps with django

2013-03-24 Thread John
On 24/03/13 15:26, Shawn Milochik wrote: > On Sun, Mar 24, 2013 at 11:21 AM, Jeffrey Black > wrote: >> Give this a look first. >> >> http://www.jeffknupp.com/blog/2012/10/24/starting-a-django-14-project-the-right-way/ >> >> jb > That's a good post. I give a hearty +1 to virtualenv, South, Fabric,

Re: first steps with django

2013-03-24 Thread Shawn Milochik
On Sun, Mar 24, 2013 at 11:21 AM, Jeffrey Black wrote: > Give this a look first. > > http://www.jeffknupp.com/blog/2012/10/24/starting-a-django-14-project-the-right-way/ > > jb That's a good post. I give a hearty +1 to virtualenv, South, Fabric, and git. -- You received this message because you

Re: first steps with django

2013-03-24 Thread Jeffrey Black
Give this a look first. http://www.jeffknupp.com/blog/2012/10/24/starting-a-django-14-project-the-right-way/ jb On Mar 24, 2013, at 5:23 AM, My Wasteland wrote: > Hi list, > > I am a Django newbie. I have been going through the official tutorial on my > local machine. I have got some general

Re: first steps with django

2013-03-24 Thread Shawn Milochik
You should develop locally, because you are guaranteed to make mistakes that will crash the app and expose debug information you don't want exposed during development. If your hosting provider provides a one-click installation, it will probably set up its environment different than the one on you

Re: Django throws ImproperlyConfigured error when loading URLconf on startup

2013-03-24 Thread Dan Gentry
Andrei, I once received this error when the problem was actually in another python module being imported - in my case views.py. Hope this helps, Dan -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: POSTing JSON to Tastypie from Android

2013-03-24 Thread Bill Freeman
There are a couple of standard ways, IIRC, to encode post parameters, but neither of them is JSON in the body. Of course you can do as you want, and android apparently does, but other software is unlikely to recognize it. Again, from memory, the two methods are using url encoding, and multi-part

first steps with django

2013-03-24 Thread My Wasteland
Hi list, I am a Django newbie. I have been going through the official tutorial on my local machine. I have got some general questions: 1. Where should I develop my Django applications? Should I still do it on my local machine and then transfer them somehow to a hosting provider I'm with? Or sh

Re: Django 1.5 CBV - DeleteView - CustomQuery

2013-03-24 Thread Dan Gentry
Agree with Tom that ccbv is a great resource for help with CBVs. In fact, I used it to help me with this comment. I would probably override the delete() method in DeleteView to do what you want to do. The original justs deletes the record and redirects to the supplied URL: 1. def delete(

Re: SQL Server Support - Does it Exist

2013-03-24 Thread Michael Manfre
Although there is no official support for SQL Server, there are two available backends to choose from; django-mssql and django-pyodbc. There has also been some recent discussion on the django-developers mailing list about SQL Server's support and the idea of having officially recognized extensi

Re: RuntimeError: maximum recursion depth exceeded in cmp

2013-03-24 Thread Vernon D. Cole
You have an error in your "models.py" file. Note that the last message was "Validataing models...". Is there anything in models.py? In your sample script you never modify it. On Friday, March 22, 2013 1:23:46 PM UTC-6, tarik setia wrote: > > >