Django-frontendadmin v.0.4

Advertisement
Advertisement

django-frontendadmin is a set of template tags to allow an easy and unobtrusive way to edit model-data in the frontend of your page.Example projectThis package provides an easy example project, a weblog with comments. Here is a quick step-by-step guide how to get this running quickly:1. Open your terminal and cd to the django-frontendadmin/example_project/ directory.2. $ ./manage.py syncdb and create a superuser.3. $ ./manage.py loaddata testdata.json to load some sample data.4. $ ./manage.py runserver and point your browser to http://127.0.0.1:8000/admin/.5. Authenticate yourself with the username/password you provided in step 2.6. Go to the frontpage http://127.0.0.1:8000/ and start playing.7. Put some beer in your fridge and call me.Quick installation instruction1. Put frontendadmin in your INSTALLED_APPS in the settings.py of your django project.2. Add django.core.context_processors.request to your TEMPLATE_CONTEXT_PROCESSORS in the settings.py of your django project. If this is not available (default since some days) put this snippet into your settings: TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.request', 'django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', )3. Include frontendadmin urls in your urlsconf: (r'^frontendadmin/', include('frontendadmin.urls')),4. Load the frontendadmin_tags library in every template you want to use the frontendamin links. (see below): {% load frontendadmin_tags %}5. There are three templatetags to either create, change or delete objects: {% frontendadmin_add queryset_of_objects %} {% frontendadmin_change object_to_change %} {% frontendadmin_delete object_to_delete %}Assumed that you have a weblog application and using generic-views, your template might look so: {% for entry in object_list %} {{ entry.title }} {{ entry.body }} {% endfor %}A proper implementation of frontendadmin would be: {% frontendadmin_add object_list %} {% for entry in object_list %} {{ entry.title }} {{ entry.body }} {% frontendadmin_change entry %} {% frontendadmin_delete entry %} {% endfor %}6. Thats all. Frontendadmin will automatically check whether the current user has add/change/delete permissions for the given model.Frontendadmin has build-in ajax support using the jquery library. See the template-sources for details.

django-frontendadmin is a set of template tags ... A a set of templatetags to allow an easy and unobtrusive way to edit model-data in the frontend of your page ...

 
  • Django-frontendadmin
  • 0.4
  • Martin Mahner
  • Linux
  • Freeware
  • 10 Kb
  • 557
  • Free
 
 

Review Django-frontendadmin

  • captcha
 

Other software of Martin Mahner

New Site Management software
  • Website Watchman  v.2.4.3Monitor a whole website, part of a website or a single page. Be alerted to any changes, visible text, source code or changes to the page's resources. Runs locally, not a cloud service. Own your own data. Schedule hourly, daily, weekly, monthly scan ...
  • SEO SpyGlass Enterprise  v.6.40.15Looking for a spot-on backlink checker? Get SEO SpyGlass! It is a first-rate SEO tool for the most profound backlink analysis. One can use it to research backlinks to their own site or reveal the competitors' best-kept SEO secrets.
  • WebSite Auditor Enterprise  v.4.38.15Highly effective and professional software for comprehensive website's structure and content auditing. Spot all the technical issues, optimize pages' content, generate professional SEO reports and create website visualization in just one tool.
  • SEO SpyGlass Professional  v.6.40.15Want to know why competitors rank so well? Check their backlinks! Use SEO SpyGlass to see where their backlinks come from, find out which links are indexed in Google, what's their SEO value etc. Learn the competitors' link secrets! Free trial!
  • Openrm  v.1.8.0OpenRM Scene Graph is a developers toolkit that implements a scene graph API, and which uses OpenGL for hardware accelerated rendering.
  • StumbleUpon for Linux  v.3.87StumbleUpon takes you to web pages, photos,.