NoReverseMatch at / 

*Reverse for 'myapp_about' with arguments '()' and keyword arguments '{}' not 
found.

i m adding here files, plz help me......

thanks in advance
*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


{%extends "home.html"%} {%block title%} About {%endblock%} {%block content%} About {%endblock%}{%extends "home.html"%} {%block title%} Archive {%endblock%} {%block content%} Archive {%endblock%}{%extends "home.html"%} {%block title%} Contact {%endblock%} {%block content%} Contact {%endblock%}{% extends "base.html" %} {% block title %} Home Page {%endblock%} {%block navi%} home about contact archive {%endblock%} {%block content%}

Entries:

{%for e in entries%}
{{e.title}}-{{e.created}}
{{e.text}}

{%endfor%} {%endblock%} {%block footer%}

2013 Blog

{%endblock%}
#from django.conf.urls.defaults import *
#urlpatterns= patterns('',
#	(r'^$','myapp.views.home'),
#)

from django.conf.urls.defaults import *
urlpatterns= patterns('myapp.views',
	url(r'^$','home',name="myapp_home"),
	url(r'^about/$','about',name="myapp_about"),
	url(r'^contact/$','contact',name="myapp_contact"),
	url(r'^archive/$','archive',name="myapp_archive"),
)
from django.shortcuts import render_to_response
from data.models import Entry

def home(request):
	entries=Entry.objects.published_entries().order_by('-id')
	ctx={'entries':entries}
	return render_to_response("home.html",ctx)
	
def about(request):
	return render_to_response('about.html')
	
def contact(request):
	return render_to_response('contact.html')
	
def archive(request):
	return render_to_response('archive.html')

Reply via email to