On Mon, 2007-07-02 at 18:15 -0700, walterbyrd wrote:
> On Jul 2, 5:13 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
>
> > "not using X" does not say what you are doing - my best guess is "what will
> > be
> > available if I just run python?" if so, the answer is "nothing other than
> > you
> > c
walterbyrd wrote:
> On Jul 2, 5:13 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
>
>> "not using X" does not say what you are doing - my best guess is "what will
>> be
>> available if I just run python?" if so, the answer is "nothing other than
>> you
>> can import django."
>
> As I mentioned,
On Jul 2, 5:43 pm, Vincent Nijs <[EMAIL PROTECTED]>
wrote:
> They worked for me. So you maybe missing something :)
>
> Is urls.py still trying to import the hours_ahead function? If that doesn't
> help try posting your code.
That was exactly it. I removed the hours_ahead parameter from the
patt
On Jul 2, 5:13 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
> "not using X" does not say what you are doing - my best guess is "what will be
> available if I just run python?" if so, the answer is "nothing other than you
> can import django."
As I mentioned, this is what I was trying to do:
>>>
They worked for me. So you maybe missing something :)
Is urls.py still trying to import the hours_ahead function? If that doesn't
help try posting your code.
Vincent
On 7/2/07 6:36 PM, "walterbyrd" <[EMAIL PROTECTED]> wrote:
>
> I continue to be frustrated with examples given in this book, w
I continue to be frustrated with examples given in this book, which
simply do not work. I am trying to follow the code examples in the
book.
In chapter 4, the book gives this code example:
from django.shortcuts import render_to_response
import datetime
def current_datetime(request):
now = d
walterbyrd wrote:
>
>
> On Jul 2, 2:30 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
>> walterbyrdwrote:
>>> On Jul 2, 1:24 pm, Vincent Nijs <[EMAIL PROTECTED]>
>>> wrote:
all the 'settings' are taken care of for you so you don't have to do any
exports or anything like that. The import s
On Jul 2, 2:30 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
> walterbyrdwrote:
> > On Jul 2, 1:24 pm, Vincent Nijs <[EMAIL PROTECTED]>
> > wrote:
>
> >> all the 'settings' are taken care of for you so you don't have to do any
> >> exports or anything like that. The import statement for Context an
walterbyrd wrote:
> On Jul 2, 1:24 pm, Vincent Nijs <[EMAIL PROTECTED]>
> wrote:
>
>> all the 'settings' are taken care of for you so you don't have to do any
>> exports or anything like that. The import statement for Context and Template
>> should work fine when you use the above command.
>>
>
On Jul 2, 1:24 pm, Vincent Nijs <[EMAIL PROTECTED]>
wrote:
> all the 'settings' are taken care of for you so you don't have to do any
> exports or anything like that. The import statement for Context and Template
> should work fine when you use the above command.
>
Okay, but what happens if I'm
By using:
python manage.py shell
all the 'settings' are taken care of for you so you don't have to do any
exports or anything like that. The import statement for Context and Template
should work fine when you use the above command.
Vincent
On 7/2/07 2:14 PM, "walterbyrd" <[EMAIL PROTECTED]> w
11 matches
Mail list logo