Disclaimer: Disabling the security stuff makes it really likely you'll get comment spammed. You should set up some kind of akismet protection on the backend if you disable the security.
If you don't want the checking then you probably want a custom comment form. You can use this method to setup a new form: http://docs.djangoproject.com/en/dev/ref/contrib/comments/custom/#django.contrib.comments.get_form Then use the form base classes with the functionality you want. (You'll probably want to exclude the CommentSecurityForm, and include the generic foreign key information some other way.) http://docs.djangoproject.com/en/dev/ref/contrib/comments/forms/ Hope that helps! Alex On May 5, 5:59 pm, Federico Capoano <[email protected]> wrote: > Hello to all, > > I've just launched my new web-site powered by django and i'm very > satisfied. > > I've implemented StaticGenerator to improve the performance and > loading speed and I have to admit is brilliant. > > Unfortunately i've noticed the comment system doesn't work. This > happens because the pages of the blog are saved as static html pages, > so the timestamp and csfr security stuff are the one saved when the > page was generated. > > I gotta find a fix for this, because I really want my blog pages to be > saved as static html cos this is the best solution to obtain fast > loading speed without overloading my little VPS. > > I think I can generate the timestamp with javascript, but what about > the other two fields (csrfmiddlewaretoken and security hash)? > > If you want to take a look closely this is the > url:http://nemesisdesign.net/blog/ > I hope i'm not breaching any rule by posting the url. > > Thanks > Federico > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

