I think that Django does not support model inheritance (yet).
The dev team seems to have thought about it :
http://code.djangoproject.com/wiki/ModelInheritance
You might want to ask Google for "django model inheritance" for all
the information you need.
--
David
On 30-Mar-08, at 4:27 PM, juri
Using the Django admin on a WAP browser would involve serious
usability issues.
I just can't imagine myself filling a django edit form with a numeric
keypad, I would quickly throw the phone out the window.
I really don't understand why would anyone want to endure such a
thing, except from th
document.getElementById("field_id")
OR
if you use Prototype library : $("field_id")
--
David
On 28-Mar-08, at 10:49 AM, didia lim wrote:
> hi baxter, how can JS get the texfield by ID.. is there any
> documentation or example? sorry i'm still new in django
>
> - Original Message
> Fro
Or rather :
{% for a in entries %}
Date: {{ a.date|date:"jS o\f F" }}
{% endfor %}
--
David
Begin forwarded message:
From: David Marquis <[EMAIL PROTECTED]>
Date: March 2, 2008 8:15:00 PM EST (CA)
To: django-users@googlegroups.com
Subject: Re: How to display a date i
You forgot the pipe | character and the colon :
{% for a in entries %}
Date: {% a.date|date:"jS o\f F" %}
{% endfor %}
If a is your date, then:
{% for a in entries %}
Date: {% a|date:"jS o\f F" %}
{% endfor %}
Have you read the docs? They are pretty clear about the syntax of
templa
Hi Tim,
> lEvent = Event(request.POST)
Are you sure it's not that line causing trouble ?
--
David
On 21-Feb-08, at 5:16 PM, Tim Sawyer wrote:
I'm not sure I understand what I'm doing here. I'm trying to create
an Event
object from the data in a form (a simple html form, not a django
f
Malcom is right, this has absolutely nothing to do with the {% for %}
tag.
My guess is that your IE7 might be more restrictive on cookies and not
allowing the server to create a session cookie.
If your view code assumes that there is a session and you fetch
"prize" from the session, then "p
If you didn't make any change to the Django source base, you can
simply download the latest release and install the new version.
If needed, you could also download the latest development version
through the Subversion repository.
On 5-Feb-08, at 12:51 PM, Chris wrote:
Hello, does anyone
Hi xunSir,
Personally, I can't understand your question.
You will have to get some help with english speaking because what you
wrote there is merely understandable.
Thank you,
--
David
On 24-Jan-08, at 12:04 AM, xunSir wrote:
class Person(models.Model):
PIN = models.CharField(maxleng
Hi,
You know that you can send SMS messages to most phones using an e-mail
address ?
[EMAIL PROTECTED]
The exact domain name is specific to each mobile phone provider. This
information can be obtained from the provider's web site.
For more : http://en.wikipedia.org/wiki/SMS_gateways
I don
Hi folks,
My first post on the forum! I've been watching the threads for a
while, but now I need your help :)
For a recent project, my users sometimes get the following error:
(this error is output raw to the user, as text sent back to the
browser as the response content)
**
Mod_python
11 matches
Mail list logo