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 h
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 mos
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
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
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)
ap
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 solut
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...
#: templates
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):
super(ConditionSetAdminF
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 djang
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 wil
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 th
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:
https://docs.djangoproject.com/en/dev/ref/forms/models/#django.forms.
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 from
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
>
> #: templates/profile/edit.html:21
> msgid "Sav
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
all
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 synt
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 |
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 unsub
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 rece
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 |
omnioto...@ya
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
http://sontek.net/blog/detail/turning-vim-int
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.
> >
>
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
__
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 /admin/ all I see is [tab
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 you
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'
> db_table = 'mya
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)
> website = models.URLFi
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 t
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 gr
29 matches
Mail list logo