Re: Need help upgrading old view/url to new syntax...

2011-11-10 Thread Andres Reyes
Glad to be able to help 2011/11/10 Micky Hulse > On Thu, Nov 10, 2011 at 3:47 PM, Micky Hulse wrote: > > Whoa! That works perfectly! > > Ack! I spoke too soon. > > My context variable name of "user" conflicted with the current > logged-in user (looks like there's already a "user" variable float

Re: Need help upgrading old view/url to new syntax...

2011-11-10 Thread Micky Hulse
On Thu, Nov 10, 2011 at 3:47 PM, Micky Hulse wrote: > Whoa! That works perfectly! Ack! I spoke too soon. My context variable name of "user" conflicted with the current logged-in user (looks like there's already a "user" variable floating around at the template level... I assume this variable com

Re: Need help upgrading old view/url to new syntax...

2011-11-10 Thread Micky Hulse
Hi Andres, thanks so much for the quick reply, I really appreciate it. On Thu, Nov 10, 2011 at 1:00 PM, Andres Reyes wrote: > See https://gist.github.com/1356199/bd1af5e81d51ef32a3f4aa29a7a9120c9a8ffe85 > The problem is that you're overriding get_queryset when you should be > overriding get_objec

Re: Need help upgrading old view/url to new syntax...

2011-11-10 Thread Andres Reyes
See https://gist.github.com/1356199/bd1af5e81d51ef32a3f4aa29a7a9120c9a8ffe85 The problem is that you're overriding get_queryset when you should be overriding get_object 2011/11/10 Micky Hulse > Hello, > > I am in the process of upgrading this "old" functional code: > > urls_old.py: >

Need help upgrading old view/url to new syntax...

2011-11-10 Thread Micky Hulse
Hello, I am in the process of upgrading this "old" functional code: urls_old.py: views_old.py: Here's what I have so far: urls.py: views.py: