{ "info": { "author": "Horst Gutmann, Curtis Maloney", "author_email": "curtis@tinbrain.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-flatblocks\n=================\n\ndjango-flatblocks is a simple application for handling small text-blocks on\nwebsites. Think about it like ``django.contrib.flatpages`` just not for a\nwhole page but for only parts of it, like an information text describing what\nyou can do on a site.\n\nInstallation\n------------\n\nProbably the easiest way to install this application is to first run\n``pip install django-flatblocks``. Once this step is complete add\n``\"flatblocks\"`` to your ``INSTALLED_APPS`` setting in your ``settings.py``\nfile and run ``python manage.py syncdb`` to update your database.\n\n\nUpgrading\n---------\n\ndjango-flatblocks uses `South`_ for handling data and schema migrations\nstarting with version 0.6.0, so the South-typical update path applies here.\n\nIf you're upgrading from a 0.5.x version or earlier you will have to migrate\nin 3 steps:\n\n1. Install south.\n\n2. Migrate your database to the first version of flatblocks using South:\n\n .. code-block:: sh\n\n ./manage.py migrate flatblocks 0001 --fake\n\n3. Then migrate your database to the latest version of flatblocks' database\n and data structure:\n\n .. code-block:: sh\n\n ./manage.py migrate flatblocks\n\nUsage\n-----\n\nOnce you've created some instances of the ``flatblocks.models.FlatBlock``\nmodel, you can load it it using the ``flatblocks`` templatetag-library:\n\n.. code-block:: html+django\n\n {% load flatblocks %}\n\n \n
\n \n \n \n