Luke Plant <[EMAIL PROTECTED]> writes:
> This is actually quite interesting. You would need to alter your
> patch a bit so that it works for models with 'app_label' defined --
> the "model_module.__name__.split('.')[-2]" logic should exist in
> only one place.
Good point. Another problem I ran
Hey, i'm developing both a website and real-time network application,
and i'm using django for the website bits and twisted for the real-time
app (multiplayer games). I'd like to share the some of the DB info
between the two applications, and am wondering what the easiest way to
do this would be?
Hi there!.
I have looked to migrate my project from 0.91 to MRT, b/c expecting
some problem with template and manipulator classes inheritances. E.g.
for example, template "add" extends "base", and template "edit"
extends "add"; if we visit first an URL which matched to
myapps.views.add function (
Malcolm Tredinnick wrote:
> On Fri, 2006-06-09 at 13:25 +0200, Gábor Farkas wrote:
>> Malcolm Tredinnick wrote:
>>> On Wed, 2006-06-07 at 11:34 +0100, David Reynolds wrote:
Hi,
I seem to remember reading either on the mailing list or IRC channel
that sub-classing doesn't work
Hello,
Have you already looked at the date_based archive:
- 'django.views.generic.date_based.archive_month'
You can find the documentation there:
http://www.djangoproject.com/documentation/generic_views/#django-views-generic-date-based-archive-month
I hope that will help you
--~--~-~-
How can I display the form fields for an object that should be edited
inline in a custom template?
I'm passing a FormWrapper to my template, but I'm just not sure how to
display forms for inline objects or if it's even possible at this time.
Thanks.
--~--~-~--~~~---
Hi,
When I use get_FIELD_display() within a model method, I get the value
itself instead of the "human readable value". Also when you render a
Template inside a model method and you put something like {{
self.get_FOO_display }} in your template it has the same problem.
Does anybody experience th
Hi,
I tried to repeat the problem in a small model to publish here. Somehow
the problem doesn't show up. I'll try to isolate the problem and if
necessary post a message here.
Rudolph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
Hi,
I found the real problem and filed a ticket:
http://code.djangoproject.com/ticket/2136
Rudolph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-
Hello fellow Django users,
I have a model with a m2m relationship to self (think tickets that
optionally depend on one
or more tickets) and I want the the UI of the admin app add/change
pages to exclude the
item itself from the possible choices of tickets the user can select
it to depend on.
10 matches
Mail list logo