Viewing posts for the category Django
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.
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:
These are some Linux commands that I find myself searching for on a consistent basis. These commands are used primarily on Arch Linux distros.
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