0
I Use This!
Activity Not Available

Project Summary

django-frontendadmindjango-frontendadmin is a set of templatetags to allow an easy and unobstrusive way to edit model-data in the frontend of your page.

Primary repository: http://github.com/bartTC/django-frontendadmin/

Quick installation instruction
==============================

1. 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.

License
=======

The application is licensed under the ``New BSD License``. See the LICENSE File
for details.

Tags

admin application crud django editing frontend reusable template templatetags unobstrusive

In a Nutshell, django-frontendadmin...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

BSD 4-clause (University of California-Specific)
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Forbidden

Use Trademarks

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    learn about Open Hub updates and features on the Open Hub blog
  • ...
    there are over 3,000 projects on the Open Hub with security vulnerabilities reported against them
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis