Skip to main content

Servee is for WYSIWYG editing of your models on the front end of your site, and for building tools for site managers, that don't quite belong in the admin. Servee works best built on Pinax. You can be picky about which components you want, and it is straightforward to build your own components. Servee is model-independent, and is designed not to get in the way of the site-building process, but to add a level of functionality and a minimal cost on top of an existing Django or Pinax site.

Project description

The docs aren't built, this is an alpha version of servee and may contain many bugs.

First you should put servee in your environment:

pip install -e git+git://github.com/servee/servee.git#egg=django-servee

or download and

./setup.py install

I pip is not setup to read the other dependancies from there so navigate to your servee folder in your path now (<env>/src/servee, or wherever you downloaded from) and do pip install -r requirements.txt

Then add servee to installed apps and add the two middleware packages.

INSTALLED_APPS = [
#servee_dependancies
"ajax_validation",
"uni_form",
"staticfiles",
"sorl.thumbnail",
"frontendadmin",

#servee
'servee',
'improved_inlines',
'servee.wysiwyg',
'servee.wysiwyg.tinymce',
'servee.toolbar',
#'servee.aetna_product',

#media
'servee.contrib.media.image',
'servee.contrib.media.video',
'servee.contrib.media.document',
'servee.contrib.media.gallery',

#toolbars
'servee.contrib.tools.gallery',
]

MIDDLEWARE_CLASSES
"servee.wysiwyg.middleware.WysiwygMiddleware",
"servee.toolbar.middleware.ToolbarMiddleware",

Also Add this setting to settings.py
SRV_WYSIWYG_EDITOR = 'tinymce'

Then syncdb and build_static

It's important to add servee urls.
url(r"^servee/", include("servee.urls")),

Add to your base template
<link rel="stylesheet" href="{{ STATIC_URL }}css/djAdmin.css" />

Now change your templates on pages you wish to edit to add frontend admin:

[http://github.com/bartTC/django-frontendadmin]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-servee-0.5.3.beta.tar.gz (671.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page