List Info

Thread: How To Calling a Flat page




How To Calling a Flat page
user name
2006-02-23 16:24:22
I am a bit unclear as to how to call a Flat page.

I 've done the necessary work, created the default
template, got
flatpages showing up in the admin and followed the
instructions. Eg. my
Introduction page is named /int/.

In my template I just try to reference it as
href="/int/" but this does
not work.

I understand to usual  url-view-template senario, but I am a
bit lost
here.  The docs do not seem to suggest that you need to
write a URL
rule.

I would be grateful for some clarity.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

How To Calling a Flat page
user name
2006-02-23 21:34:13
Actually solved this.

/flatpage/ was not being handled by mod_python.  I have to
do
/mysite/flatpage/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )