Good morning guys,
I'm trying to locally set up an existing project on my machine.
While I've set up most of the project, the part giving me a hard time are
the ones using flatpages.
Now, everytime I access those, I get a "No Flatpages matches the given
query. " error.
I
I just logged into the backend to make sure the django_flatpage_sites table
was populated and it is.
On Fri, Aug 15, 2014 at 2:21 PM, Lee Hinde wrote:
> Yes.
>
>
> On Fri, Aug 15, 2014 at 2:10 PM, Collin Anderson
> wrote:
>
>> SITE_ID is set, but is the correct site selected on the flatpage?
>
Yes.
On Fri, Aug 15, 2014 at 2:10 PM, Collin Anderson
wrote:
> SITE_ID is set, but is the correct site selected on the flatpage?
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fro
SITE_ID is set, but is the correct site selected on the flatpage?
--
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 p
I don't have APPEND_SLASH in my settings and the default is True, so I
don't think that's it.
Also, I used the django extension show_urls and the flatpages url showed up
in the output, so I think it's in the chain.
On Fri, Aug 15, 2014 at 12:19 PM, C. Kirby wrote:
> T
There is a warning about APPEND_SLASH = False in the flatpages
documentation:
Warning
If you set APPEND_SLASH
<https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-APPEND_SLASH>
to False, you must remove the slash in the catchall pattern or flatpages
without a trailing slas
Yes, it's a record in the flatpages table on the production side.
On Fri, Aug 15, 2014 at 11:43 AM, Collin Anderson
wrote:
> I also assume you added the page to the production database and not just
> your dev database (if they're different)?
>
> --
> You received thi
I also assume you added the page to the production database and not just
your dev database (if they're different)?
--
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
Thanks.
>
>
> On Fri, Aug 15, 2014 at 11:30 AM, C. Kirby wrote:
>
>> Is it only occurring on the flatpages test page or all your pages (or is
>> that the only page)? Remember you need ALLOWED_HOSTS set in production[1]
>>
>> [1]https://docs.djangoproject.com
It's the only page; I'll double-check allowed hosts...
Thanks.
On Fri, Aug 15, 2014 at 11:30 AM, C. Kirby wrote:
> Is it only occurring on the flatpages test page or all your pages (or is
> that the only page)? Remember you need ALLOWED_HOSTS set in production
Is it only occurring on the flatpages test page or all your pages (or is
that the only page)? Remember you need ALLOWED_HOSTS set in production[1]
[1]https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
On Friday, August 15, 2014 12:40:43 PM UTC-5, Lee Hinde wrote:
>
> I
It's /test/. The flatpages admin form won't accept a url that doesn't begin
and end in a slash.
On Fri, Aug 15, 2014 at 10:55 AM, Collin Anderson
wrote:
> What is your page's url? Does it end with a slash?
>
> --
>
--
You received this message because you are
What is your page's url? Does it end with a slash?
--
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 gro
I added flatpages to a project and got it working fine locally, using dev
server, but I get a 404 accessing my test page when I push to production.
Googling the issue, most common complaints fixed by making sure SITE_ID
was set, and that's in place in my site.
I'm not using middl
Fixed. After some Google-fu I set SITE_ID = 2 and it worked.
On Monday, January 20, 2014 4:41:05 PM UTC-8, James wrote:
>
> I’m having trouble implementing flatpages in Django 1.5.1 - I’m new to
> Django/Python (~3 months) so any insight is appreciated.
>
> I’ve added flatpa
I’m having trouble implementing flatpages in Django 1.5.1 - I’m new to
Django/Python (~3 months) so any insight is appreciated.
I’ve added flatpages in APPS and MIDDLEWARE_CLASSES and ran a syncdb:
INSTALLED_APPS = (
'django.contrib.auth',
'django.contr
Thank you.
On Sun, Jul 28, 2013 at 7:03 PM, Roberto López López
wrote:
>
> Your message is quite confusing and difficult to understand, I have to
> say. What are you asking for? To show tinymce within your change_form or
> within the admin app? What do you mean by "flat pages"? Which error are y
Your message is quite confusing and difficult to understand, I have to
say. What are you asking for? To show tinymce within your change_form or
within the admin app? What do you mean by "flat pages"? Which error are
you getting?
On 07/28/2013 08:35 AM, Karl Arunachal wrote:
> Hello,
> I am tryi
On 07/28/2013 08:35 AM, Karl Arunachal wrote:
> ||
--
Roberto López López
System Developer
Parallab, Uni Computing
+47 55584091
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
Hello,
I am trying to use tinymce in the flat pages. But i just can't show it up
in my admin. Please help me out where am going wrong.
The javascript file is in:
C:\Users\Kakar\web\cms\static\js\tinymce\tinymce.min.js
urls.py:
(r'^tiny_mce/(?P.*)$', 'django.views.static.serve', { 'document_root
Hello,
I am looking for a way to track links clicked on my website, so I can see
what is being used.
Most pages are flat pages, so our my own design.
Thanks
Frank
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
Sunday, April 21, 2013 4:53:40 PM UTC-4, Carlos Aboim wrote:
>
> Hi
>
> tell me, where should live css files for flatpages,
> these need a special folder for server to find them as for apps for
> example?
>
> thank you!
>
--
You received this message because you are subs
Hi
tell me, where should live css files for flatpages,
these need a special folder for server to find them as for apps for example?
thank you!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
If I add a record and do not select the sites dropdown, I get
ValueError at /admin/flatpages/flatpage/1/
Cannot use None as a query value
Request Method:POSTRequest URL:
http://127.0.0.1:8000/admin/flatpages/flatpage/1/Django Version:1.4.3Exception
Type:ValueErrorException Value:
Cannot use
The flatpages view is not provided the context which includes 'posts'.
IMO you are correct with the {% load posts %} technique because it is
entirely as result of the template you are using that requires you display
that information -- if that makes sense.
In other words it's
I have a Django app called blogengine which does exactly what the name
implies. I can't seem to get data from blogengine (posts) to display in
templates when they're called by flatpages. I'm new to Django but I assume
this is a urls.py issue.
My urls.py:
from django.conf.urls.
This was a bug in the flatpage form validation, where it would throw
an exception rather than give you an error message if you did not
specify any values for the required sites field. Fixed now on git
master. You can also avoid it by being sure to select at least one
site for the page.
Karen
--
h
I dont know much about Python and Django. Whenever i try to save a
flat page i got error:
ValueError at /admin/flatpages/flatpage/add/
Exception Value: Cannot use None as a query value
http://dpaste.com/739338/
I am using Python 2.7.3 and Django 1.4 ad sqlite3 as database
--
You received this
Hello everyone,
What is your aproach or what app do you use in order to make translations
for django flatpages and project apps models?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web vi
Sorry for the question, but I can't seem to track down a place to
start.
I've got a fairly simple django site that includes flatpages. I'm
trying to require authentication to view one or two of the flatpages
(like I would with a .htaccess, for instance). When I go to the
admin
e my. This helped.
With regards,
Paul.
> On Wed, Jul 6, 2011 at 3:32 PM, Paul van der Vlis <mailto:p...@vandervlis.nl>> wrote:
>
> Hallo!
>
> I am a real beginner in Django, I try to install a new chat application
> called HelpIM, you will not know it.
/urls/
On Wed, Jul 6, 2011 at 3:32 PM, Paul van der Vlis wrote:
> Hallo!
>
> I am a real beginner in Django, I try to install a new chat application
> called HelpIM, you will not know it.
>
> My problem is that the flatpages do not work. I can create a flatpage in
> the admin-i
Hallo!
I am a real beginner in Django, I try to install a new chat application
called HelpIM, you will not know it.
My problem is that the flatpages do not work. I can create a flatpage in
the admin-interface, but when I go to it, I always see a "page not
found" message from Hel
I had my settings.py exactly like you suggested.
I realized that the template tag loadflatpages is available in the
Trunk, and not available in 1.2.3 or 1.2.4
I was confused because the documentation for 1.2.3 talks about the
load flatpages tag (and there is a disclaimer there that says
ontrib.sites',
'django.contrib.messages',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
'django.contrib.admindocs',
'django.contrib.flatpages
Hi:
I am trying to use flatpages in my app, and i set up the settings.py
correct, and I am able to create the flatpages using the admin site.
However, when in my app I try to load the template tags for flatpages
using:
{% load flatpages %}
I get a
TemplateSyntaxError
Exception Value:
'flat
Thank you sooo much :)
--
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 opt
Hello TheRedRabbit,
On Jan 22, 12:02 pm, TheRedRabbit wrote:
> Instead of one form it displayed 3, is there a way to default it to
> display only one
> form?
Perhaps this will do the trick <
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.InlineModelAdmin.extra
>.
Hi Daniel
Thanks for the response. I actually tried that and the only issue I
had
with stacked inline was it made the admin page look real ugly.
Instead of one form it displayed 3, is there a way to default it to
display only one
form?
Thanks again.
--
You received this message because you are
set'. Add a related_name argument to
> the definition for 'sites'.
> my_flatpages.flatpage: Accessor for m2m field 'my_sites' clashes with
> related m2m field 'Site.flatpage_set'. Add a related_name argument to
> the definition for 'my_sites'
atpage: Accessor for m2m field 'my_sites' clashes with
related m2m field 'Site.flatpage_set'. Add a related_name argument to
the definition for 'my_sites'.
Im not sure whats wrong here. I copied the flatpages app to my python
path so I can modify it
and now this is wher
I found this
http://groups.google.com/group/django-users/browse_thread/thread/865e1d3b52f18bb6
It explains that you would have to copy the flatpages module and
modify it, instead of
modifying the actual flatpage in the django installation.
The link does not work so Il post my solution once I
I want to add a new form to the admin interface of the Flatpages app.
The only way I can think of doing this is by hacking the actual django
flatpages app.
What Im trying to add is an optional form that can be filled in from
the admin interface
of the flatpages app and it will display an advert
As far as I know I constructed the urls properly. For example one of
them was /policy/ (that's how it looked in flatpages). I did find
another work around though.
I removed the flatpages middleware from my settings. And then I added
this to my urls:
urlpatterns += patterns('',
2010/9/27 Josh :
> bump. Does anyone have any ideas?
Trailing slash issue?
Just look into the middleware and see when the response code is modified.
Regards,
Piotr
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
bump. Does anyone have any ideas?
On Sep 24, 3:56 pm, Josh wrote:
> I have a django project, its a satchmo store. I have noticed that
> when the flatpages middleware is in my settings.py 404s seem to be
> handled incorrectly. i.e. if a page really does not exist the server
> first
bump. Does anyone have any ideas?
On Sep 24, 3:56 pm, Josh wrote:
> I have a django project, its a satchmo store. I have noticed that
> when the flatpages middleware is in my settings.py 404s seem to be
> handled incorrectly. i.e. if a page really does not exist the server
> first
I have a django project, its a satchmo store. I have noticed that
when the flatpages middleware is in my settings.py 404s seem to be
handled incorrectly. i.e. if a page really does not exist the server
first sends a 302 response, then a 404. When google crawls it only
sees the 302 so it thinks
hi group.
Got an issue I need some help with asap. I have flatpages installed
and a url at / for my home page.
I've also got a form on my home page powered by a view.
my urls portion for this view is:
rr'^$','DoNewsLetter'),
my issue is this... the view executes pe
Actually, I would *avoid* modifying the flatpages source, but that does
raise a good point -- look at the source and copy/paste the Meta defined
inside the class, making the overrides you need in your subclass (redefine
the Meta).
You'll have to watch for changes if/when you switch django ver
On Tue, Aug 31, 2010 at 14:11, Karim Gorjux wrote:
> I would like to
> realize a easy admin page for my flat pages that in Django-CMS is
> called "site map".
I found what I need. Is here: http://code.google.com/p/django-mptt/
--
Karim Gojux
www.karimblog.net
--
You received this message becau
Try to modify the flatpages source! You can find it directly in your
django installation.
--
Karim Gojux
www.karimblog.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegrou
The meta class instance is accessed through ClassName._meta -- not
ClassName.meta
I tried this when I got back last night and had (other) issues myself, so
this might not be the right approach anyway.
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
Thanks Owen but is doesn't work. The similar Error message:
contribute_to_class
if self.meta:
AttributeError: 'Options' object has no attribute 'meta'
On Aug 30, 8:03 pm, Owen Nelson wrote:
> Sorry to be guessing here, but I was looking at something similar recently.
> My attempt (untested a
Hi all! I'm working to create my CMS on Django, I would like to
realize a easy admin page for my flat pages that in Django-CMS is
called "site map". How I can do that? Are there any tutorial or how to
about that? Have you any advice?
Thanks!
The site map in Django-CMS:
http://www.django-cms.org/m
Sorry to be guessing here, but I was looking at something similar recently.
My attempt (untested at this point) would be something like:
from copy import copy
class NewFlatpage(FlatPage):
_meta = copy(FlatPage._meta)
_meta.verbose_name_plural = "foo"
--
You received this message because
I was try
class Meta(FlatPage.Meta):
but when runserver there is following error:
AttributeError: type object 'FlatPage' has no attribute 'Meta'
any other solution to try?
Thanks
On Aug 30, 12:53 am, Steve Holden wrote:
> On 8/29/2010 6:51 PM, Goran wrote:
>
> > Thanks for the answer Stev
On 8/29/2010 6:51 PM, Goran wrote:
> Thanks for the answer Steve. I'm Django and Python novice and here is
> what I was try. But it doesn't work.
>
> from django.contrib.flatpages.models import FlatPage
>
> class NewFlatpage(FlatPage):
>
> class Meta:
The Meta class would need to subclass F
Thanks for the answer Steve. I'm Django and Python novice and here is
what I was try. But it doesn't work.
from django.contrib.flatpages.models import FlatPage
class NewFlatpage(FlatPage):
class Meta:
verbose_name_plural = "New_name"
On Aug 26, 4:39 am, Steve Holden wrote:
> On 8
On 8/25/2010 8:26 PM, Goran wrote:
> I need another verbose_name_plural for Flat pages so i need to
> override class meta for it right? How can I do that?
>
[Caveat: this is a guess from general Python knowledge]
Have you tried creating a subclass of Flatpage, whose body simply
declares a Meta cl
I need another verbose_name_plural for Flat pages so i need to
override class meta for it right? How can I do that?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscrib
want to hit the database for every page view.
On Tue, Aug 24, 2010 at 3:00 AM, OliverMarchand
wrote:
> Dear all,
>
> I am thinking of creating a website that displays "mostly" database
> content, but for special content I am using flatpages. Now somehow I
> must put a l
Dear all,
I am thinking of creating a website that displays "mostly" database
content, but for special content I am using flatpages. Now somehow I
must put a link to the flatpages somewhere, most likely in a menu. If
I put the menu in my base template, then there is no way to insert
th
d and needs doc
> improvement ...
>
>
Directly from http://docs.djangoproject.com/en/dev/ref/contrib/flatpages/:
> The middleware only gets activated for 404s – not for 500s or responses of
> any other status code.
It really is not good practice to convert a 404 or 500 error to a proper
You need to have a 500.html and a 404.html defined when DEBUG=False.
See: http://code.djangoproject.com/ticket/3335
Hope this helps!
Dan Harris
dih0...@gmail.com
On Jun 8, 2:56 pm, adrian wrote:
> tracked the problem more down...
>
> the problem appeared when using own handler404/handler500 vi
tracked the problem more down...
the problem appeared when using own handler404/handler500 views and
returning the invalid HttpResponse instead of HttpResponseNotFound/
HttpResponseServerError. This is not documented and needs doc
improvement ...
--
You received this message because you are subs
On 8/06/2010 4:58pm, adrian wrote:
Hello Guys,
on all my projects I have the problem that setting DEBUG=False in
settings.py disables flatpages (404 Pages are displayed).
This also applies to newly created projects. This happens with Django
version 1.2.1. Can someone confirm this with his
Hello Guys,
on all my projects I have the problem that setting DEBUG=False in
settings.py disables flatpages (404 Pages are displayed).
This also applies to newly created projects. This happens with Django
version 1.2.1. Can someone confirm this with his deployments?
Additionally if running the
I decided this problem. The matter of it was SITE_ID in settings.py.
The facto of the matter that Flatpages from box has default site
example.com as default. If you create new your site before deleting
example.com you get SITE_ID: 2 and etc for your site. After that you
can delete example.com but
Hi, everybody! I tried to set Flatpages about 3 days but I could get
only "404" error in browser. If someone had a few time look at my
settings: http://files.mail.ru/JXHUOU
Enter for admin part: user:Django, pass:Django
Regards.
--
You received this message because you are subscri
the general
method I can apply it to all my database tables.
Hope this helps someone.
-Tim
On Fri, Feb 19, 2010 at 1:09 PM, Timothy Kinney wrote:
> I started playing with this last night and got about as far as you
> mentioned here. What I want to be able to do, though, is write a python
n Fri, Feb 19, 2010 at 11:13 AM, Rick Caudill wrote:
> Hi all,
>
> I just came across a need to provide initial data for flatpages. I have
> read before that people have asked to do this. It is easier than thought
> :)
>
> 1. Create your content via the admin interface
&
Hi all,
I just came across a need to provide initial data for flatpages. I have
read before that people have asked to do this. It is easier than thought
:)
1. Create your content via the admin interface
2. Run 'python manage.py dumpdata flatpages > data.json'
3. When you want t
got some of this working, i'll leave this here so the next guy that
searches can find some info
install flatpages and comments, that much is easily found in the
django docs
flatpages comes with a field for enabling comments per flatpage, I'm
not sure how that control works yet this
anyone setup comments with flatpages?
doesn't appear to be documented anywhere other than each individually,
maybe nobody wants it to be too easy
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
Ok, just restarted (I actually restarted many times) and it magically
started working.
On Jan 31, 12:47 am, Rodrigo wrote:
> I'm following the tutorial on the book "Practical Django Projects",
> and I just can't inline the SearchKeywords to Flatpages, maybe the
>
I'm following the tutorial on the book "Practical Django Projects",
and I just can't inline the SearchKeywords to Flatpages, maybe the
problem lays in the fact that I'm using the development version of
django. It doesn't output any error, it just shows the flatpage
Hi all,
How can I supress help_texts of flatpages' fields without modifying core
code of django contrib.
Thanks.
--
Ali Rıza Keleş
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
I wonder if it's possible to store flatpages outside the database? It would
be great if eg. the path to a title file and content file could be put into
the flatpage database table (instead of entering the title and content
directly). While I can simply copy files from a development computer
Correction: I meant fork and not "port".
On Dec 6, 3:36 pm, TheLastBookworm
wrote:
> Hi,
>
> I'm getting a error when attempting to edit a flatpage.
>
> "Http404 at /admin/flatpages/flat/
>
> App u'flatpages', model u'flat', not found
Hi,
I'm getting a error when attempting to edit a flatpage.
"Http404 at /admin/flatpages/flat/
App u'flatpages', model u'flat', not found. "
This is the same error I get when I try to edit a non-existent
flatpage.
After some googling I discovered that site I
On Mon, 2009-11-30 at 16:36 -0800, Nev wrote:
> Hey,
>
> Today I did a bunch of searching and reading to find what is the best
> way to have flatpages presented in multiple languages. Flatpages
> apparently don't support internationalization and I went down several
>
hi,
i didnt work on that yet but i will in the next weeks because ill need
the content translated on flatpages.
wouldnt it be easier to subclass the flatpages model or to get the
flatpages package and make the modifications there to get a
custom_flatpages app?
im thinkin that because im already
Hey,
Today I did a bunch of searching and reading to find what is the best
way to have flatpages presented in multiple languages. Flatpages
apparently don't support internationalization and I went down several
avenues looking for the recommended way, and finding various things
that appeare
url pattern (if you don't need custom view) and
everything should work out fine i think.
url(r'^login/$', 'login',
{'template_name': 'registration/login.html'},
name='login'),
[1]
http://docs.djangoproject.com/en/dev/ref/contr
I have a problem with the CSRF framework, and i'm just checking here
to see if anyone else ran into this problem and hopefully found a
solution. Here is my problem:
I have a login form on the base template of my site. The home page is
just a flatpage. My login processor is csrf protected. I have t
An update.
The correct behaviour occurs when the site is served via apache and
fcgi from my A Small Orange account. But the incorrect behaviour
occurs when the site is served locally using 'manage.py runserver'.
--
You received this message because you are subscribed to the Google Groups
"Djang
I figured it out, thanks.
On Nov 11, 12:00 pm, neridaj wrote:
> sorry, I'm just trying to use the dev server and added that url:
>
> (r'^site_media/(?P.*)$', 'django.views.static.serve',
> {'document_root': '/Users/neridaj/django-templates/
> neridaj/'}),
>
> the url for static_m
sorry, I'm just trying to use the dev server and added that url:
(r'^site_media/(?P.*)$', 'django.views.static.serve',
{'document_root': '/Users/neridaj/django-templates/
neridaj/'}),
the url for static_media is being appended to the flatpage i.e.,
Failed to load source for:
htt
On Nov 11, 3:48 pm, neridaj wrote:
> On Nov 11, 12:07 am, Daniel Roseman wrote:
> >
> > Have you set anything up to serve media files?
> I have a symbolic link named site_media in my project directory.
How does that answer the question? What is serving the media files?
http://docs.djangoproje
I have a symbolic link named site_media in my project directory.
On Nov 11, 12:07 am, Daniel Roseman wrote:
> On Nov 11, 7:50 am, neridaj wrote:
>
>
>
>
>
> > I'm trying to use some flatpages for static content and I don''t
> > understand why the
On Nov 11, 7:50 am, neridaj wrote:
> I'm trying to use some flatpages for static content and I don''t
> understand why they keep failing to load media files. I have my
> template_dirs defined, media_root and media_url - when used in
> template does not resolve t
I'm trying to use some flatpages for static content and I don''t
understand why they keep failing to load media files. I have my
template_dirs defined, media_root and media_url - when used in
template does not resolve to media_root i.e., template contains:
results in:
Failed
I've still not managed to get this to do the documented behaviour.
Anyone? Please.
On Oct 27, 1:38 am, Nev wrote:
> Hello,
>
> I have done the tinymce thing for my flatpages, but it only works if I
> put mychange_form.htmlunder templates/admin. If I put it under
> template
Hello,
I have done the tinymce thing for my flatpages, but it only works if I
put my change_form.html under templates/admin. If I put it under
templates/admin/flatpages or templates/admin/flatpages/flatpage it is
ignored. I am using django 1.1.1. Can anyone tell me what I've missed.
Do I ha
I've got a problem with flatpages. I've got a single apache instance
running mod_python, and two different django sites that it's serving.
Both django sites have completely different databases... different
database engines even (one is postgres, one is sqlite3), but the
flatpages
If you're trying to add template tags, check this out:
http://docs.djangoproject.com/en/dev/howto/custom-template-tags/
Your custom tags go in a directory named "templatetags" in your app
directory.
Shawn
--~--~-~--~~~---~--~~
You received this message because
Hello, i've been having a look at this post on overmortal about
Extending Django's Flatpages:
http://www.overmortal.com/blog/post/17-extending-django-s-flatpages
specifically this section "
Finally, in order to continue using the flatpages/default.html
template file as the si
Hi,
I had the same problem with the SITE_ID mismatched. I also found you
can just recognize the SITE_ID from the admin page by editing the site
form and checking the URL like (http://localhost:8000/admin/sites/site/
1/). The last number on URL is exactly the SITE_ID of your site name.
Just a tip!
Thank you! That has resolved my problem.
The admin shell does not show the site id number by default, so I
supposed that removing the default 'example.com' and adding 'mysite'
would enable Django to reuse id 1. I should have assumed otherwise -
the new site was id == 2, of course. I should have e
1 - 100 of 334 matches
Mail list logo