you just have to define a __unicode__ method [1] in your model
[1]
https://docs.djangoproject.com/en/1.4/ref/models/instances/#django.db.models.Model.__unicode__
Le 11/04/2012 06:54, oneroler a écrit :
I'm working on the tutorial and ran across an issue that I can't
figure out. In the admin
ABASE_NAME in the settings module before using the
> database."
>
> So there I am at the beginning again.
Sqlite creates the file if it doesn't exist. But you must define the filename
in the NAME setting.
--
Romain Gaches
--
You received this message because you are s
Le 28 mars 2010 à 18:34, Colin a écrit :
>
> Or any other templating language that's a bit looser in allowing a bit
> of logic to mix in with the presentation layer?
http://kid-templating.org/
--
Romain Gaches
--
You received this message because you are subscribed to the
with this, it should work: your_object.__class__.objects.all()
hope it helps.
--
Romain Gaches
rom...@ssji.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To un
the $ variable isn't defined.
I always call no_conflict() to prevent any namespace collision with other JS
Frameworks, especially with re-usable or partial code.
--
Romain Gaches
rom...@ssji.net
--
You received this message because you are subscribed to the Google Groups
"Django us
5 matches
Mail list logo