download more records

2013-02-12 Thread Vittorino Parenti
Hi, by admin interface I have to download about 20,000 records using action and checkboxes. The page times out. What other alternative could I use? Thank you, Vittorino -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

store admin selected action checkbox

2013-02-12 Thread Vittorino Parenti
Hi, in Admin changelist I need to store selected action checkbox without lose selections between pages. Selected checkboxes number could be of 1.000/10.000 selections. Someone can give me some advice on how to proceed. Thanks, Vittorino -- You received this message because you are subscribed

Re: Django 1.5 AbstractBaseUser with char primary key not JSON serializable

2013-02-12 Thread Russell Keith-Magee
On Tue, Feb 12, 2013 at 9:03 PM, Kaloian wrote: > I am having the following custom user model trying to use the Django 1.5 > AbstractBaseUser: > > class Merchant(AbstractBaseUser): > email = models.EmailField() > company_name = models.CharField(max_length=256) >

Re: use app_label

2013-02-12 Thread Russell Keith-Magee
On Tue, Feb 12, 2013 at 10:52 AM, carlos wrote: > Hi I have an app called myapp within my models eg > > class Foo(models): > fields1 = models(blabla) > fields2 = models(blabla) > > class Meta: > verbose_name = "Foo model" > app_label = 'candy' >

Re: How to associate a formset with a field in a form

2013-02-12 Thread mmuk2
Thanks Sanjay, your tips were really helpful, and clears things up for me :) cheers On Wednesday, February 13, 2013 1:51:27 AM UTC+11, Sanjay Bhangar wrote: > > Hey, > > I, too, initially found the formsets documentation a bit confusing, > but they're quite straightforward to work with once

Re: def __unicode__(self) in models.py is not working

2013-02-12 Thread Lachlan Musicman
On Wed, Feb 13, 2013 at 9:45 AM, David wrote: > I am working through the tutorial and find that the *def > __unicode__(self):* command to give an object a readable name in admin is > not working. I am cutting code from the tutorial. When I access the > detail screen in

def __unicode__(self) in models.py is not working

2013-02-12 Thread David
I am working through the tutorial and find that the *def __unicode__(self):*command to give an object a readable name in admin is not working. I am cutting code from the tutorial. When I access the detail screen in /admin/ all I see is [table name] object and not the name I defined in def

Re: One ->Many forms outside admin

2013-02-12 Thread alexandre...@gmail.com
thanks Segunda-feira, 11 de Fevereiro de 2013 12:02:13 UTC, Jani Tiainen escreveu: > > 11.2.2013 13:38, alexan...@gmail.com kirjoitti: > > I think taht is for editing a bunch of equal modelsat the same time... > > > > I need to edit a 1-many relationship in the same manner admin does. > > >

Re: Questions about vim

2013-02-12 Thread Antoni Aloy
I have created my own collection of plugins for my django and Python work with vim: autocomplete, sysntax check, templates, etc. This is mine: http://code.google.com/p/trespams-vim/ but there are others like https://github.com/fisadev/fisa-vim-config or

Re: Has the djangoproject.com site been down?

2013-02-12 Thread tOlorun
its just you ... its loading here ... Thanks tOlorun *Oluwanife@me* To be filled with the life of Christ Jesus and released into our destinies,taking the world for Him. | M: +2348121631706 | M: +234817907 | M: +23233487811 | E-mail: omnioto...@gmail.com I omnioto...@live.com |

Re: Has the djangoproject.com site been down?

2013-02-12 Thread frocco
It is working for me. On Tuesday, February 12, 2013 11:40:17 AM UTC-5, +Emmanuel wrote: > > Is it just me or is djangoproject.com not loading? Been trying to access > it for a couple of weeks without success. I've tried different browsers to > no avail. Am accessing it from Africa. -- You

Has the djangoproject.com site been down?

2013-02-12 Thread +Emmanuel
Is it just me or is djangoproject.com not loading? Been trying to access it for a couple of weeks without success. I've tried different browsers to no avail. Am accessing it from Africa. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: How to concatenate a list of Q objects?

2013-02-12 Thread Andreas Karlsson
Even better: from operator import __or__ reduce(__or__, filters) Den onsdagen den 7:e april 2010 kl. 20:56:47 UTC+2 skrev Daniel: > > Thanks alot guys. If I can be honest, I'm having a little trouble > digesting just this one line: > > q = q | f if q else f > > That line of code only allows (q1

Re: Questions about vim

2013-02-12 Thread Yussi
On 12/02/13 14:52, Ryan Nowakowski wrote: On Tue, Feb 12, 2013 at 11:22:54AM +, Yussi wrote: Hi, I was wondering if there are any vim users here who managed to get a productive working environment for django here. I looked at the manuals, and set myself up with tags, omni complete, and

Re: How do I redirect a logged in customer to https page?

2013-02-12 Thread Bill Freeman
Let me rephrase the issues so that you can tell me if I understand correctly. There is information which should not be shown to anonymous (not logged in) users. You desire to always use SSL/TLS (https) when showing such information to logged in users. Once a user has logged in then virtually

Re: Django makemessages is marking translated strings as fuzzy

2013-02-12 Thread Ramiro Morales
On Tue, Feb 12, 2013 at 10:08 AM, Mohammad Abbas wrote: > I am having issues with the Django makemessages management command. It seems > like it is randomly marking messages as fuzzy even though they have already > been translated. For example > > #:

Re: Questions about vim

2013-02-12 Thread Ryan Nowakowski
On Tue, Feb 12, 2013 at 11:22:54AM +, Yussi wrote: > Hi, > I was wondering if there are any vim users here who managed to get a > productive working environment for django here. > > I looked at the manuals, and set myself up with tags, omni complete, > and syntax error check, but it's far

Re: How to associate a formset with a field in a form

2013-02-12 Thread Sanjay Bhangar
Hey, I, too, initially found the formsets documentation a bit confusing, but they're quite straightforward to work with once you figure them out.. Firstly, you probably want to use inlineformset_factory and not formset_factory:

Re: Updated Django by Example tutorials

2013-02-12 Thread Vijaya Reddy
Thank you so much On Monday, February 11, 2013 8:24:57 PM UTC-8, Rainy wrote: > > Hi, I've started updating Django by Example tutorials for django version > 1.5 and using class-based views. > I have posted 3 tutorials so far; 3 more will be added soon: > > http://lightbird.net/dbe2/ > > I hope

Re: Updated Django by Example tutorials

2013-02-12 Thread frocco
Thank you On Monday, February 11, 2013 11:24:57 PM UTC-5, Rainy wrote: > > Hi, I've started updating Django by Example tutorials for django version > 1.5 and using class-based views. > I have posted 3 tutorials so far; 3 more will be added soon: > > http://lightbird.net/dbe2/ > > I hope these

Re: E-commerce framework for downloadable content

2013-02-12 Thread Carlos Edo Méndez
Thank you both for your help. I found Django-Oscar, what do you think of it? Would it be good for a start? -- 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

Re: chained selectboxes with simpleJson call

2013-02-12 Thread vijay shanker
well override ModelForm's __init__ and if theres a kwargs , then populate choices depending upon the value of model_name , as well override def clean() to handle model attribute. class ConditionSetAdminForm(forms.ModelForm): def __init__(self,*args,**kwargs):

Django makemessages is marking translated strings as fuzzy

2013-02-12 Thread Mohammad Abbas
I am having issues with the Django makemessages management command. It seems like it is randomly marking messages as fuzzy even though they have already been translated. For example #: templates/profile/edit.html:21 msgid "Save Changes" msgstr "Save Changes DE" Would become... #:

How to associate a formset with a field in a form

2013-02-12 Thread mmuk2
I'm trying to create a simple "recipe" form with a title and a list of ingredients, which allows a user to add additional ingredients to the recipe. I'm struggling, however, to implement this in Django. Particularly how to associate a formset with a field in a form. I'm sure it's a simple

Django 1.5 AbstractBaseUser with char primary key not JSON serializable

2013-02-12 Thread Kaloian
I am having the following custom user model trying to use the Django 1.5 AbstractBaseUser: class Merchant(AbstractBaseUser): email = models.EmailField() company_name = models.CharField(max_length=256) website = models.URLField() description = models.TextField(blank=True)

chained selectboxes with simpleJson call

2013-02-12 Thread vijay shanker
hey all I have a model which is as such: *in models.py* class ConditionSet(models.Model): model_name =models.CharField(max_length= 50) model_attribute =models.CharField(max_length=50) operator =models.CharField(max_length=50, choices=OPERATORS) val

Chained Select Boxes using SimpleJson Call

2013-02-12 Thread vijay shanker
hey all I have a model which is as such: *in models.py* class ConditionSet(models.Model): model_name =models.CharField(max_length=50) model_attribute =models.CharField(max_length=50) operator =models.CharField(max_length=50, choices=OPERATORS) val

Questions about vim

2013-02-12 Thread Yussi
Hi, I was wondering if there are any vim users here who managed to get a productive working environment for django here. I looked at the manuals, and set myself up with tags, omni complete, and syntax error check, but it's far from ideal. omni complete fails to guess the context correctly

Re: Modelform and Ajax (Select a valid choice..... Error)

2013-02-12 Thread vijay shanker
hey siddhartha i have similar problem, i created dynamic option with ajax calls and getting the same error "select a valid choice. xyz is not available choices , how did you solved it?" On Tuesday, December 11, 2012 5:09:48 PM UTC+5:30, siddharth56660 wrote: > > Hi, > > I am facing problem in