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 / biologeek /
filename size last modified message
templates  
__init__.py 0 B 2 years ago Let the beast goes on
context_processors.py 383 B 17 months ago Handle media expiration, the right way
feeds.py 6.8 KB 12 months ago Higher limit for media feeds
manage.py 584 B 18 months ago Add a photos section
markdown.py 66.6 KB 2 years ago Add syntax highlight from js
middlewares.py 1.5 KB 2 years ago Missing unexpected redirection
migration.py 23.3 KB 2 years ago from migration import nightmare
redirections.py 4.3 KB 17 months ago Photos still in progress
sitemaps.py 1.2 KB 2 years ago Let the beast goes on
slughifi.py 8.6 KB 18 months ago Django trunk, ftw.
urls.py 6.5 KB 9 months ago Weird referer from facebook?
utils.py 535 B 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