On Sat, 2009-04-11 at 17:40 -0700, adelein wrote:
> Hi Zain,
> 
> The thing is that I was able to access the main page before I changed
> the urls.py file, so I think that means that the port isnt being
> blocked. Something to do with the urls.py file is messed up : (

Then go back and try things out slowly. Firstly, don't try to work on an
external IP address. Just test on localhost, since that removes one
variable that isn't necessary. Make sure that removing the admin line
from urls.py does make things go back to working again when you're
accessing on localhost. Then compare your urls.py to what is in the
tutorial very carefully (I can't see anything's that different just from
looking at it quickly).

If the admin url template was broken, we'd hear about it very quickly. I
worked through the tutorial yesterday from beginning to end and
encountered no problems with access, so you're right in thinking it's
something different about your particular setup.

If all else fails, go back to the start and try again in a different
directory. You already have the Poll model, so you won't have to type
that in again. Start from "django-admin.py startproject", set up
settings.py, run "startapp polls" and copy in your existing models.py
file. Test things on localhost and it should work. Then you have two
versions to compare.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to