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
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 ,
>
>
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*
>
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
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
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
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
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
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.
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
10 matches
Mail list logo