2008-3-15

23:31 empty
Magus-: management commands.
23:31 Magus-
erm, wrong
23:31 empty
unless it just got fixed, yes
23:31 Magus-
'sandbox.polls',
23:31 Magus-
./manage.py help
23:31 Magus-
createsuperuser is listed
23:31 Magus-
so no, you don't need appname only
23:31 Magus-
never have
23:31 [530]
insanekane: making some drag and drop stuff for the admin is jquery + a textile editor like wmdeditor
23:31 insanekane
[530], empty: ella seems to be just a lot of models ... same old CMS thing
23:31 [530]
in
23:31 Magus-
I've never needed to do appname only since I first wrote createsuperuser for a patch
23:32 insanekane
as in, have a lot of modules for X, Y, Z
23:32 empty
Magus-: hmm, I'll look into that then
23:32 insanekane
[530]: recently, i did a survey of django CMS tools ... the most comprehensive of the ol
23:32 empty
[530]: license is probably going to be BSD but not decided officially.
23:32 malibu
argh, sorry for the basic Q.. but I can't find a sample on working with a one-to-many relationship
23:32 insanekane
'old django-based CMS XYZ repetition thing ... was Djambalaya
23:33 malibu
(in the view)
23:33 malibu
oo.. maybe in 'Model examples'?
23:33 pjcrosier
23:33 insanekane
23:33 wlanionut
Magus: you are wrong. it need to be only appname
23:33 wlanionut
just checked
23:34 Magus-
no, I'm not wrong
23:34 Magus-
management commands in general ARE NOT broken like that
23:34 Magus-
if one SPECIFIC command is not written properly, THAT ONE may be
23:34 Magus-
it is NOT a global requirement
23:34 wlanionut
man , i had just checked with the latest trunk
23:34 Magus-
so did I
23:34 Magus-
it is not broken for ALL management commands
23:34 Magus-
mine works
23:35 wlanionut
why then is not works for me ?
23:35 Magus-
I wouldn't be surprised if its possible to break a command so that it wotn work without being appname only
23:35 malibu
Are one-to-one relationships still not safe? (as per the docs)
23:35 Magus-
how should I know?
23:35 Magus-
I don't even know what command you're writing
23:35 Magus-
or what code is in it
23:35 Magus-
but mine works
23:35 malibu
I have a 1 to 0/1 relationship I need to make
23:35 Magus-
so it is NOT an issue of "they must always be appname only"
23:35 insanekane
[530]: did you see my dpaste ?
23:35 [530]
insanekane: yes
23:35 empty
23:35 insanekane
ok
23:35 insanekane
what do you think ?
23:36 Magus-
empty: I'm not saying there can't be cases where it /is/ really broken, as I just said
23:36 Magus-
but its not ALWAYS broken like that
23:36 Magus-
*mine works*
23:36 Magus-
that alone proves it isn't a global issue
23:37 [530]
a lot of apps :))
23:37 empty
well if your app lives outside of your project it will work fine
23:37 Magus-
...
23:37 Magus-
see above
23:37 Magus-
"sandbox.polls"
23:37 wlanionut
Magus: not ALWAYS broken, means broken :)
23:37 Magus-
obviously it is INSIDE the project
23:37 Magus-
and hey it works
23:37 Magus-
if it was outside the project I wouldn't be saying it isn't always broken like that
23:37 Magus-
since the entire damned discussion was about inside vs outside
23:38 empty
missed the earlier stuff. relax
23:38 empty
it's still likely his problem
23:38 insanekane
ExtendedRelatedFieldWidgetWrapper <- looks like Java!
23:40 Magus-
I'm curious what the code looks like in these commands that don't work in project.app
23:41 Magus-
and how pythonpath/etc is setup
23:41 zbyszek
how can i quote columname ?
23:41 Magus-
asking the same questions to the same people is kind of silly
23:41 Magus-
if nobody knows, returning 5 minutes later won't change that
23:42 wlanionut
23:42 empty
[530]: they have their own hacked up NewForms-Admin in the project.
23:42 [530]
zbyszek: from django.db import connection connection.ops.quote_name'
23:43 [530]
zbyszek: do from django.db import connection qn = connection.ops.quote_name qn('fieldname')
23:43 insanekane
good night
23:43 zbyszek
[530] so is it nesesary when extra(select= {'name'...
23:43 Magus-
err
23:43 zbyszek
to do quote('name') ??
23:43 Magus-
empty: why are you using NoArgsCommand for commands that take args?
23:44 [530]
zbyszek: no
23:44 empty
Magus-: where
23:44 pabloz
Hi guys, I have a field in class A with a ForeignKey to class B. It has an edit_inline=True attribute set. My question is: how can I set the order it should have in the Admin? I cant get to reference it inside the Admin.fields tuples attribute
23:45 zbyszek
[530]: thnx , i was doing that and that was my problem
23:45 pabloz
(that should have been B.Admin.fields tuple)
23:45 Magus-
23:45 Magus-
looks based on my patch, but that changed
23:46 empty
Magus-: yeah, no idea. That's wrong
23:46 empty
Thanks
23:47 Magus-
btw, in the switch from noargs->base, handle_noargs goes to handle, just to be sure that isn't missed either ;)
23:47 pabloz
any help? I couldn't find my problem in the docs
23:47 empty
yeah. Thanks. I'll fix it. Weird because I took it from yours.
23:48 Magus-
pabloz: what order?
23:48 illustir
Does newforms-admin build upon queryset refactor?
23:48 [530]
pabloz: you can't order them
23:48 [530]
illustir: no
23:49 illustir
ok, i see why not, best way to use both right now?
23:49 pabloz
oh dear, thanks!
23:49 Magus-
illustir: you can't
23:49 pabloz
good to know though
23:50 mattmcc
Well, if you really wanted you could try merging them.. :)
23:50 Magus-
hahaha
23:50 illustir
ah
Page 23 of 24   ← Previous  Next →(2,322 total)