That was a great help thanks. I also used the copy() method on the
request.POST dict and I could redirect to the same view. Cheers.
On Mar 24, 2009 3:43 PM, "Thomas Guettler" wrote:
Hi,
my guess: You need to redirect after POST.
if you give request.POST to the Form, it will overwrite the valu
Hello.
I'm trying to log a user in using the @login_required decorator. I've
followed the examples on
http://docs.djangoproject.com/en/dev/topics/auth/#topics-auth but I can't
get it to stop spiraling into a redirect loop. I've tried everything I can
think of but I'm out of ideas. Please help.
My
Hello. I'm looking into making a Django app that allows you to create Django
models.
The idea is that you should be able to add fields and user workflows using a
web page that then creates a model, view, template and syncs the DB. Users
can then access these newly created apps separately.
An exam
On Wed, Mar 25, 2009 at 5:09 AM, Alex Gaynor wrote:
>
>
> On Wed, Mar 25, 2009 at 1:06 AM, Graham Dumpleton <
> graham.dumple...@gmail.com> wrote:
>
>>
>>
>>
>> On Mar 25, 3:45 pm, Alex Gaynor wrote:
>> > On Wed, Mar 25, 2009 at 12:43 AM, Adam V. wrote:
>> >
>> > > Curse (http://www.curse.com/)
I'm just trying to do a bit of home development on Ubuntu 9.04 which has
Python 2.6.
When trying to populate the database from the models it's randomly ignoring
model definitions. I have no idea what's going on but the deprecation
warning of sets may be to do with it?
Output of ./manage.py syncdb
It's election day tomorrow. This is a great web site for lots of info about
what's really going on:
[http://www.38degrees.org.uk]
Darren
--
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...@googlegro
On 6 May 2010 00:35, Russell Keith-Magee wrote:
> On Thu, May 6, 2010 at 3:04 AM, Darren Mansell
> wrote:
> >
> > It's election day tomorrow. This is a great web site for lots of info
> about what's really going on:
> > [http://www.38degrees.org.uk]
>
&
On 6 May 2010 07:41, Darren Mansell wrote:
>
>
> On 6 May 2010 00:35, Russell Keith-Magee wrote:
>
>> On Thu, May 6, 2010 at 3:04 AM, Darren Mansell
>> wrote:
>> >
>> > It's election day tomorrow. This is a great web site for lots of info
&g
Hi all. Really really confused by this one. Can someone show me where I'm
being stupid please?
Standard Django 1.5.1 app with MySQL. Trying to save to a VARCHAR(3) column
with a forms.CharField form field and a models.CharField model field.
When I try to save the form I get this validation error:
x27;t
work
On 3 May 2013 10:35, Darren Mansell wrote:
> Hi all. Really really confused by this one. Can someone show me where I'm
> being stupid please?
>
> Standard Django 1.5.1 app with MySQL. Trying to save to a VARCHAR(3)
> column with a forms.CharField form field and
e
*msg = self.error_messages['invalid'] % value*
raise exceptions.ValidationError(msg)
So it's failing validation because it's seeing the field as a BooleanField,
when I quite obviously have set it as a CharField.
I'm absolutely stuck.
On 3 May 2013 11:1
On 3 May 2013 13:06, Tom Evans wrote:
> On Fri, May 3, 2013 at 12:38 PM, Darren Mansell
> wrote:
> >
> > Another bit of info, just in case anyone is currently looking at this..
> >
> > The error is coming from
> >
> /usr/local/lib/python2.7/dist-packa
py file buried underneath
everything, which did have the fields as BooleanField.
Wow. 2 whole days to find that.
On 3 May 2013 13:49, Darren Mansell wrote:
>
>
>
> On 3 May 2013 13:06, Tom Evans wrote:
>
>> On Fri, May 3, 2013 at 12:38 PM, Darren Mansell
>> wrote:
&
13 matches
Mail list logo