Are form wrappers and manipulators only for creating 'change object'
and 'add object' forms? I'm creating a simple form that will have
several drop downs that correspond to fields in the database for one of
my objects, that will serve as a search form. Right now I have a basic
addManipulator so
Yeah, I figured out I could do that, but I had to define the encoding:
#!/usr/bin/python
# -*- coding: utf-8 -*
If anyone can answer how to get django to render the html within the
choice set however, I'd really appreciate it.
--~--~-~--~~~---~--~~
You received
In my model I have a field that has choices and in the display of those
choices I need the degrees symbol, so I put in '°' however the
admin page does not render the html in my choice set in the drop down
menu. Is there a way to get it to render the html? Thanks.
--~--~-~--~~---
Don,
I have another loop above that displays upcoming shows. Is it possible
to have two object lists, one of upcoming and one of past shows be
passed to the template?
Thanks
Adrian,
I understand your philosophy of separating presentation and logic, but
even in your there you say that the tem
Thanks, I was putting in the parenthesis.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, sen
Is there anyway to declare variables within a template? I'm coming
from a Zope background where with dtml you have the dtml-let tag and
with ZPT you have tal:define. Django's templating seems so much cooler
than Zope's, but I'm missing a declare or define tag.
The idea I want to be able to do i
In the tutorial you create a custom method was_published_today. How
can you access it in the template? I'm using generic views. Do I have
to write my own more complicated view to access it? Thanks.
--~--~-~--~~~---~--~~
You received this message because you ar
My first task with Django now that I've got it set up on on dreamhost
account and have gone throught the tutorial is to take one my my basic
HTML sites and transfer it into Django templates.
All my templates look good, written the urlconf, my views, and got all
my images and css into my media fo
8 matches
Mail list logo