On 2011-05-06, at 5:25 PM, Boštjan Mejak wrote:
> I have created a new Site in my "Django administration" page. How can I use 
> it now? If I visit the URL that this newly created Site points to, I get a 
> URLconf error. So what do I need to add to my project's urls.py file? A 
> newbie here. Please help me on this. Thanks.


A site object really doesn't do a whole lot apart from a way to connect 
functionality in your application to a domain, so I'm not sure what you are 
expecting. They are well documented here:

http://docs.djangoproject.com/en/dev/ref/contrib/sites/?from=olddocs

The tutorial is a good place to start:

http://docs.djangoproject.com/en/dev/intro/tutorial01/
--
  Andy McKay
  a...@clearwind.ca
  twitter: @andymckay
 

-- 
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