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]
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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file django-servee-0.5.3.beta.tar.gz
.
File metadata
- Download URL: django-servee-0.5.3.beta.tar.gz
- Upload date:
- Size: 671.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b7e92204b9b4cdfb59f38cdf8d39166a515c5b078a56e2393f95cf2654eaf45 |
|
MD5 | b0fc9c7a37ec29333740706afe42f788 |
|
BLAKE2b-256 | 95f39426ab14d451b7026522ead4b0dd4c9b47ad9ecd509c84fd95715bd529dd |