Calendaring

2010-01-20 Thread Shane Graber
Is there a calendaring app that people really like to use with Django? What's the most popular one at the moment? Shane -- 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 unsub

Accessing data from a tuple in a template?

2007-08-06 Thread Shane Graber
On one of my models (in models.py), I have the something like the following defined below a class: STATUS_CHOICES = ( (1, 'Ham'), (2, 'Turkey'), (3, 'Beef'), ) The Django admin interface is smart enough to pick up the text from the tuple and use it when displaying the dro

Re: Recipe / Ingredient Model

2007-08-02 Thread Shane Graber
gt; > > > > > You're missing just: > > > > ingredients = models.ManyToManyField(Ingredient) > > > > > > In your recipe model. > > > > > > If you want a pretty interface in admin (if you're not using newforms- > >

Re: Recipe / Ingredient Model

2007-08-02 Thread Shane Graber
Excellent! This is exactly what I was looking for. Thanks for the help! Shane On 8/2/07, John Danks <[EMAIL PROTECTED]> wrote: > > On 8/2/07, Shane Graber <[EMAIL PROTECTED]> wrote: > > > > I'm trying to make a recipe/ingredient application as my roa

Recipe / Ingredient Model

2007-08-02 Thread Shane Graber
I'm trying to make a recipe/ingredient application as my road to learning more about Django. Making a model of an ingredient and most of the recipe are relatively straight forward based on the excellent tutorials on the Django. However, I'm struggling with understanding how to hook in multiple i