On Mon, 2008-03-03 at 12:17 -0800, bfrederi wrote:
> I am using flatpages on a production box, and whenever I don't set
> DEBUG to True in the settings.py file, the middleware won't redirect
> to my flatpages for some reason. It gives me a 'TemplateDoesNotExist:
&
I am using flatpages on a production box, and whenever I don't set
DEBUG to True in the settings.py file, the middleware won't redirect
to my flatpages for some reason. It gives me a 'TemplateDoesNotExist:
404.html' error message.
It works perfectly fine on another box, an
writes:
| Is there anyway to change the order that the urls are checked? For
| example I have an about us page that is generated by a url conf. I
| want my designer to make his own about us page with flatpages and
| therefore 'overwrite' the url that is autogenerated. I know right now
|
Is there anyway to change the order that the urls are checked? For
example I have an about us page that is generated by a url conf. I
want my designer to make his own about us page with flatpages and
therefore 'overwrite' the url that is autogenerated. I know right now
flatpages chec
This broke my site so I had to fix it. I ended up fixing the Flatpages
app to behave with APPEND_SLASH=True. I added a ticket with a patch
(also to docs): http://code.djangoproject.com/ticket/6309
- VS
--~--~-~--~~~---~--~~
You received this message because you
I'm not sure if this is a bug in my setup, a bug in Django or not a
bug at all. I have the great APPEND_SLASH=True in my settings for
canonical urls, and I'm using contrib.flatpages. Problem is, after the
changes in r6582, all flatpages with url ending slash (ie, all of my
flatpag
*erch* seems as if I also trapped into the SITE_ID problem ...
see here
http://groups.google.com/group/django-users/browse_thread/thread/6b0c21bb395df46/a1c24b6c76dc6ac1?hl=de&lnk=gst&q=flatpages#a1c24b6c76dc6ac1
On 8 Dez., 02:04, zero <[EMAIL PROTECTED]> wrote:
> hm ..
make flatpages
work.
Any idea?
settings.py:
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.flatpag
Hi... Thanks for the help.Btw, Isn't 17 hours n 24 min 'a bit more
than' 16 hours? If not, then how much is 'bit more'? Please ignore if
you don't know. Do a google search?lol.Thanks all the same.
--~--~-~--~~~---~--~~
You received this message because
On Thu, 2007-10-25 at 23:25 -0700, AniNair wrote:
> Cannot internationalize them?
It's generally considered polite to wait a bit more than 16 hours before
posting a "hurry up" repost when nobody has responded.
There is no core Django support for translating content stored in the
database. Do a g
Cannot internationalize them?
--~--~-~--~~~---~--~~
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 [E
Hi..
Is it possible to translate flatpages? If yes, how? Please suggest
any docs available (couldn't find any). Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
Thanks Marcin,
The problem is solved. The issue was a result of site_id not
matching. (the one in settings.py and the site_id I was trying to use.
(Thanks to the help from satheesh. :-) ))
--~--~-~--~~~---~--~~
You received this message because you are subs
Hi,
> I get the add flat page in admin, but after adding a flat page,when i
> try to 'view on site', it gives me a 404 error.Can you tell me why
> isn't FlatpageFallbackMiddleware working?And yes, I did add the
> trailing slashes as url. (eg: /about/). Please advice. Thank you.
Did you add dja
Hi .
I am using django .97 , pre with python 2.5.1. I am trying to use
flat pages, this is my middleware_cllasses in settings
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.Au
Thank alot for the reply. I tried that, then django won't return 404
error and tinymce won't work too. django returns
[10/Oct/2007 18:04:44] "GET /admin/jsi18n/ HTTP/1.1" 200 803
Thats all. No ref to /media/js/tiny_mce/tiny_mce.js
Any ideas?
--~--~-~--~~~---~--~
Ah ha. never mind, i found the problem.
I have a context processor that is run on every page to determine if a
new flatpage needs to be created (we are using them in a help system).
Unfortunately, this was being run on the flatpag itself and couldn't
resolve the url as a view and so threw a 404.
Try to prepend a slash to your src attribute:
Should be
/media/js/tiny_mce/tiny_mce.js
not
media/js/tiny_mce/tiny_mce.js
hope that helps
pe
On 10 Okt., 13:50, AniNair <[EMAIL PROTECTED]> wrote:
> Hi,
> I am trying to add tinymce to flatpages in admin using
> change_fro
Hi,
I am trying to add tinymce to flatpages in admin using
change_from.html in admin/flatpages/flatpage.
this is change_form.html
{% extends "admin_copies/change_form.html" %}
{% block extrahead %}{{ block.super }}
{% endblock %}
Django is returning error that
[10/Oct/2007 17:0
Hi all,
I have (as far as I am aware) installed the flatpages app correctly,
set up the MIDDLEWARE_CLASSES correctly, got a flatpages/default.html
template on my template path, got the leading and trailing slashes on
my flatpages (created via the admin interface) adn my SITE_ID is set
to the
May be you forgot to add trailing slash to your flatpage url.
On Sep 23, 11:05 pm, AniNair <[EMAIL PROTECTED]> wrote:
> I tried doing it without the url, it returns a 404 error. The doc says
> that Each time any Django application raises a 404 error, the
> middleware check
Ross Poulton wrote:
>
>
> Try creating a template called '404.html' (Even if it's empty for
> starters; but you should put a useful message in there before go-live)
> and see if your flatpages work with Debug turned off.
>
>
> >
>
>
I have
I tried doing it without the url, it returns a 404 error. The doc says
that Each time any Django application raises a 404 error, the
middleware checks the flatpages database for the requested URL as a
last resort. Yes I have added the middleware
Hi...
Can you tell me then what should the url cof be like? It links the
url to the function in the view mod. If there is no function in view
then? I have to give the url i belive Thank you
--~--~-~--~~~---~--~~
You received this message because you are sub
You don't need view for you flatpages. View is provided by the
fratpages application.
On Sep 21, 6:30 am, AniNair <[EMAIL PROTECTED]> wrote:
> Hi...
> Can someone help me with flat pages? I tried exactly what they say
> in the pagehttp://www.djangoproject.com/documentatio
Hi...
Can someone help me with flat pages? I tried exactly what they say
in the page http://www.djangoproject.com/documentation/flatpages/
I get the html template to render but the contents are missing. Plz
advice. Thank you
my template code is
{{ flatpage.title }}
Privacy
OK - fixed it for me, kinda...
I was pushing the flatpage content though the textile markup plugin
and removing this seemed to fix the 404s.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
I'm having the same problem over here - after checking out the latest
svn version (6373), my own middleware flat out broke (response object
does not have header instance). When I removed that middleware, all my
flat pages are throwing 404's. Super weak.
--~--~-~--~~~
Try creating a template called '404.html' (Even if it's empty for
starters; but you should put a useful message in there before go-live)
and see if your flatpages work with Debug turned off.
--~--~-~--~~~---~--~~
You received this message
ages.middleware.FlatpageFallbackMiddleware',
>> > > > )
>>
>> > > > Any help or suggestions would be greatly appreciated.- Hide quoted
>> text -
>>
>> > > - Show quoted text -
>>
>> > I'v
For the record, you cannot subclass django models yet :)
--~--~-~--~~~---~--~~
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 t
I do exactly this by adding a template
admin/flatpages/flatpage/change_form.html
That simply looks like (your tiny_mce location may vary):
{% extends "admin/change_form.html" %}
{% block extrahead %}{{ block.super }}
{% endblock %}
Hope that helps
Tom
On Wed, 2007-09-12 at 1
Hi,
I would like to add tinymce to my flatpages in the admin. But the
only way I can figure out how to do this is modifying django/contrib/
flatpages/models.py.
Is there a way I can subclass the flatpages model and reference it
from the django flatpage app? I'm confused.
Thanks for
I have deployed a app on Apache with mod_python. I have the flat pages
app+middleware installed.
If I let debug = True in my settings.py and try to access any flatpage
url they work fine. But if I put the debug = False in settings.py, the
flatpages return 500 http respnse. Any way I can try to
On Sep 9, 8:52 pm, Brian Morton <[EMAIL PROTECTED]> wrote:
> What happens if you use a simple or dummy cache?
>
> On Sep 9, 2:51 pm, Sasha Weberov <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Sep 9, 6:15 am, Thomas Badran <[EMAIL PROTECTED]> wrote:
>
> > > My best guess would be that you are missing
What happens if you use a simple or dummy cache?
On Sep 9, 2:51 pm, Sasha Weberov <[EMAIL PROTECTED]> wrote:
> On Sep 9, 6:15 am, Thomas Badran <[EMAIL PROTECTED]> wrote:
>
>
>
> > My best guess would be that you are missing the / at the start and end
> > of the url
>
> > Tom
>
> > On Sat, 2007-0
On Sep 9, 6:15 am, Thomas Badran <[EMAIL PROTECTED]> wrote:
> My best guess would be that you are missing the / at the start and end
> of the url
>
> Tom
>
>
>
> On Sat, 2007-09-08 at 21:00 -0700, Sasha Weberov wrote:
> > All of my flatpage pages throw a 404. If I turn debug on which
> > disable
My best guess would be that you are missing the / at the start and end
of the url
Tom
On Sat, 2007-09-08 at 21:00 -0700, Sasha Weberov wrote:
> All of my flatpage pages throw a 404. If I turn debug on which
> disabled cacheing they re-appear. I've tried restarting memcached and
> my SCGI server
All of my flatpage pages throw a 404. If I turn debug on which
disabled cacheing they re-appear. I've tried restarting memcached and
my SCGI server as well as Apache and it did nothing. I've also svn'd
the latest Django trunk; the problem still persists. Anyone got any
idea what can possibly be ca
On Aug 8, 10:48 am, "Jay Parlar" <[EMAIL PROTECTED]> wrote:
> On 8/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > I dunno. Never had a problem with them before. Lemme try the subdomain
> > thing.
>
> Also, make sure you've got all the correct templates and everything,
> as described
On 8/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I dunno. Never had a problem with them before. Lemme try the subdomain
> thing.
Also, make sure you've got all the correct templates and everything,
as described in the documentation. That's caused issues for me as
well.
Jay P.
--~--~-
set up as test.domain.com,
> > could that hose it? Should I just have domain.com?
>
> Not really sure :) All I know is that I've had 404s with flatpages
> before, and it's always because I forgot to change out the default
> "example.com" in Sites.
>
> Ja
On 8/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Unless it's the subdomain... I've got it set up as test.domain.com,
> could that hose it? Should I just have domain.com?
Not really sure :) All I know is that I've had 404s with flatpages
before, and i
Unless it's the subdomain... I've got it set up as test.domain.com,
could that hose it? Should I just have domain.com?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
>
>
>
> > OK, I've looked over this again:
> >http://www.djangoproject.com/documentation/flatpages/
>
> > I've got
> > MIDDLEWARE_CLASSES = (
> > 'django.middleware.common.CommonMiddleware',
> > 'django.con
On 8/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> OK, I've looked over this again:
> http://www.djangoproject.com/documentation/flatpages/
>
> I've got
> MIDDLEWARE_CLASSES = (
> 'django.middleware.common.CommonMiddleware',
>
OK, I've looked over this again:
http://www.djangoproject.com/documentation/flatpages/
I've got
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.
Ah ha! I just looked through my settings.py file and noticed the setting:
SITE_ID = 1
I decided to double check the raw data for the django_sites table and my
site id is '2'. (I think id 1 used to be 'example.com' but I had deleted it
instead of renaming it, thus creating a mismatch with SITE_ID).
On 7/16/07, John-Scott <[EMAIL PROTECTED]> wrote:
> Can someone in the know confirm or deny that adding the catch-all line
> to urls.py is in fact required to invoke flatpages?
No, it's not; the fallback middleware works fine for me. If it's not
working for you, chances ar
Can someone in the know confirm or deny that adding the catch-all line
to urls.py is in fact required to invoke flatpages? I checked out the
source for djangoproject.com and it has this as the last item in
urlpatterns:
(r'', include('django.contrib.flatpages.urls')),
If this
Yes sir. I followed the examples in the official docs literally and in order
(http://www.djangoproject.com/documentation/flatpages/#installation steps
1-3). That worked fine and I was able to immediately start creating
flatpages via the admin interface. But I cannot view flatpages on the site.
I
Hi John-Scott --
Did you add 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware'
to your ``MIDDLEWARE_CLASSES`` setting?
Jacob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
hi gang,
I'm trying out the flatpages app but not having a great deal of
success. I've followed the instructions at
http://www.djangoproject.com/documentation/flatpages/.
I've added a directory in my templates folder (templates/flatpages/
default.html) according to the
nevermind...
i should have looked at the flatpages module before posting: it's super
simple. I'll just copy it to my apps and modify it
Eric St-Jean a écrit :
> Hi,
> Is there a way to specify different flatpages for the same url, but for
> a different language???
>
Hi,
Is there a way to specify different flatpages for the same url, but for
a different language???
So it would default to the one page if there's only one defined, but if
language is fr-fr and there's a page of the same url defined for tha
language, it would return that version inst
Malcom is right, they're not as bad as they sound. :-)
In the case of the two things you mentioned wanting, latest news and a
calendar, the following existing template tags may just hook you up:
James Bennett's get_latest__ is copy-and-paste-able and works very
well. I use a slightly modified ve
Or you might also want to check out Generic Content Tags:
http://code.google.com/p/django-template-utils/wiki/GenericContentTags
Part of the Django template utils that James put together:
http://code.google.com/p/django-template-utils/
-Michael
On Jun 3, 1:14 pm, Malcolm Tredinnick <[EMAIL PROT
On Sat, 2007-06-02 at 14:54 -0700, [EMAIL PROTECTED] wrote:
> Oh no, that can not be! I just read this "Writing your own template
> tags", it is quite complicated. Isn't there another way? Something
> like "While you fetch the text for the flatpage, check the view
> 'random_testemonial' and then g
On 6/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> As said in the docs http://www.lawrence.com/about/staph/ is a flatpage
> but it contains extra date like that calendar and the latest news. So
> I actually just want to know how to get this additional dynamic
> content on my flatpage.
Thos
doing. They are deceptively powerful.
>
> .. __:http://www.djangoproject.com/documentation/templates_python/#writing-...
> .. __:http://www.b-list.org/weblog/2006/06/07/django-tips-write-better-temp...
>
> Just put them in your flatpages/default.html template.
> - whiteinge
>
> On Ju
-tags
Just put them in your flatpages/default.html template.
- whiteinge
On Jun 2, 10:42 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi All.
>
> I have got a question about flatpages. Supposed I have a "static" page
> that says how great my product i
Hi All.
I have got a question about flatpages. Supposed I have a "static" page
that says how great my product is, I could use a flatpage for this. No
Problem. But if I want to have something like a random quote or
testimonial on that page too, is that possible?
As said in the
OK never mind about this. It was my error, I was creating some URLs
like this:
/{{var}}/path1/path2/
and sometimes var wasn't set so the url becomes:
//path1/path2/
which replaces everything in the browser...
--~--~-~--~~~---~--~~
You received this message bec
I have a problem with flatpages.
When putting links in my templates, I use absolute URLs without
prepending http://hostname.com/
For example, Home gets interpreted by the browser as a
link to http://hostname.com/, and all is correct.
However, when a flatpage is being served, those links get
On 5/17/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 5/16/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> > Already done, though under-documented.
> > http://www.djangoproject.com/documentation/templates/#django-contrib-markup
>
> Ah, here, too:
> http://www.djangoproject.com/documentation/add
On 5/16/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> Already done, though under-documented.
> http://www.djangoproject.com/documentation/templates/#django-contrib-markup
Ah, here, too:
http://www.djangoproject.com/documentation/add_ons/#markup
--~--~-~--~~~---~--~---
On 5/16/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote:
...
> I am using middleware as described in the docs. I don't see how to use
> flatpages as a view in the docs. How do you do that?
As the last entry in your urlpatterns, include this:
(r'^(.*)/$','django.
On 5/17/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 5/16/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote:
> > Can anyone here provide pointers on how to get flatpages to work
> > properly under Apache and mod_python?
>
> From yo
On 5/16/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote:
> Can anyone here provide pointers on how to get flatpages to work
> properly under Apache and mod_python?
>From your custom 404, you'll want to return
django.http.HttpResponseNotFound rather that HttpResponse.
Also, ar
Hello,
I am using Django 0.96 and I am currently having problems getting
flatpages middleware to work under Apache with mod_python. I am pretty
sure this is mod_python related since flatpages work fine using the
development server.
I have found at least one thread the mentions this problem
Hi,
I would need to use i18n for flatpages.
Is that possible and if yes, could you share how to define translation
string in flatpages templates.
Regarding to that, I thought about 'flat page builder' app with
ability to divide content to smaller blocks (paragraphs, ..)
The great op
On 07/04/07, Alessandro Ronchi <[EMAIL PROTECTED]> wrote:
>
> Is it possible to add images to flatpages with a wysiwyg editor,
> uploading them to a folder and using them into the page?
There's a rather dated, but probably still working (until
newforms-admin at least, which
I make a static page with images and just cut and paste the HTML from
FrontPage or Dreamweaver. The images need to be stored on a server
that can server images viz Apache.
Ramdas
On Apr 7, 6:09 pm, "Alessandro Ronchi" <[EMAIL PROTECTED]>
wrote:
> Is it possible to add images
Is it possible to add images to flatpages with a wysiwyg editor,
uploading them to a folder and using them into the page?
Thanks in advance.
--
Alessandro Ronchi
Skype: aronchi - Wengo: aleronchi
http://www.alessandroronchi.net - Il mio sito personale
http://www.soasi.com - Sviluppo Software e
> in the settings.
> >
> > > would it be correct to say that the problem would
> > > be solved if there was a way to access project settings from inside
> > > flatpages?
> >
> > Not really. You don't define what you mean, saying "from i
;t want on your production setup.
I use flatpages for all kinds of stuff, and this setup works well.
Derek
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
ld
> > be solved if there was a way to access project settings from inside
> > flatpages?
>
> Not really. You don't define what you mean, saying "from inside
> faltpages" - whether you're talking about models, views, middleware,
> or something else from the
e development site. The root directory is set
in the settings.
> would it be correct to say that the problem would
> be solved if there was a way to access project settings from inside
> flatpages?
Not really. You don't define what you mean, saying "from inside
faltpages" - wh
have you found any solution? i am interested in handling this
situation as well. would it be correct to say that the problem would
be solved if there was a way to access project settings from inside
flatpages?
On Mar 5, 12:44 pm, "Aidas Bendoraitis" <[EMAIL PROTECTED]>
wrote:
>
On 3/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am looking for some way to add initial Flatpages data to my app. I
> am open to either SQL or Django ORM. The pattern of /sql/
> .sql doesn't seem to apply to Flatpages. How can I do
> this?
In the cur
ave a similar situation, how are you dealing with the URLs of
FlatPages? The problem is that in the development version the URLs are
like /example/about/ and in the published version they are like
/about/. So we need to modify all the flatpages when transfer the data
from the development version t
Thanks, this is perfect.
On Mar 4, 2:01 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sun, 2007-03-04 at 01:01 +, [EMAIL PROTECTED] wrote:
> > I am looking for some way to add initial Flatpages data to my app. I
> > am open to either SQL or Django ORM.
On Sun, 2007-03-04 at 01:01 +, [EMAIL PROTECTED] wrote:
> I am looking for some way to add initial Flatpages data to my app. I
> am open to either SQL or Django ORM. The pattern of /sql/
> .sql doesn't seem to apply to Flatpages. How can I do
> this?
Try this:
http://www
I am looking for some way to add initial Flatpages data to my app. I
am open to either SQL or Django ORM. The pattern of /sql/
.sql doesn't seem to apply to Flatpages. How can I do
this?
--~--~-~--~~~---~--~~
You received this message because yo
This is a known bug:
http://code.djangoproject.com/ticket/3335
On Feb 5, 8:53 am, patrickk <[EMAIL PROTECTED]> wrote:
> when I go to one of the flatpages on our site (not admin), I´m
> getting "404 page not found" - but only when debug=False.
> with debug=True, everyth
when I go to one of the flatpages on our site (not admin), I´m
getting "404 page not found" - but only when debug=False.
with debug=True, everything´s fine.
any ideas?
thanks,
patrick
--~--~-~--~~~---~--~~
You received this message because you are
t; wrote:
Hello,
Regarding thehttp://www.djangoproject.com/documentation/flatpages/I
try to:
1 based on django/contrib/flatpages/models.py my app named b - O.K.
2 I'm trying to add to class FlatPage:
keywords = models.CommaSeparatedIntegerField(_('keywords'),
maxlength=200)
Hello,
Regarding the http://www.djangoproject.com/documentation/flatpages/ I
try to:
1 based on django/contrib/flatpages/models.py my app named b - O.K.
2 I'm trying to add to class FlatPage:
keywords = models.CommaSeparatedIntegerField(_('keywords')
raise the question why djangoproject.com does the
homepage as a flatpage rather than direct_to_template generic view.
If I had to guess, I'd say it's because direct_to_template didn't
exist until revision 1247 of Django, and so when the site was
originally put together flatpages
n 1247 of Django, and so when the site was
originally put together flatpages were the only option.
--
"May the forces of evil become confused on the way to your house."
-- George Carlin
--~--~-~--~~~---~--~~
You received this message because you are
eople using template-only flatpages just going ahead and
making flatpage database records with dummy title/content just to
specify the template to use?
(and is this indeed what djangoproject.com itself is doing?)
Off the top of my head, I'd say it depends on how many "template-only&qu
On 1/3/07, James Tauber <[EMAIL PROTECTED]> wrote:
Or are people using template-only flatpages just going ahead and
making flatpage database records with dummy title/content just to
specify the template to use?
(and is this indeed what djangoproject.com itself is doing?)
Off the top
The djangoproject.com site itself seems to use flatpages with the
content entirely in the template.
For example,
http://code.djangoproject.com/browser/djangoproject.com/
django_website/templates/flatfiles/homepage.html
doesn't reference flatpage.title or flatpage.content a
On Dec 22, 7:57 am, "David Blewett" <[EMAIL PROTECTED]> wrote:
Paul Smith wrote:
> Another thing on my mind is
> what would happen if my flatpages start getting all hierarchical on
> me... has anyone had to figure out how to let users manage objects with
> somet
Paul Smith wrote:
Another thing on my mind is
what would happen if my flatpages start getting all hierarchical on
me... has anyone had to figure out how to let users manage objects with
something like a file/folder tree?
You could use the MPTT (modified pre-order tree traversal) app to make
ition".
If you´re interested, I can send you the files ...
btw, jQuery is needed for this one since we use js a for (re)ordering.
patrick
Am 22.12.2006 um 01:46 schrieb Paul Smith:
So I'm working on this site in Django, and turns out there's quite a
bit of static flatpage
nd is
what would happen if my flatpages start getting all hierarchical on
me... has anyone had to figure out how to let users manage objects with
something like a file/folder tree?
Gee, maybe something simple like Zope's file/folder TTW hierarchy with
editing? ;-)
--~--~-~--~~--
So I'm working on this site in Django, and turns out there's quite a
bit of static flatpages-style content involved. I've extended flatpages
(well, started with flatpages and built my own), added rich text
editing and so on, and I'm building some navigation dynamical
> maybe this is the problem 'default.hmlt', did you check it? I've
> generated the same error
> when I've wrote, in default.html, incorrect path to parent template.
> do you have in root template director 404.html file? missing this file
> also generated error
> in my web app when I set DEBUG=Fals
Jani wrote:
> I have a weird problem with flatpages. Everything works fine if I have
> DEBUG=True in the settings.py. However, when I change DEBUG=False
> flatpages gives error:
(...)
> File
> "/opt/local/lib/python2.4/site-packages/django/template/loader_tags.py",
201 - 300 of 334 matches
Mail list logo