that's it
tnx!
On Jul 16, 1:42 pm, Karen Tracey <kmtra...@gmail.com> wrote:
> On Thu, Jul 16, 2009 at 7:04 AM, onoxo <vedran.ko...@gmail.com> wrote:
>
> > Hi!
> > i'm having problem with raw_id_admin argument in aplication from the
> > djangoproject tutori
On Thu, Jul 16, 2009 at 7:04 AM, onoxo <vedran.ko...@gmail.com> wrote:
>
> Hi!
> i'm having problem with raw_id_admin argument in aplication from the
> djangoproject tutorial. only difference from orginal app is in the
> raw_id_admin in Choice model
>
raw_id_admin wa
Hi!
i'm having problem with raw_id_admin argument in aplication from the
djangoproject tutorial. only difference from orginal app is in the
raw_id_admin in Choice model
# this is the model.py:
from django.db import models
class Poll(models.Model):
question = models.CharField(max_length
Hi.
Im using the latest svn of django (SVN 7457) and the latest release of
TinyMCE (3.0.7)
When I use TinyMCE in django-admin, my ForeignKey field, with option
raw_id_admin=True, I can't select an Item. The link that usually
insert the Item ID into the ForeignKey field, simply redirects me
On Thu, Apr 10, 2008 at 4:54 AM, firtzel <[EMAIL PROTECTED]> wrote:
>
>
> > A few details on what "does not seems to work properly" looks like might
> > help people help you.
>
> Thanks for your reply. You're absolutely right. Here are some more
> details:
> In the admin, when I try to save a
> A few details on what "does not seems to work properly" looks like might
> help people help you.
Thanks for your reply. You're absolutely right. Here are some more
details:
In the admin, when I try to save a catalog with more than one BadItem,
I get the following error:
Exception Value:
On Wed, Apr 9, 2008 at 4:01 AM, firtzel <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I created a model (Catalog), which is linked to its items via a m2m
> relationship.
> I added a raw_id_admin=True to the items field (good when I have a
> long list of items).
> Also,
Hi,
I created a model (Catalog), which is linked to its items via a m2m
relationship.
I added a raw_id_admin=True to the items field (good when I have a
long list of items).
Also, for convience reasons I wanted a different pk for my items, so I
added primary_key=True to one of the fields
PROTECTED]> wrote:
>
> > Hi ALL!
>
> > How can I check that model M has some primary key field with
> > raw_id_admin value set to True? How can I access this option? I'm
> > tired of looking for this option using dir() :)
>
> > P.S. I do not know name of the
Oh, sorry! I mean foreign key, not primary key :(
On 6 Лют, 11:32, sector119 <[EMAIL PROTECTED]> wrote:
> Hi ALL!
>
> How can I check that model M has some primary key field with
> raw_id_admin value set to True? How can I access this option? I'm
> tired of looking for
Hi ALL!
How can I check that model M has some primary key field with
raw_id_admin value set to True? How can I access this option? I'm
tired of looking for this option using dir() :)
P.S. I do not know name of the PK field. I try to substitute
ChoiceField with TextField usinc formfield_callback
ref:
http://groups.google.com/group/django-users/browse_thread/thread/9c9b05de723877a2/41c26d973af029d5?lnk=gst=raw_id_admin=10#41c26d973af029d5
hi there,
there still seems to be this problem. i just checked out the svn about
a week ago. it appears to be a problem with validation
On 3/29/07, Paul Childs <[EMAIL PROTECTED]> wrote:
> I understand that raw_admin_id is being removed and it will only be
> available as part of the Admin inner class in a model. Does this make
> it unaccessible to custom forms?
Hi Paul,
The raw_id_admin parameter is an admi
My searching hasn't yielded much so here it goes...
I understand that raw_admin_id is being removed and it will only be
available as part of the Admin inner class in a model. Does this make
it unaccessible to custom forms?
If this is the case, does anyone know how to duplicate the
raw_admin_id
This seems to be on the fritz again.Chgsets 785 and 790 for ticket #586
fixed this in pre-mr. I have a foreign key related table with a
CharField primary key. Trying to add stuff in the admin creates a list
of primary keys but save fails with "Enter only digits separated by
commas." Any ideas?
Sorry to be a pest folks.
I had forgotten that the {{object}} was still accessible.
So to get what I want I just had to do this:
{% for part in object.part.all %}
{{part}}
{% endfor %}
--~--~-~--~~~---~--~~
You received this message because you are
I have a Many-to-Many relationship between two models, Action and Part
(see below).
Part has thousands of records so I am using "raw_id_admin=True". This
works great in the admin.
I am using a generic view to create an update form for an Action. This
works fine but it only display
the code i posted was fine.
i just had to restart the server.
patrick
>
> On Fri, 2006-02-24 at 15:43 +0100, va:patrick.kranzlmueller wrote:
>> first think, then write -> problem solved!
>
> Since you are unlikely to be the only person to ever come across this
> problem, how about posting
On Fri, 2006-02-24 at 15:43 +0100, va:patrick.kranzlmueller wrote:
> first think, then write -> problem solved!
Since you are unlikely to be the only person to ever come across this
problem, how about posting your solution to the list so that it shows up
in a search of the archives?
Thanks,
del):
film = meta.ForeignKey(Film, edit_inline=meta.TABULAR,
num_in_admin=20)
star = meta.ForeignKey(Star, raw_id_admin=True)
job = meta.CharField(Job)
with using the above model, i only get ONE input field for the cast-
members, which probably occurs because raw_id_admin does
. The same happens in SVN version.
Hi Emanuele,
I just tested this using Django's SVN version, and raw_id_admin=True
did indeed work properly. The string representation of the related
object was displayed.
I didn't test this on Django 0.91, but I assume it would work there,
too. We haven'
> I've just upgraded from Django0.90 to Django0.91 my production server
(running a django app on a LAN).
[kicks tires a bit] Yep, thar's yer problem right there. Ya put tha
tires on backwards.
Seriously, you should plan a little better than that! First of all it
is known the 0.x is not backward
Hi djangonauts,
I've just upgraded from Django0.90 to Django0.91 my production server
(running a django app on a LAN). Everything works well except the
representation of fields with raw_id_admin=True when using admin
interface. My application strongly relies on automatically generated
admin
On 11/23/05, Grigory Fateyev <[EMAIL PROTECTED]> wrote:
> class Article(meta.Model):
> author = meta.ForeignKey(User, raw_id_admin=True)
>
> vews/articles.py generate form:
>
> Author: {{ form.author }}
> {% if form.author.errors %}*** {{ form.author.err
Hello!
In model i use this field:
class Article(meta.Model):
author = meta.ForeignKey(User, raw_id_admin=True)
vews/articles.py generate form:
Author: {{ form.author }}
{% if form.author.errors %}*** {{ form.author.errors|join:", " }}
{% endif % }
If the field
On 10/6/05, Emanuele <[EMAIL PROTECTED]> wrote:
> I'm sorry but after updating (revision 786) this simple example
> still has the problem I reported:
Hey Emanuele,
Update your Django code to revision 790, and give it another shot!
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com |
pass
class Choice(meta.Model):
poll = meta.ForeignKey(Poll,raw_id_admin=True)
choice = meta.CharField(maxlength=200)
class META:
admin = meta.Admin()
pass
pass
In admin interface I insert a poll and then when trying to insert
a choice (so a poll pk) I get
On 10/3/05, Emanuele <[EMAIL PROTECTED]> wrote:
> to avoid big drop-down lists in admin interface I'm using
> "raw_id_admin=True" inside ForeignKey(), so I can enter
> object IDs manually. But what happens if my related object has
> a _non-numeric_ custom prima
Adrian Holovaty wrote:
> Oooh, that's a good idea. Django already displays the __repr__() of
> the corresponding record on the *change* page, but it'd be nice to do
> it automatically (via Ajax) right after the field is populated on the
> add page (or changed on the change page).
Yup... I
On 10/3/05, Emanuele <[EMAIL PROTECTED]> wrote:
> Wouldn't it be nice (useful?) if just after inserting the pk value (in
> case of "raw_id_admin=True" I mean) we could see aside the __repr__()
> of the corresponding record? Just as a double check. Using manual
> inse
Thanks for the quick answer!
Wouldn't it be nice (useful?) if just after inserting the pk value (in
case of "raw_id_admin=True" I mean) we could see aside the __repr__()
of the corresponding record? Just as a double check. Using manual
insertion of pk values is a good alternative wh
On 10/3/05, Emanuele <[EMAIL PROTECTED]> wrote:
> to avoid big drop-down lists in admin interface I'm using
> "raw_id_admin=True" inside ForeignKey(), so I can enter
> object IDs manually. But what happens if my related object has
> a _non-numeric_ custom primary k
Hi,
to avoid big drop-down lists in admin interface I'm using
"raw_id_admin=True" inside ForeignKey(), so I can enter
object IDs manually. But what happens if my related object has
a _non-numeric_ custom primary key?
In my case I've a string as a custom primary key and I'd lik
33 matches
Mail list logo