That would seem to do exactly what I hoped for!
Thanks for the link. I am going to give that a shot.
On Jul 4, 2:02 pm, Daniel Roseman wrote:
> On Jul 4, 1:27 pm, Damon Timm wrote:
>
>
>
> > Hello everyone -
>
> > I wondered if anyone had insight on a Model for site-wide "global"
> > options.
Actually, maybe I spoke too soon. It seems that the option still has
to be hard-coded into the models.py file initially -- that's what I
was hoping to avoid. I wanted the designer/user to just be able to
add a new key/value pair in the admin, and then access it in the
template without having to
Hi Daniel -
Okay ... so, it looks like I could do this two ways (maybe more).
After reading: http://docs.djangoproject.com/en/dev/ref/templates/api/
1. I could create my own context process and define it in
TEMPLATE_CONTEXT_PROCESSORS -
2. (maybe more straightforward) I could create a function
keys, as needed, and just have to reference them
in the template (don't have to change any of the python).
Thoughts ?
Damon
On Jul 5, 9:12 am, thornomad wrote:
> Hi Daniel -
>
> Okay ... so, it looks like I could do this two ways (maybe more).
> After reading:http://docs.djangoproj
Hi - Is there a simple way (or maybe, not so simple) to create default
values for a ManyToManyField ?
My usage is pretty basic (and maybe common, which is why I wonder if
it's been explored) ... I want my users to have to "opt-out" of email
subscriptions in their UserProfile, rather than "opt-in"
Hi - need some suggestions.
I am trying to put together an app that allows users to submit links
to videos at popular video sharing sites (e.g., youtube, vimeo, etc)
-- the links get submitted, data about the video (title, description,
play count, etc) is collected from the respective site and po
n Wed, Aug 26, 2009 at 8:17 PM, thornomad wrote:
>
> > Hi - need some suggestions.
>
> > I am trying to put together an app that allows users to submit links
> > to videos at popular video sharing sites (e.g., youtube, vimeo, etc)
> > -- the links get submitted, data
Hi everyone - is anyone using the latest from django-threadedcomments
with success ?
I am using the latest git clone of django-threadedcomments ... running
the following in my template throws an error:
{% get_comment_form for object as comment_form %}
I get error:
TemplateSyntaxError at /video
I believe that functionality is available at:
http://www.djangoproject.com/community/
On Sep 19, 4:46 pm, Adam Olsen wrote:
> On Sat, Sep 19, 2009 at 1:45 PM, Vitaly Babiy wrote:
> > Hey guys,
> > I am looking for people would be interested in writing articles for a
> > django/web development
9 matches
Mail list logo