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 s

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

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

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

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

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 mod

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 subscrib

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 ma

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.

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