Re: 'function' object has no attribute 'rindex'

2006-12-27 Thread Jeremy Dunck
On 12/27/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: http://www.djangobook.com/en/beta/chapter02/ >>> import django >>> django.VERSION (1, 0, 'official') Which is a bit confusing since there is no 1.0 yet. :) Perhaps we should make an admonition to use -only- the dev version in the online

Re: 'function' object has no attribute 'rindex'

2006-12-27 Thread Fredrik Lundh
Don Arbow wrote: > Well, I meant bug in the sense of the book. I noticed that this same > question was asked about a > month ago. I'm not sure if the book emphasizes which version of Django to > use for the tutorials. http://www.djangobook.com/en/beta/chapter02/ >>> import django >>> djang

Re: 'function' object has no attribute 'rindex'

2006-12-26 Thread Mike Tuller
I printed the book out, so what I have doesn't have the comments. I will download the development version and see what happens. Thanks for the help. On 12/26/06, Don Arbow <[EMAIL PROTECTED]> wrote: On Dec 26, 2006, at 7:46 PM, Adrian Holovaty wrote: > > On 12/26/06, Don Arbow <[EMAIL PROTECTE

Re: 'function' object has no attribute 'rindex'

2006-12-26 Thread Don Arbow
On Dec 26, 2006, at 7:46 PM, Adrian Holovaty wrote: On 12/26/06, Don Arbow <[EMAIL PROTECTED]> wrote: Read the comments in chapter 3 where it says "Let's edit this file to expose our current_datetime view:". According to people that have commented, there's a small bug where this code works w

Re: 'function' object has no attribute 'rindex'

2006-12-26 Thread Adrian Holovaty
On 12/26/06, Mike Tuller <[EMAIL PROTECTED]> wrote: I downloaded the 0.95 version. I don't think it was the development version. Is that what I should be using? Hey Mike, Yeah, I'd suggest using the development version, as it's got a lot more cool stuff. We're pretty lax about releasing "offi

Re: 'function' object has no attribute 'rindex'

2006-12-26 Thread Adrian Holovaty
On 12/26/06, Don Arbow <[EMAIL PROTECTED]> wrote: Read the comments in chapter 3 where it says "Let's edit this file to expose our current_datetime view:". According to people that have commented, there's a small bug where this code works with more recent versions of Django (such as from svn), b

Re: 'function' object has no attribute 'rindex'

2006-12-26 Thread Don Arbow
error: 'function' object has no attribute 'rindex' Read the comments in chapter 3 where it says "Let’s edit this file to expose our current_datetime view:". According to people that have commented, there's a small bug where this code works with more recent

Re: 'function' object has no attribute 'rindex'

2006-12-26 Thread Mike Tuller
I downloaded the 0.95 version. I don't think it was the development version. Is that what I should be using? On 12/26/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: On 12/26/06, Mike Tuller <[EMAIL PROTECTED]> wrote: > I seem to have everything installed correctly, and the python paths seem

Re: 'function' object has no attribute 'rindex'

2006-12-26 Thread Adrian Holovaty
On 12/26/06, Mike Tuller <[EMAIL PROTECTED]> wrote: I seem to have everything installed correctly, and the python paths seem to be correct. I am going through the tutorial in the online book, and I run into a problem. When I run the first application http://127.0.0.1/now/ I get the following err

'function' object has no attribute 'rindex'

2006-12-26 Thread Mike Tuller
I seem to have everything installed correctly, and the python paths seem to be correct. I am going through the tutorial in the online book, and I run into a problem. When I run the first application http://127.0.0.1/now/ I get the following error: 'function' object has no attribute &#