Re: import error: no model named .....

2012-05-18 Thread doniyor
try this 

urlpattern = patterns(' ',
url('^hello/$,hello),
)


Am Donnerstag, 17. Mai 2012 20:58:23 UTC+2 schrieb Ali Shaikh:
>
> Hey... 
>
>
> I am practicing to implement simple examples in django... 
>
> started project with 
> 1.django-admin.py startproject wikicamp 
> 2.python manage.py startapp wiki 
> 3.editing the setting 
> 4.python manage.py syncdb 
> 5.python mange.py runserver 
>
>  till this stage its working fine:) 
>
>
> But after editing urls.py and views.py ...i run the server 
> again that time its showing this error 
>
> IMMPORTERROR at .// 
>
> NO module named views...:'( 
>
>
>
>
>
> help pls.!!! 
>
> am getting 
>
> ImoprtError at //


Am Donnerstag, 17. Mai 2012 20:58:23 UTC+2 schrieb Ali Shaikh:
>
> Hey... 
>
>
> I am practicing to implement simple examples in django... 
>
> started project with 
> 1.django-admin.py startproject wikicamp 
> 2.python manage.py startapp wiki 
> 3.editing the setting 
> 4.python manage.py syncdb 
> 5.python mange.py runserver 
>
>  till this stage its working fine:) 
>
>
> But after editing urls.py and views.py ...i run the server 
> again that time its showing this error 
>
> IMMPORTERROR at .// 
>
> NO module named views...:'( 
>
>
>
>
>
> help pls.!!! 
>
> am getting 
>
> ImoprtError at //

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/ft9YSeDKMkgJ.
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: import error: no model named .....

2012-05-17 Thread Apokalyptica Painkiller
Hello i'm not sure but did you edited your module.py?

I'm watching your urls.py and i found this:

('^hello/$,hello),


I'm guessing that there is a syntax mistake, it should be " ('^hello/$',
hello) why don't you try that.

See you

2012/5/17 Tanveer Ali Sha 

> Hi  Apokalyptica Painkiller ,
>
> Here is my urls.py and views.py
>
>
> *URLS.PY*
>
> from django.conf.urls.defaults import*
> from wikicamp.views import hello
>
> urlpattern = patterns(' ',
> ('^hello/$,hello),
> )
>
> *VIEWS.py*
> *
> *
> *from django.http import HttpResponse*
> *
> *
> *def hello(request):*
> * return HttpResponse("hello world")*
>
>
> On Fri, May 18, 2012 at 12:44 AM, Tanveer Ali Sha wrote:
>
>> even am getting *page not found* error
>>
>> 1.^notes/
>> the current URL,didnt match any of these
>>
>>
>>
>> for that wikicamp example which is available in showmedo.com..
>>
>> I donno why I getting these error ...??:(
>>
>>
>> On Fri, May 18, 2012 at 12:32 AM, Halit Alptekin wrote:
>>
>>> You should import models into views.py.
>>>
>>> For Example;
>>>
>>> from hdyazi.models import *
>>> from hdmakale.models import *
>>> from hdsayfalar.models import *
>>>
>>> My models' names are hdyazi,mdmakale,hdsayfalar ...
>>>
>>> --
>>> *www.halitalptekin.com | Halit Alptekin*
>>>
>>>  --
>>> 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.
>>>
>>
>>
>  --
> 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.
>



-- 
I live each day
Like it's my last
I live for rock and roll
I never look back

I'm a rocker
Do as I feel as I say
I'm a rocker
And no one can take that away

-- 
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: import error: no model named .....

2012-05-17 Thread Nick Legotte
urls.py should look like this

from django.conf.urls.defaults import*
from wikicamp.views import hello

urlpattern = patterns(' ',
('^hello/$',hello),
)


On Thu, May 17, 2012 at 12:23 PM, Tanveer Ali Sha wrote:

> Hi  Apokalyptica Painkiller ,
>
> Here is my urls.py and views.py
>
>
> *URLS.PY*
>
> from django.conf.urls.defaults import*
> from wikicamp.views import hello
>
> urlpattern = patterns(' ',
> ('^hello/$,hello),
> )
>
> *VIEWS.py*
> *
> *
> *from django.http import HttpResponse*
> *
> *
> *def hello(request):*
> * return HttpResponse("hello world")*
>
>
> On Fri, May 18, 2012 at 12:44 AM, Tanveer Ali Sha wrote:
>
>> even am getting *page not found* error
>>
>> 1.^notes/
>> the current URL,didnt match any of these
>>
>>
>>
>> for that wikicamp example which is available in showmedo.com..
>>
>> I donno why I getting these error ...??:(
>>
>>
>> On Fri, May 18, 2012 at 12:32 AM, Halit Alptekin wrote:
>>
>>> You should import models into views.py.
>>>
>>> For Example;
>>>
>>> from hdyazi.models import *
>>> from hdmakale.models import *
>>> from hdsayfalar.models import *
>>>
>>> My models' names are hdyazi,mdmakale,hdsayfalar ...
>>>
>>> --
>>> *www.halitalptekin.com | Halit Alptekin*
>>>
>>>  --
>>> 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.
>>>
>>
>>
>  --
> 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.
>

-- 
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: import error: no model named .....

2012-05-17 Thread Tanveer Ali Sha
Hi  Apokalyptica Painkiller ,

Here is my urls.py and views.py


*URLS.PY*

from django.conf.urls.defaults import*
from wikicamp.views import hello

urlpattern = patterns(' ',
('^hello/$,hello),
)

*VIEWS.py*
*
*
*from django.http import HttpResponse*
*
*
*def hello(request):*
* return HttpResponse("hello world")*


On Fri, May 18, 2012 at 12:44 AM, Tanveer Ali Sha wrote:

> even am getting *page not found* error
>
> 1.^notes/
> the current URL,didnt match any of these
>
>
>
> for that wikicamp example which is available in showmedo.com..
>
> I donno why I getting these error ...??:(
>
>
> On Fri, May 18, 2012 at 12:32 AM, Halit Alptekin wrote:
>
>> You should import models into views.py.
>>
>> For Example;
>>
>> from hdyazi.models import *
>> from hdmakale.models import *
>> from hdsayfalar.models import *
>>
>> My models' names are hdyazi,mdmakale,hdsayfalar ...
>>
>> --
>> *www.halitalptekin.com | Halit Alptekin*
>>
>>  --
>> 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.
>>
>
>

-- 
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: import error: no model named .....

2012-05-17 Thread Andre Terra
Everyone, please follow these guidelines before asking other questions:

https://code.djangoproject.com/wiki/UsingTheMailingList



Cheers,
AT

On Thu, May 17, 2012 at 4:14 PM, Tanveer Ali Sha wrote:

> even am getting *page not found* error
>
> 1.^notes/
> the current URL,didnt match any of these
>
>
>
> for that wikicamp example which is available in showmedo.com..
>
> I donno why I getting these error ...??:(
>
>
> On Fri, May 18, 2012 at 12:32 AM, Halit Alptekin wrote:
>
>> You should import models into views.py.
>>
>> For Example;
>>
>> from hdyazi.models import *
>> from hdmakale.models import *
>> from hdsayfalar.models import *
>>
>> My models' names are hdyazi,mdmakale,hdsayfalar ...
>>
>> --
>> *www.halitalptekin.com | Halit Alptekin*
>>
>>  --
>> 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.
>>
>
>  --
> 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.
>

-- 
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: import error: no model named .....

2012-05-17 Thread Tanveer Ali Sha
even am getting *page not found* error

1.^notes/
the current URL,didnt match any of these



for that wikicamp example which is available in showmedo.com..

I donno why I getting these error ...??:(


On Fri, May 18, 2012 at 12:32 AM, Halit Alptekin  wrote:

> You should import models into views.py.
>
> For Example;
>
> from hdyazi.models import *
> from hdmakale.models import *
> from hdsayfalar.models import *
>
> My models' names are hdyazi,mdmakale,hdsayfalar ...
>
> --
> *www.halitalptekin.com | Halit Alptekin*
>
>  --
> 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.
>

-- 
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: import error: no model named .....

2012-05-17 Thread Halit Alptekin
You should import models into views.py.

For Example;

from hdyazi.models import *
from hdmakale.models import *
from hdsayfalar.models import *

My models' names are hdyazi,mdmakale,hdsayfalar ...

-- 
*www.halitalptekin.com | Halit Alptekin*

-- 
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: import error: no model named .....

2012-05-17 Thread Apokalyptica Painkiller
Hello, can you show us your views.py and urls.py?

See you

2012/5/17 Ali Shaikh 

> Hey...
>
>
> I am practicing to implement simple examples in django...
>
> started project with
> 1.django-admin.py startproject wikicamp
> 2.python manage.py startapp wiki
> 3.editing the setting
> 4.python manage.py syncdb
> 5.python mange.py runserver
>
>  till this stage its working fine:)
>
>
> But after editing urls.py and views.py ...i run the server
> again that time its showing this error
>
> IMMPORTERROR at .//
>
> NO module named views...:'(
>
>
>
>
>
> help pls.!!!
>
> am getting
>
> ImoprtError at //
>
> --
> 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.
>
>


-- 
I live each day
Like it's my last
I live for rock and roll
I never look back

I'm a rocker
Do as I feel as I say
I'm a rocker
And no one can take that away

-- 
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: import error: no model named .....

2012-05-17 Thread Nick Legotte
Copy and paste the stacktrace
On May 17, 2012 11:58 AM, "Ali Shaikh"  wrote:

> Hey...
>
>
> I am practicing to implement simple examples in django...
>
> started project with
> 1.django-admin.py startproject wikicamp
> 2.python manage.py startapp wiki
> 3.editing the setting
> 4.python manage.py syncdb
> 5.python mange.py runserver
>
>  till this stage its working fine:)
>
>
> But after editing urls.py and views.py ...i run the server
> again that time its showing this error
>
> IMMPORTERROR at .//
>
> NO module named views...:'(
>
>
>
>
>
> help pls.!!!
>
> am getting
>
> ImoprtError at //
>
> --
> 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.
>
>

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



import error: no model named .....

2012-05-17 Thread Ali Shaikh
Hey...


I am practicing to implement simple examples in django...

started project with
1.django-admin.py startproject wikicamp
2.python manage.py startapp wiki
3.editing the setting
4.python manage.py syncdb
5.python mange.py runserver

 till this stage its working fine:)


But after editing urls.py and views.py ...i run the server
again that time its showing this error

IMMPORTERROR at .//

NO module named views...:'(





help pls.!!!

am getting

ImoprtError at //

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