Re: How would you do this cleanly in Django (remembering the states of check boxes in multiple pages)

2014-05-10 Thread Tom Evans
On Thu, May 8, 2014 at 2:18 PM, Chi-Cheong Weng wrote: > Hi guys, > > I have been using Django for a little more than a year now, but I still > cannot think of a clean way of achieving this: > > Let's say I have 1000 products in the db and I want to create a campaign to > promote the products. I a

New to Django

2014-05-10 Thread ashish garg
Hey I am new to Django.I have heard a lot about the powerful features it has.I want to learn Django. Any sort of help would be really appreciated. How can i get started? I am using Django 1.6 and python 2.7. How can i get used to it's concepts to gain in-depths in short span of time? -- You rec

address model + ajax state and city search

2014-05-10 Thread Mariano DAngelo
I google whith no success for an app to remplace django shop adress model, that could auto load states when you select a country and city when select states... preferentially world wide. Does anyone know of any? thanks, and sorry my english is a little bit rusty. Mariano DAngelo -- You

Re: New to Django

2014-05-10 Thread François Schiettecatte
I would start with the tutorial: https://docs.djangoproject.com/en/1.6/intro/tutorial01/ And there is a wealth of documentation on the site itself: https://www.djangoproject.com François On May 10, 2014, at 2:06 PM, ashish garg wrote: > Hey > I am new to Django.I have heard a

Ordering guarantees on BoolenFields?

2014-05-10 Thread Tim Chase
Does Django guarantee that, if an ordering is specified on a BooleanField of a model, that it will order the same way across supported databases? E.g. class MyModel(Model): active = BooleanField() name = CharField(...) class Meta: ordering = [ "-active",

Re: Registration in 1.8

2014-05-10 Thread erip
Jon, I found this. https://docs.djangoproject.com/en/dev/releases/1.8/ I don't know exactly how I got 1.8, but here we are. >From the documentation, there should be no reason why django 1.6 or 1.7 registration shouldn't work, but I can't seem to get any concrete examples of user registration i

help with modelformset_factory and createview

2014-05-10 Thread LaPerl
Hello, I'm trying to send a form with modelformset_factory inside a CreateView. For the moment I only have this code inside the CreateView: def get(self, request, *args, **kwargs): self.object = None local_pk = LiveTool.objects.get(pk=self.kwargs['pk']).pk

Re: Registration in 1.8

2014-05-10 Thread Kelvin Wong
Unless you want to hack on Django core, stick with the stable Django releases. You say that you are three days in. Maybe try Django 1.4 to start. K On Saturday, May 10, 2014 12:00:04 PM UTC-7, erip wrote: > > Jon, > > I found this. https://docs.djangoproject.com/en/dev/releases/1.8/ > > I don't