Re: meet issue in Django tutorail

2009-01-17 Thread Kenneth Gonsalves

On Saturday 17 Jan 2009 12:00:33 pm syo wrote:
> thanks for replay , then is it safe to say there is something wrong in
> this tutorial?

no - nothing wrong with the tutorial. These things depend on what your system 
path is like

-- 
regards
KG
http://lawgon.livejournal.com

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



Re: meet issue in Django tutorail

2009-01-16 Thread syo

thanks for replay , then is it safe to say there is something wrong in
this tutorial?

On Jan 16, 10:37 pm, Kenneth Gonsalves  wrote:
> On Friday 16 Jan 2009 4:51:22 pm syo wrote:
>
> > here , my question is :  need realIy add  "mysite" before the "polls"?
>
> if 'mysite' is in your path then obviously you just need to add 'polls'
>
> --
> regards
> KGhttp://lawgon.livejournal.com
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: meet issue in Django tutorail

2009-01-16 Thread syo

Yes , i have the file you mentioned ,
following is entire files for this test project:
   mysite/
-- __init__.py
-- settings.py
-- manage.py
-- urls.py
-- polls/
 -- __init__.py
 -- models.py
 -- views.py




On Jan 16, 10:23 pm, Alex Koshelev  wrote:
> Do you have the `__init__.py` file in mysite directory?
>
> On Fri, Jan 16, 2009 at 2:21 PM, syo  wrote:
>
> > hi , i'm  now  reading a Django  tutorail naming:
> > "Writing your first Django app, part 1"
>
> > In the "Activating models" part , it asks me to:
> >   1. add  'mysite.polls'  into INSTALLED_APPS,
> >   2.then type "python manage.py sql polls".
> > I tried , but coundn't get the thing works.
>
> > with a second try ,
> > instead of adding  'mysite.polls'  , I added 'polls' into
> > INSTALLED_APPS,
> > and then , it works and i got the expect result.
>
> > my project layout  like:
> >   mysite
> >            -- settings.py
> >            -- manage.py
> >            -- polls
> >                     -- models.py
> >                     -- views.py
>
> > here , my question is :  need realIy add  "mysite" before the "polls"?
>
> > Thanks in advance!
>
> > syo
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: meet issue in Django tutorail

2009-01-16 Thread Kenneth Gonsalves

On Friday 16 Jan 2009 4:51:22 pm syo wrote:
> here , my question is :  need realIy add  "mysite" before the "polls"?

if 'mysite' is in your path then obviously you just need to add 'polls'

-- 
regards
KG
http://lawgon.livejournal.com

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



Re: meet issue in Django tutorail

2009-01-16 Thread Alex Koshelev
Do you have the `__init__.py` file in mysite directory?

On Fri, Jan 16, 2009 at 2:21 PM, syo  wrote:

>
> hi , i'm  now  reading a Django  tutorail naming:
> "Writing your first Django app, part 1"
>
> In the "Activating models" part , it asks me to:
>   1. add  'mysite.polls'  into INSTALLED_APPS,
>   2.then type "python manage.py sql polls".
> I tried , but coundn't get the thing works.
>
> with a second try ,
> instead of adding  'mysite.polls'  , I added 'polls' into
> INSTALLED_APPS,
> and then , it works and i got the expect result.
>
> my project layout  like:
>   mysite
>-- settings.py
>-- manage.py
>-- polls
> -- models.py
> -- views.py
>
> here , my question is :  need realIy add  "mysite" before the "polls"?
>
> Thanks in advance!
>
> syo
>
> >
>

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



meet issue in Django tutorail

2009-01-16 Thread syo

hi , i'm  now  reading a Django  tutorail naming:
"Writing your first Django app, part 1"

In the "Activating models" part , it asks me to:
   1. add  'mysite.polls'  into INSTALLED_APPS,
   2.then type "python manage.py sql polls".
I tried , but coundn't get the thing works.

with a second try ,
instead of adding  'mysite.polls'  , I added 'polls' into
INSTALLED_APPS,
and then , it works and i got the expect result.

my project layout  like:
   mysite
-- settings.py
-- manage.py
-- polls
 -- models.py
 -- views.py

here , my question is :  need realIy add  "mysite" before the "polls"?

Thanks in advance!

syo

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