Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.342.035 Times

django-frontendadmin 0.4

Company: Martin Mahner
Date Added: July 14, 2013  |  Visits: 271


Report Broken Link
Printer Friendly Version

Product Homepage
Download (18 downloads)

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

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Create Django Django Frontendadmin 0 4 Endfor Entry Entrybody Entrytitle Frontendadmin Frontendadmin Change Frontendadmin Delete Library Managepy Object List Project Settingspy Template Template Context Processors Weblog
Users rating: 0/10

License: Freeware Size: 10.24 KB
Simulation Games  -  Create Your Own Adventure 0.4 Beta
Create Your Own Adventure project is an interactive adventure in which the users themselves write the adventure. When the user reaches the end of the adventure, the user will be given the option to continue writing the next part of the adventure....
14.34 KB  
Network & Internet  -  django-templateaddons 0.1
django-templateaddons is a set of tools for use with Django's templates, context processors and template tags. It provides additional template tags, context processors and utilities for template tag development. Documentation
92.16 KB  
Gaming Utilities  -  Calindor 0.4.0 CTP2
Calindor project is a Fantasy World Simulation server that implements Eternal Lands protocol and can be played with Eternal Lands or compatible client software. The Eternal Lands is a FREE MMORPG with Open Source Client and closed source server....
102.4 KB  
Printer Tools  -  gLabels 2.0.4 / 2.1.4
gLabels is a lightweight program for creating labels and business cards for the GNOME desktop environment. gLabels project is designed to work with various laser/ink-jet peel-off label and business card sheets that youll find at most office...
1.9 MB  
Networking Tools  -  SILC Server 1.0.4 / 1.1 Beta 1
SILC Server provides system administrators ability to easily and quickly set up new SILC networks. SILC Server is full implementation of server side of the SILC protocol. SILC Server is ideal for small offices and organizations to set up secure...
1.2 MB  
Entertainment  - 1.0
The Game app is a fun, addictive and a very simple puzzle game. Join the numbers and get to the 4096,2048, 1024, tile! HOW TO PLAY: Swipe (Up, Down, Left, Right) to move the tiles. When two tiles with the same number touch, they...
2.6 MB  
Specialized Tools  -  django-comments-spamfighter 0.4
django-comments-spamfighter is a Django application that contributes a moderation class to Django???*a*?s comment app that provides: * Check incoming comments against the Akismet spam database and either block them directly or add them...
10.24 KB  
HTML Utilities  -  django-secretballot 0.2.3
django-secretballot Django voting application that allows voting without a logged in user. Provides abstract base model for types that the user wishes to allow voting on as well as related utilities including generic views to...
10.24 KB  
Specialized Tools  -  django-generic-flatblocks 0.3.0
django-generic-flatblocks is a Django plugin that solves this problem as it knows nothing about the content itself. You attach your hand made content node (a simple model) where you can define any fields you want. Installation
10.24 KB  
Network & Internet  -  django-reversetag 0.3.1
django-reversetag is an enhanced replacement for Django's builtin URL template tag. Installation To use reversetag in your Django project it needs to be accessible by your Python installation. The easy way:
10.24 KB  
Web Authoring  -  django-compass 0.1
django-compass is a Django app that offers simple compilation of Compass projects. #md5=f8c46f23a0329cb77da8e35c14e3c54c
10.24 KB  
Web Authoring  -  APRS World 0.1
APRS World is comprised of an Automatic Packet Reporting System (APRS) parser and a web interface. The parser connects to an APRS feed and inserts packets into a MySQL database. The web interface provides a convenient means of retrieving this...
20.48 KB  
Web Authoring  -  django-debug-toolbar 0.9.1
jango-debug-toolbar is a configurable set of panels that display various debug information about the current request/response and when clicked, display more details about the panel's content. Currently, the following panels have been...
143.36 KB  
Web Authoring  -  El Cid 0.2
El Cid is a cheezy little caller id program for Linux. Running as a background process, El Cid writes output into a comma seperated variable file. This is then parsed by other utilities such as, which generates pages for viewing via the web.
51.2 KB  
Web Authoring  -  supercaptcha 0.1.1
supercaptcha is a Django plugin that adds a captcha field for the new forms. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. md5=7b1d933dbeeecc6f36c6c0c9cf3e71b2
10.24 KB  
Site Security Tools  -  Saurus CMS Free for Linux 4.6.0
About Saurus CMS is a web publishing software combining daily content management features with full range of site administration and development tools. It gives you flexibility to quickly set up a blog, public website, corporate intranet or...
3.21 MB  
Site Security Tools  -  StumbleUpon for Linux 3.87
StumbleUpon takes you to web pages, photos, and videos handpicked by your friends and like-minded people. See a Demo ?*A*
307.2 KB  
Site Security Tools  -  Chemical Injectors 2.2
Download this easy to use and easy to install website traffic monitoring tool. Get daily reports of all your website traffic and most popular keys. You can see the sites your traffic was referred from, most popular keywords, pages your visitors...
1.43 MB