Viewing posts for the category Django

Sphinx Mode in Python / SphinxSearch Class

Posted by: scoopseven in Django Python Sphinx 13 years ago

In order to get Sphinx to work in boolean mode in Python/Django, you need to pass the "mode" argument as it's plain text value to the SphinxSearch class.

read more / 0 comments

Rendering a Value as Text in a Django ModelForm

Posted by: scoopseven in Django 13 years ago

If you need to render a Django ModelFormField as text, that is, the value of that form field as text, you can do so by referring to the bound instance for the ModelForm, like so:

read more / 0 comments

Linux Cheatsheet / Commonly Used Commands

Posted by: scoopseven in Django Linux 13 years ago

These are some Linux commands that I find myself searching for on a consistent basis.  These commands are used primarily on Arch Linux distros.

read more / 0 comments

Zinnia, My Django Blog

Posted by: scoopseven in Apple Django Linux Python WordPress 13 years, 1 month ago

UPDATE: 4/7/11 !!! IMPORTANT !!! Read the comments between Julien and I below before installing or deciding to install Zinnia.  It's far easier than I lay out in this post.  I'm leaving here for reference of what not to do :) --Mark

read more / 0 comments

Empty / Default Option for ModelChoiceField in Django

Posted by: scoopseven in Django jQuery 13 years, 1 month ago
UPDATE (8/4/2011):

read more / 0 comments

Recent Tweets

Recent Posts

Archive

2013
2012
2011
2010
2009
2008
2007
2006

Categories

Authors

Feeds

RSS / Atom