{ "info": { "author": "Andr\u00e9 Tavares", "author_email": "github@andretavares.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "===============\ndjango-yplaces\n===============\n\nYPLACES == Yet/Why Another Django Places App\n\n\nInstallation\n============\n\n1. Download dependencies:\n - Python 2.6+\n - Django 1.5+\n \n2. ``pip install django-yplaces`` or ``easy_install django-yplaces``\n\n\nConfiguration\n=============\n\nsettings.py\n-----------\n\n1. Add \"yplaces\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = (\n # all other installed apps\n 'yplaces',\n )\n \n2. Add logger handler::\n\n LOGGING = {\n 'version': 1,\n 'disable_existing_loggers': False,\n 'handlers': {\n # all other handlers\n 'log_file_yplaces': {\n 'level': 'DEBUG',\n 'class': 'logging.handlers.RotatingFileHandler',\n 'filename': os.path.join(os.path.join(os.path.dirname( __file__ ), '..'), 'logs/yplaces.log'),\n 'maxBytes': '16777216', # 16megabytes\n },\n },\n 'loggers': {\n # all other loggers\n 'yplaces': {\n 'handlers': ['log_file_yplaces'],\n 'propagate': True,\n 'level': 'DEBUG',\n }\n }\n }\n\n3. Configure YPLACES's settings::\n\n YPLACES = {\n # API URL Namespace (e.g. YPLACES URL is in /api/v1, and the respective Django URL namespaces are 'api' and 'v1')\n 'api_url_namespace': 'api:v1',\n \n # Details on the sender of any emails sent by YPlaces.\n 'email_from': { 'name': 'John Doe', 'email': 'john@example.com' },\n \n # Emails of the admins that receive certain emails (e.g. Place waiting to be reviewed)\n \t'admin_emails': [{ 'name': 'BOFH', 'email': 'bofh@foobar.com' }],\n \t\n \t# The title to be displayed in the app's index page and respective description.\n \t'index_title': 'My Awesome App',\n \t'index_description': 'This is a very awesome app where you can find anything!'\n }\n\n4. Don't forget to set the 'MEDIA_URL' variable, which defines the root folder to where files will be uploaded (e.g. profile pictures) and the\nvariable necessary for the full URL's of the pictures to be built::\n\n MEDIA_ROOT = os.path.join(BASE_DIR, 'static/uploads/')\n MEDIA_URL = HOST_URL + '/static/uploads/'\n \n5. Configure template processors so tha every RequestContext will contain a variable request, which is the current HttpRequest. This will be used for stuff\nsuch as knowing the current path. \n\n from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as TCP\n TEMPLATE_CONTEXT_PROCESSORS = TCP + (\n 'django.core.context_processors.request',\n )\n \n6. In order to enable sitemap.xml generator for places, make sure the respective django app is installed in 'INSTALLED_APPS':\n 'django.contrib.sitemaps'\n\nLogs\n----\n\nCreate a 'logs' folder in your project's root folder (if you don't have one already).\nYour project folder should look something like this::\n\n myproject/\n __init__.py\n settings.py\n urls.py\n wsgi.py\n logs/\n manage.py\n\nDatabase\n--------\n\nRun ``python manage.py syncdb`` to create the yplaces models.\n\nURLs\n----\n\n1. Add app URL namespace to top-level ``urls.py``::\n\n # myproject/urls.py\n # ============\n \n from yplaces.sitemap import PlaceSitemap\n sitemaps = {\n # any other sitemaps\n 'restaurants': PlaceSitemap\n }\n\n urlpatterns = patterns('',\n # all other url mappings\n \n # Place's Sitemap.\n url(r'^sitemap\\.xml/?$', 'django.contrib.sitemaps.views.sitemap', { 'sitemaps': sitemaps }, name='sitemap'),\n \n # Place's Pages.\n url(r'^places', include('yplaces.urls', namespace='yplaces')),\n )\n\t\n2. Add app to API namespace::\n\n # myproject/api/urls.py\n # ============\n \n urlpatterns = patterns('',\n # all other api url mappings\n url(r'^/places', include('yplaces.api.urls', namespace='yplaces')),\n )\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-yplaces", "package_url": "https://pypi.org/project/django-yplaces/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-yplaces/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/django-yplaces/0.2.9/", "requires_dist": null, "requires_python": null, "summary": "Places app.", "version": "0.2.9" }, "last_serial": 1103608, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5920121244b051c3e1b27a7754d97998", "sha256": "f459b592d56a152500e708e48d3f2d586a9b48bcc046efb77149a19cac6f61c0" }, "downloads": -1, "filename": "django-yplaces-0.1.tar.gz", "has_sig": false, "md5_digest": "5920121244b051c3e1b27a7754d97998", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 588407, "upload_time": "2014-03-12T16:25:10", "url": "https://files.pythonhosted.org/packages/79/e0/00cf75fcd78dcaf2b8c6bd2e0ce98949e1f1ae2851adc43db4029baff5c1/django-yplaces-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "f7c65bd9324a9991fbc61bcbdfd6e5fa", "sha256": "59fe7f1de8558616251fc3c06cbc3b46900634079a5a73490ddc474abf95bc30" }, "downloads": -1, "filename": "django-yplaces-0.2.tar.gz", "has_sig": false, "md5_digest": "f7c65bd9324a9991fbc61bcbdfd6e5fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 588630, "upload_time": "2014-03-13T17:27:23", "url": "https://files.pythonhosted.org/packages/23/14/91a7148925ff2e5ebddabdd63a2a0bdc3b99eea0d15735716bc1542ee1b4/django-yplaces-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "dae3a3621244ad5d54b06edbe4a11638", "sha256": "47a4610f14de19b7b81649b660b63e83d91b75c1873257d02a4fdd293586fb54" }, "downloads": -1, "filename": "django-yplaces-0.2.1.tar.gz", "has_sig": false, "md5_digest": "dae3a3621244ad5d54b06edbe4a11638", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 588749, "upload_time": "2014-03-14T09:26:50", "url": "https://files.pythonhosted.org/packages/eb/a4/6329809d48b9d1b8f042e1365f2727da81142427627dc287fcaf11e9a64d/django-yplaces-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "77ef3eafa55a150ed51fd9e53e3ee907", "sha256": "603bfc55d8579ed2ccebb595814913fd93363f6ced92eb481d047725f8c6ccd9" }, "downloads": -1, "filename": "django-yplaces-0.2.2.tar.gz", "has_sig": false, "md5_digest": "77ef3eafa55a150ed51fd9e53e3ee907", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 588752, "upload_time": "2014-03-14T10:00:52", "url": "https://files.pythonhosted.org/packages/ad/35/d0eab4ae4da206f9545e55cc89146f14f15f51b1f8c59b0debb3e5b742f9/django-yplaces-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "2868ba8f3a779ef38932c67956701462", "sha256": "1728cf2843a9d9e6c325f54f0735e340976270489a7ad23b136842be1c74cbbc" }, "downloads": -1, "filename": "django-yplaces-0.2.3.tar.gz", "has_sig": false, "md5_digest": "2868ba8f3a779ef38932c67956701462", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 588798, "upload_time": "2014-03-14T18:12:59", "url": "https://files.pythonhosted.org/packages/fc/94/51792cb87503526148675f638a61d981a98aa1be39e0e2c92c5f89af41b1/django-yplaces-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "d768db6043d4a7a0753db6a728b3b179", "sha256": "ca93615403e09d5cf43fdc1601b02c56d424a7a04a7cc2d9d9c4c48e10b35448" }, "downloads": -1, "filename": "django-yplaces-0.2.4.tar.gz", "has_sig": false, "md5_digest": "d768db6043d4a7a0753db6a728b3b179", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 588944, "upload_time": "2014-03-17T12:26:49", "url": "https://files.pythonhosted.org/packages/ab/6a/cffb77f45d48143ddf89ad51c1b11e111f2f327254bf565896c650a7c074/django-yplaces-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "a9824f8653f226b212b48b241082dc44", "sha256": "2131bdb95063bcc7f51b591a55b23f15385d48e15be97b41acd17f75e1a3fc90" }, "downloads": -1, "filename": "django-yplaces-0.2.5.tar.gz", "has_sig": false, "md5_digest": "a9824f8653f226b212b48b241082dc44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 590789, "upload_time": "2014-03-17T17:12:01", "url": "https://files.pythonhosted.org/packages/cf/7d/39042ab8440531e15dde761614a2b10592fcc199bc0377d60de5d8072dcb/django-yplaces-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "37c4ff8bea116b25dce0c94e51aefacc", "sha256": "baa7736246801a8b07d31272ec1fa7987ed99e6be52f8be834bb86a95719e07c" }, "downloads": -1, "filename": "django-yplaces-0.2.6.tar.gz", "has_sig": false, "md5_digest": "37c4ff8bea116b25dce0c94e51aefacc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 591176, "upload_time": "2014-03-18T16:37:40", "url": "https://files.pythonhosted.org/packages/f4/b4/068228b369b3e592d7ffc701ba60a9b81c4accf0c3c0e57d3e0c0f9f5dfa/django-yplaces-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "cf2708639bbcf1fd321187b4b0ecd8a8", "sha256": "e05699715416b4566921f6b0a669882c9354eb18bb8cdb1ddc859ed8ec16854f" }, "downloads": -1, "filename": "django-yplaces-0.2.7.tar.gz", "has_sig": false, "md5_digest": "cf2708639bbcf1fd321187b4b0ecd8a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 591615, "upload_time": "2014-03-21T12:44:12", "url": "https://files.pythonhosted.org/packages/20/c0/0e208f3a4a9c9e12ffbdcc809356e7363a912ed2ad0c5b125ec2b91ea682/django-yplaces-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "1779e5040a0a1d89eff9162498919604", "sha256": "147de5f450eb1494c590c6f88843870a494c534bc01b1a54e1520b2cf7dc50f9" }, "downloads": -1, "filename": "django-yplaces-0.2.8.tar.gz", "has_sig": false, "md5_digest": "1779e5040a0a1d89eff9162498919604", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 591584, "upload_time": "2014-04-07T10:49:20", "url": "https://files.pythonhosted.org/packages/b0/8b/9e42592da452c338815bb4273610ef0c410ee633197bc6ecb537f675a7c8/django-yplaces-0.2.8.tar.gz" } ], "0.2.8.1": [ { "comment_text": "", "digests": { "md5": "835c198f9baea8d3e123e87531137eae", "sha256": "0323d0e5092c56c46268f37481e36be4cb00113888e0b371975e7134ace2dd5f" }, "downloads": -1, "filename": "django-yplaces-0.2.8.1.tar.gz", "has_sig": false, "md5_digest": "835c198f9baea8d3e123e87531137eae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 603643, "upload_time": "2014-05-19T22:40:39", "url": "https://files.pythonhosted.org/packages/bb/b5/d774efe916a67aa09197ae40c3352510a5ce90179fd60430e774b8686c7f/django-yplaces-0.2.8.1.tar.gz" } ], "0.2.9": [ { "comment_text": "", "digests": { "md5": "61469f74ee17c289b0dc266d1e4dc8b1", "sha256": "3b8f0c25eb3e04742a6bbada06f5da88124198546a3e0fda02cb4acee40afd94" }, "downloads": -1, "filename": "django-yplaces-0.2.9.tar.gz", "has_sig": false, "md5_digest": "61469f74ee17c289b0dc266d1e4dc8b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 604259, "upload_time": "2014-05-25T11:26:34", "url": "https://files.pythonhosted.org/packages/f8/1d/f1f9366fea460d4f8db1a9ab660b3c70541e32bc07e93501b9383031071b/django-yplaces-0.2.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "61469f74ee17c289b0dc266d1e4dc8b1", "sha256": "3b8f0c25eb3e04742a6bbada06f5da88124198546a3e0fda02cb4acee40afd94" }, "downloads": -1, "filename": "django-yplaces-0.2.9.tar.gz", "has_sig": false, "md5_digest": "61469f74ee17c289b0dc266d1e4dc8b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 604259, "upload_time": "2014-05-25T11:26:34", "url": "https://files.pythonhosted.org/packages/f8/1d/f1f9366fea460d4f8db1a9ab660b3c70541e32bc07e93501b9383031071b/django-yplaces-0.2.9.tar.gz" } ] }