\n {% endfor %}\n\n Custom labels can be used as the last argument to any tag::\n\n {% frontendadmin_add object_list 'Post an entry' %}\n {% for entry in object_list %}\n
\n
{{ entry.title }}
\n {{ entry.body }}\n {% frontendadmin_change entry 'Edit this entry' %}\n {% frontendadmin_delete entry 'Remove it permanently' %}\n
\n {% endfor %}\n\n6. Thats all. Frontendadmin will automatically check whether the current user has\n add/change/delete permissions for the given model.\n\n Frontendadmin has build-in ajax support using the jquery library. See the\n template-sources for details.\n\nCustom Configuration\n====================\n1. Admin forms will be used if registered with the model you are trying to use. If you have\n a model admin called ``EntryAdmin`` registered with ``django.contrib.admin.site`` then \n frontendadmin will use any form associated with, specified in ``EntryAdmin.Meta.form``.\n\n2. You can also set which forms will be used for a specific model. The forms may\n be in your codebase, or anywhere on your python path. This is handy for custom widgets\n like split datetime fields and WYSIWYG editors. Set the following settings\n directives to see custom forms in action::\n\n FRONTEND_FORMS = {\n 'blog.entry': 'blog.forms.EntryForm',\n }\n\n In this example, the ``entry`` model in the ``blog`` app will be rendered with\n the ``EntryForm`` within the ``blog.forms`` module. The key for the\n dictionary is ``app_label`` . ``model_name`` and must be all lower case.\n The value of the dictionary is ``module_name`` . ``form_class`` and must match\n the capitalization of the actual module. \n\n3. You may define which fields to include or exclude on a per model basis\n from inside your settings. Here is a snippet that blocks a user from being\n able to change the ``user`` field on their profile and limits them to only\n information that they should be able to edit::\n\n FRONTEND_EXCLUDES = {\n 'profiles.userprofile': ('user',)\n }\n FRONTEND_INCLUDES = {\n 'profiles.userprofile': ('address1','address2','avatar')\n }\n\n This will include the ``address1``, ``address2``, and ``avatar`` fields\n and exclude the ``user`` field from the form. Notice the key for both\n dictionaries is ``app_label`` . ``model_name`` and must be all lower case.\n\n \n4. Custom form templates will be used by default if they exist. For a model\n named ``entry`` in the app ``blog`` the frontendadmin will try to use\n ``frontendadmin/blog_entry_form.html`` for the full form and ``frontendadmin/blog_entry_form_ajax.html``\n for the ajax form. If they do not exist, the defaults will be used.\n\nLicense\n=======\n\nThe application is licensed under the ``New BSD License``. See the LICENSE File\nfor details.\n",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://www.mahner.org/",
"keywords": "",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "django-frontendadmin",
"package_url": "https://pypi.org/project/django-frontendadmin/",
"platform": "",
"project_url": "https://pypi.org/project/django-frontendadmin/",
"project_urls": {
"Homepage": "http://www.mahner.org/"
},
"release_url": "https://pypi.org/project/django-frontendadmin/0.5/",
"requires_dist": null,
"requires_python": "",
"summary": "A a set of templatetags to allow an easy and unobstrusive way to edit model-data in the frontend of your page.",
"version": "0.5"
},
"last_serial": 3405964,
"releases": {
"0.3": [
{
"comment_text": "",
"digests": {
"md5": "034c78e2646d44800cd5874263527e76",
"sha256": "174fb1d9158ea06906d819e1a63669cf7e126aa419deafe20b86c35ce08aadcc"
},
"downloads": -1,
"filename": "django-frontendadmin-0.3.tar.gz",
"has_sig": true,
"md5_digest": "034c78e2646d44800cd5874263527e76",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7414,
"upload_time": "2008-12-12T22:52:40",
"url": "https://files.pythonhosted.org/packages/a5/a2/d7dffc0cd486e0f6558fd073146f1b0e9793f1dc3303c429b22a6e7946f2/django-frontendadmin-0.3.tar.gz"
}
],
"0.4": [
{
"comment_text": "",
"digests": {
"md5": "9eb62e385ea1e9b3863d93c633efe6f6",
"sha256": "61c65f190ea915402ecc669803d5ff11009bcbdc23a3345a724f1caff11d8a2f"
},
"downloads": -1,
"filename": "django-frontendadmin-0.4.tar.gz",
"has_sig": true,
"md5_digest": "9eb62e385ea1e9b3863d93c633efe6f6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7964,
"upload_time": "2009-06-11T21:41:05",
"url": "https://files.pythonhosted.org/packages/44/2d/861f3e8f1f5c9ad15653a00e272f0a3f2fe38881d56a0bade3c6459d7451/django-frontendadmin-0.4.tar.gz"
}
],
"0.5": [
{
"comment_text": "",
"digests": {
"md5": "414d6ff0ddd373e04696cb580214fd2e",
"sha256": "88236370ed15ceb2a56962f70a931642c570a8b9627efb89820529ef5b20a3a2"
},
"downloads": -1,
"filename": "django-frontendadmin-0.5.tar.gz",
"has_sig": true,
"md5_digest": "414d6ff0ddd373e04696cb580214fd2e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10135,
"upload_time": "2017-12-10T20:10:59",
"url": "https://files.pythonhosted.org/packages/2f/2f/d635fa83c7b8d9009160eb7e869548d7501f8a8de9a6d0cc99fd406f02d5/django-frontendadmin-0.5.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "414d6ff0ddd373e04696cb580214fd2e",
"sha256": "88236370ed15ceb2a56962f70a931642c570a8b9627efb89820529ef5b20a3a2"
},
"downloads": -1,
"filename": "django-frontendadmin-0.5.tar.gz",
"has_sig": true,
"md5_digest": "414d6ff0ddd373e04696cb580214fd2e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10135,
"upload_time": "2017-12-10T20:10:59",
"url": "https://files.pythonhosted.org/packages/2f/2f/d635fa83c7b8d9009160eb7e869548d7501f8a8de9a6d0cc99fd406f02d5/django-frontendadmin-0.5.tar.gz"
}
]
}