import different entries using filter

2017-06-19 Thread jon stan
hey im trying to import one set of info from a database based on the name of something else if that makes sense. basically in the database its setup like this: food- restaurant-name products type of service

Re: type error issue

2017-06-19 Thread jon stan
That was it. thanks Andreas. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to dja

type error issue

2017-06-12 Thread jon stan
So i keep getting this error every time i try to pass a variable in http. in my template i have a link that contains the variable of a county in a state: *template.html* {{ cnty }} when you click the link i guess it goes to the urls file: *urls.py* url(r'^region', views.region