{ "info": { "author": "Jakub Kot", "author_email": "yakxxx@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console :: Curses", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.7", "Topic :: Internet" ], "description": "Add views to Django app automatically - django-addview\n======================================================\n\nWhat it does?\n-------------\n\nCan't remember Class-Based-Views parameters? Are you tired of\nreiterating the same mundane steps while adding a new view? Try\n**django-addview**.\n\nHow it works?\n-------------\n\nDjango-addview provides you with a simple ncurses based gui to add new\nclass-based or functional view.\n\n- Creates class declaration (fill needed parameters, select a model\n from the dropdown etc.)\n- Remembers all class-based attributes for you\n- Creates template (empty, or copied from existing one)\n- Adds entry to **urls.py**\n- Cares about all imports\n\nInstallation\n------------\n\n``pip install django_addview``\n\nAnd add to settings.py:\n\n::\n\n INSTALLED_APPS = (\n ...\n 'django_addview',\n )\n\nUsage\n-----\n\n``./manage.py addview app_name``\n\n**Remember:** What you type inside app is what you get inside your code,\nso if you want to have a string you have to quote it. For example:\n\n::\n\n template_name \"test_app/my_view.html\"\n\nConfiguration\n-------------\n\nDjango-addview expects only one config variable. It's :\n``ADDVIEW_GLOBAL_TEMPLATE_DIR = ...`` which points to directory where\nyou keep your project templates (It's good practice to keep templates\ninside one directory per project unless you write reusable app).\n\nDjango-addview can create your views in two locations. One is\n``ADDVIEW_GLOBAL_TEMPLATE_DIR`` and second is ``templates`` directory\ninside your apps directory. You choose between them while adding view in\ngui.\n\nExample of configuration:\n\n::\n\n SITE_ROOT = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')\n ADDVIEW_GLOBAL_TEMPLATE_DIR = os.path.join(SITE_ROOT, 'templates')\n\nScreenshots\n-----------\n\n|screenshot 1| |screenshot 2| |screenshot 3| |screenshot 4|\n\n.. |screenshot 1| image:: https://raw.github.com/yakxxx/django-addview/master/_screenshots/addview1.png?raw=true\n.. |screenshot 2| image:: https://raw.github.com/yakxxx/django-addview/master/_screenshots/addview2.png?raw=true\n.. |screenshot 3| image:: https://raw.github.com/yakxxx/django-addview/master/_screenshots/addview3.png?raw=true\n.. |screenshot 4| image:: https://raw.github.com/yakxxx/django-addview/master/_screenshots/addview4.png?raw=true", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yakxxx/django-addview", "keywords": "django,view,views,scaffold,cbv,application", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-addview", "package_url": "https://pypi.org/project/django-addview/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-addview/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/yakxxx/django-addview" }, "release_url": "https://pypi.org/project/django-addview/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Adding views in Django as easy as pie.", "version": "0.1.2" }, "last_serial": 789038, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8d6643dec84eba80c42a287a545f3e16", "sha256": "50b0907713cf2ebd409fa2f2ccdec9faa9c58ea0d7fe2212efdc3794a44930ea" }, "downloads": -1, "filename": "django-addview-0.1.tar.gz", "has_sig": false, "md5_digest": "8d6643dec84eba80c42a287a545f3e16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10126, "upload_time": "2013-04-28T12:05:50", "url": "https://files.pythonhosted.org/packages/81/a8/80d8921a1c44384847c14ece35de0919b6ea98a7b216b677fcbee640bba1/django-addview-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0c7b20e8e4a14d045a431fe3c37b6034", "sha256": "5b76b7a3c5674d817dc084c5cbcbed3977d928eeedcb27b0f26c4ea96e4290be" }, "downloads": -1, "filename": "django-addview-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0c7b20e8e4a14d045a431fe3c37b6034", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10402, "upload_time": "2013-04-28T12:28:53", "url": "https://files.pythonhosted.org/packages/a4/fa/a98cbea068ea167d1ace3cdc3648dd50ab6807acc5e4c8abaa5bd44612de/django-addview-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c0e7644c1b067299fe83c4bd82332dc6", "sha256": "3ca0ab95adc7c6d69d5e18b388c9eaf87fc09613aee16c5b9957ab88eb185f2c" }, "downloads": -1, "filename": "django-addview-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c0e7644c1b067299fe83c4bd82332dc6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10915, "upload_time": "2013-04-28T23:28:58", "url": "https://files.pythonhosted.org/packages/8c/28/36b231d3b1a3cdb2080fff2ddac09489f78b183dbd7a38af7cba63494d32/django-addview-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c0e7644c1b067299fe83c4bd82332dc6", "sha256": "3ca0ab95adc7c6d69d5e18b388c9eaf87fc09613aee16c5b9957ab88eb185f2c" }, "downloads": -1, "filename": "django-addview-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c0e7644c1b067299fe83c4bd82332dc6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10915, "upload_time": "2013-04-28T23:28:58", "url": "https://files.pythonhosted.org/packages/8c/28/36b231d3b1a3cdb2080fff2ddac09489f78b183dbd7a38af7cba63494d32/django-addview-0.1.2.tar.gz" } ] }