On 04/21/2011 05:08 PM, Michael wrote:
I try to do the same with
http://127.0.0.1:8000/host/hostname1
to print every package that is installed on hostname1


urls.py
-------
[...]
     (r'^host/(?P<host>[a-zA-Z]+)$', 'packages.views.host'),
[....]


For starters, the pattern you've registered won't match 'hostname1' since it only matches upper and lower case letters.

- Craig -

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