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 <shaikht...@gmail.com>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 <shaikht...@gmail.com>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 <diqit...@gmail.com>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.