Also try different ports and opening the server for external IPs to make
sure this isn't a network issue

C:\>manage.py runserver 0.0.0.0:11010

and then http://localhost:11010



Cheers,
André Terra


On Tue, Jul 12, 2011 at 10:16 PM, Issac Kelly <issac.ke...@gmail.com> wrote:

> A few things to check:
>
> Is runserver (python manage.py runserver) running? does it crash when
> you try to submit your form?
>
> Have you done a syncdb successfully? If so, then django can connect to
> your database, and that's probably not the problem.
>
> I would guess it's something in your view (or maybe your urls)
>
> On Jul 12, 8:52 pm, sq1020 <shaz...@gmail.com> wrote:
> > I'm pretty new to Django and web development in general so the answer
> > to this question may be rather obvious. I've created a ModelForm in
> > Django so that the data submitted by a user is saved in a database.
> > When the user submits the form, I believe the data validates but it
> > can't connect to the database server i.e. firefox says: can't
> > establish a connection to the server at 127.0.0.1:8000. Keep in mind
> > I'm running the development server on windows. And my database is in
> > SQLite. Do I have to do something with my database in order for it to
> > accept data?
>
> --
> 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, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to