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 / tagging /
filename size last modified message
templatetags  
tests  
__init__.py 885 B 18 months ago Django trunk, ftw.
admin.py 136 B 18 months ago Django trunk, ftw.
fields.py 3.6 KB 18 months ago Django trunk, ftw.
forms.py 1.3 KB 18 months ago Django trunk, ftw.
generic.py 1.9 KB 18 months ago Django trunk, ftw.
managers.py 2.3 KB 18 months ago Django trunk, ftw.
models.py 19.0 KB 18 months ago Django trunk, ftw.
settings.py 480 B 17 months ago Forgot settings from tagging, sometimes .hgignore is evil :)
utils.py 8.4 KB 18 months ago Django trunk, ftw.

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