Inline Wysiwyg editing making use of a subclassed Django Admin
Project description
* On Freenode #servee
Servee is a special purpose django-admin for editing content on the front end of your site.
* Docs at [Read The Docs][rtd]
First you should put servee in your environment:
pip install django-servee
We're also keeping a [dist server of our own][1].
[1]: http://dist.servee.com/dev/
or download and
./setup.py develop
Then add servee to your installed apps.
At a minimum, you want to install `servee.frontendadmin`. This is
the admin site. You probably also want our wysiwyg tools, and the tinymce
backend (only supported wysiwyg editor at the moment) This converts your textareas
to wysiwyg areas, and that's awesome (sometimes).
INSTALLED_APPS += [
"servee.frontendadmin",
"servee.wysiwyg",
"servee.wysiwyg.tinymce",
]
Then syncdb. Servee assumes that you're using either contrib.staticfiles or django-staticfiles (>=1.1)
Make sure that you collectstatic in production.
It's important to add servee urls, and you probably want to use autodiscover.
from servee import frontendadmin
frontendadmin.site.autodiscover()
# ...
url(r"^servee/", include(frontendadmin.site.urls)),
At this point, you're really going to want to get into the [docs][rtd].
[rtd]: http://django-servee.readthedocs.org/en/latest/index.html
Servee is a special purpose django-admin for editing content on the front end of your site.
* Docs at [Read The Docs][rtd]
First you should put servee in your environment:
pip install django-servee
We're also keeping a [dist server of our own][1].
[1]: http://dist.servee.com/dev/
or download and
./setup.py develop
Then add servee to your installed apps.
At a minimum, you want to install `servee.frontendadmin`. This is
the admin site. You probably also want our wysiwyg tools, and the tinymce
backend (only supported wysiwyg editor at the moment) This converts your textareas
to wysiwyg areas, and that's awesome (sometimes).
INSTALLED_APPS += [
"servee.frontendadmin",
"servee.wysiwyg",
"servee.wysiwyg.tinymce",
]
Then syncdb. Servee assumes that you're using either contrib.staticfiles or django-staticfiles (>=1.1)
Make sure that you collectstatic in production.
It's important to add servee urls, and you probably want to use autodiscover.
from servee import frontendadmin
frontendadmin.site.autodiscover()
# ...
url(r"^servee/", include(frontendadmin.site.urls)),
At this point, you're really going to want to get into the [docs][rtd].
[rtd]: http://django-servee.readthedocs.org/en/latest/index.html
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.7a1.dev1.tar.gz
(142.0 kB
view details)
File details
Details for the file django-servee-0.7a1.dev1.tar.gz
.
File metadata
- Download URL: django-servee-0.7a1.dev1.tar.gz
- Upload date:
- Size: 142.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f913303a9f6d9b1763fe7954e5f7e758048fcc207d6c8c5919288cf120d8fef |
|
MD5 | 15f5a837d070154fb324b5b77c090906 |
|
BLAKE2b-256 | 4ca60f4d4487523072eeb40d6e380bfda56ca2d4e2336ab838f3a7d9913c929d |