Re: display the elements from a database in a forms

2014-09-18 Thread Jonathan Pentecost
Are you using Django models? On Thursday, 18 September 2014 02:36:53 UTC+10, Devin Cky wrote: > > > 2 months ago yes !! please i need your help .. it's very importante for > me !!! > -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Error in Django Admin When I try to add.

2014-01-22 Thread Jonathan Pentecost
Is your "API_dispatcher" url before or after the admin url? On Wednesday, 22 January 2014 08:50:14 UTC+11, Dharwin Perez wrote: > > I was trying to make a API Dispatcher, but when i try to add anything in > Django Admin, run APIdispatcher and return Bad Request. I think that is > some in the

Re: Overriding admin sidebar

2014-01-21 Thread Jonathan Pentecost
Your not loading the "trans" tag, https://docs.djangoproject.com/en/1.5/topics/i18n/translation/#internationalization-in-template-code On Tuesday, 21 January 2014 12:32:56 UTC+11, larry@gmail.com wrote: > > I am trying to override the admin sidebar block. As a starting point I > just

Re: AttributeError: 'TaggableManager' object has no attribute 'primary_key'

2014-01-21 Thread Jonathan Pentecost
I think there is a problem with the taggit library, possibly similar to https://github.com/alex/django-taggit/issues/186 ? On Tuesday, 21 January 2014 19:21:08 UTC+11, vinoth kumar renganathan wrote: > > When i making new migration with this

Re: displaying manytomany fields in template

2014-01-21 Thread Jonathan Pentecost
You will need to provide the Person model to decipher what is going on in your template. On Tuesday, 21 January 2014 17:34:00 UTC+11, splucena wrote: > > > > Template: > > {% for per in person_list%} > > {{ per }} > {% for spec in per.specialization_id.all %} > {{ spec

Re: KeyError: u"Unknown language code 'en-us'."

2014-01-20 Thread Jonathan Pentecost
There is no language code "en-us" in django. `from django.conf.global_settings import LANGUAGES` to get a list of all languages. On Monday, 20 January 2014 23:52:37 UTC+11, Geotribu wrote: Hi all, I've developed a multi-language application with Django. Everything works fine except I receive

Re: Problem with Form with ForeignKey field

2014-01-15 Thread Jonathan Pentecost
Does it have anything to do with the related name of animal being `+`? I can't test this out just yet, but I don't THINK you can have a related_name as just `+`, I believe it needs to be a valid identifier. On Wednesday, 15 January 2014 03:26:12 UTC+11, Drew Ferguson wrote: > > Hi > > Django