david / biologeek (http://biologeek.com/)

Source code of biologeek.com weblog under WTFPL.

Clone this repository (size: 252.7 KB): HTTPS / SSH
$ hg clone http://code.welldev.org/biologeek
View at rev
biologeek / search /
filename size last modified message
__init__.py 0 B 2 years ago Let the beast goes on
forms.py 118 B 18 months ago Django trunk, ftw.
views.py 4.1 KB 2 years ago Handle empty search form

README

Documentation for Biologeek
===========================

Installation
------------

Create your own ``settings.py`` file.


Commands
--------

Useful ones:

    * ``crawlfeeds``: if you use the contextual app, this command crawl
      registered feeds. Perfect for a cron.
    * ``ikflush``: flush ImageKit cache and regenerate thumbnails, see
      dedicated documentation for this app.


Patches
-------

For now, you need to apply this 2-lines patch in order to use a custom form 
with comments' contrib app (part of #8630 ticket)::

    Index: django/contrib/comments/__init__.py
    ===================================================================
    --- django/contrib/comments/__init__.py     (revision 9846)
    +++ django/contrib/comments/__init__.py     (working copy)
    @@ -43,6 +43,8 @@
         return Comment
     
     def get_form():
    +    if get_comment_app_name() != __name__ and hasattr(get_comment_app(), "get_form"): 
    +        return get_comment_app().get_form()
         from django.contrib.comments.forms import CommentForm
         return CommentForm