Re: do I need to run syncdb when I change the default value in a field of a model?

2014-04-06 Thread Venkatraman S
On Fri, Mar 21, 2014 at 5:43 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > On Thu, Mar 20, 2014 at 6:50 PM, Venkatraman S wrote: > >> >> On Sat, Mar 15, 2014 at 7:11 AM, Russell Keith-Magee < >> russ...@keith-magee.com> wrote: >> >>> >>> On Sat, Mar 15, 2014 at 7:19 AM, Jonathan B

Re: very light weight django task queues

2014-04-06 Thread Russell Keith-Magee
Hi, Another option to throw onto the pile: https://github.com/bretth/django-pq This was recommended to me by Jannis Leidel (jezdez), who used it on caniusepython3.com. Yours, Russ Magee %-) On Sun, Apr 6, 2014 at 6:33 PM, TinyJaguar wrote: > I've been using both django-huey and celery as t

Re: Saving forms with ManyToMany relationships

2014-04-06 Thread Camilo Torres
On Saturday, April 5, 2014 10:12:36 PM UTC-4:30, Jason S wrote: > > I've seen quite a few examples showing various ways to create a form using > manytomany relationships and save the data, but i'm still missing a key > piece of the puzzle. > I've created a form and it "works", meaning the form cr

Error with GeoDjango serializer and ForeignKey field

2014-04-06 Thread Jorge Arevalo
(Sorry for the cross posting. I'm not sure about the best place to put my question. So, I put it in StackOverflow too. And I know that a post that contains just a link to another page can be considered spam. So, I C&P the content here) I have a problem with *Django 1.5.4*. I put the question in

Re: New to Django - How to add inline object to the parent object via shell command or scripts

2014-04-06 Thread H. Pham
Apr 5 Daniel, Thank you very much for your response. I have been reading the tutorial and practicing. This is my practicing project. With your help, I make a couple adjustments and have it working. Thanks again, On Saturday, April 5, 2014 12:07:00 PM UTC-4, Daniel Roseman wrote: > > On Satur

Re: very light weight django task queues

2014-04-06 Thread Arnold Krille
On Sun, 6 Apr 2014 03:33:30 -0700 (PDT) TinyJaguar wrote: > I've been using both django-huey and celery as task queues with > varying success in other projects. > see (https://www.djangopackages.com/grids/g/workers-queues-tasks/) > > Most of the task queues are redis based. They seem to be overk

Re: if statement in django

2014-04-06 Thread Keith Edmiston
It appears that you might have an indentation problem within the else: statement of calc_total_price function. On Sun, Apr 6, 2014 at 12:57 AM, Anthony Smith wrote: > thanks now but getting the following error > > File "/home/tony/Documents/stockapp/stock/models.py" in save > 128. sel

Re: very light weight django task queues

2014-04-06 Thread Derek
Maybe have a look at these ideas: http://themattreid.com/wordpress/2011/01/20/simple-python-a-job-queue-with-threading/ https://www.jeffknupp.com/blog/2014/02/11/a-celerylike-python-task-queue-in-55-lines-of-code/ On Sunday, 6 April 2014 12:33:30 UTC+2, TinyJaguar wrote: > > I've been using bot

very light weight django task queues

2014-04-06 Thread esatterwh...@wi.rr.com
Django ztask is a pretty good solution for what you are describing https://github.com/dmgctrl/django-ztask -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to djan

Re: Add poll to the django tutorial polls

2014-04-06 Thread Camilo Torres
On Saturday, April 5, 2014 8:13:04 AM UTC-4:30, Christo bale wrote: > > I would like to make it possible to add a poll on the index.html, so one > don't need the admin. > I added a forms.py. > Right now when I click enter after typing the new poll, the sites goes > blank and I need to refresh it

very light weight django task queues

2014-04-06 Thread TinyJaguar
I've been using both django-huey and celery as task queues with varying success in other projects. see (https://www.djangopackages.com/grids/g/workers-queues-tasks/) Most of the task queues are redis based. They seem to be overkill for our current situation and add another layer of system maint

MultiValueDictKeyError in Admin on Save - after updating to Django 1.6.2 from 1.5.5

2014-04-06 Thread Mike Dewhirst
Looking through the 1.6 release notes I couldn't see anything obvious but I tried putting select_on_save = True in the meta options for all the models but that made no discernable difference. There appears to be lots of different ways to get this error if closed tickets and admin template twea