Awesome thanks. I love the Django community.
On Jun 11, 7:03 pm, Thomas Sutton <thsut...@gmail.com> wrote:
> Hi Andy,
>
> 2009/6/12 Andy Dietler <andydiet...@gmail.com>:
>
>
>
>
>
>
>
> > Right now I've got a URL pattern that works for letters and
Right now I've got a URL pattern that works for letters and numbers,
but when a character like %20 gets thrown in it fails.
The pattern is this:
(r'^(?P\w+)/$', 'detail'),
Which works when I have:
domain.com/Friends/
domain.com/24/
but not for
domain.com/The%20Office/
How do I get it to
),label="")
On Jun 8, 1:18 pm, Daniel Roseman <roseman.dan...@googlemail.com>
wrote:
> On Jun 8, 8:23 pm, Andy Dietler <andydiet...@gmail.com> wrote:
>
>
>
>
>
> > I'm trying to make one of the fields in my model display radio buttons
> > with the opt
I'm trying to make one of the fields in my model display radio buttons
with the options 1-5. I can't find a way to do this with a model form
and I can't get anything I find in documentation to work properly.
What I have below results in me getting the following error:
TypeError: __init__() got
request.method == 'POST':
> form = AddShow(request.POST)
> if form.is_valid():
> form.save()
> return HttpResponseRedirect('/shows/#success')
> return HttpResponseRedirect('/shows/#error')
>
> On Jun 4, 7:39 pm, Andy Dietler <andydiet...@gmai
I'm pretty new to Django and Python and I've had some success from
reading some books and guides playing around so far but I'm having
trouble figuring out how to get data I submit from a form to save into
the database. I've simplified down my code to just the basics and I
can get the form to
Is there an easy way to ignore the word "The" when returning a list
using "__startswith=" in Django/Python?
I've looked around but it's hard to make any ground when searching for
the word The.
--~--~-~--~~~---~--~~
You received this message because you are
7 matches
Mail list logo