{ "info": { "author": "David Jackson", "author_email": "forspareparts@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "django_ember_toolkit\n====================\n\nTools to integrate develop an Ember app using Django as the backend.\n\nIt can:\n\n * Generate an Ember app inside your Django project\n * Preconfigure said app to expect Django REST Framework's JSON data\n format\n * Automatically generate Ember models based on your Django models\n * Run Ember automatically alongside your Django development server,\n configuring the Ember app to look for an API endpoint specified in\n Django's `settings.py`.\n\nIt makes very few Django-specific changes to the internal Ember project, which\nshould make it easier to separate the two projects later, if you outgrow the\nshared-repo strategy.\n\n\nInstallation\n------------\n\nTo use django_ember_toolkit, you'll need [Node](https://github.com/joyent/node/wiki/installation)\nand [Ember CLI](http://www.ember-cli.com/user-guide/#getting-started). See the\ninstallation instructions at their respective sites for details.\n\nThen just `pip install django_ember_toolkit` and add `django_ember_toolkit` to\nyour INSTALLED_APPS.\n\n\nConfiguration\n-------------\n\ndjango_ember_toolkit looks in `settings.EMBER_TOOLKIT` for a configuration\ndictionary containing:\n\n{\n \"API_PATH\": \"/path/to/api\", #the URL at which Ember can find your REST API\n \"EMBER_APP_NAME\": \"some-name\", #the name ember-cli should give your app\n \"EMBER_APP_PATH\": \"client\", # optional: the filesystem path, relative to\n # BASE_DIR, where the Ember project should be\n # stored\n \"MODELS_TO_SYNC\": [\"auth.*\", \"myapp.Widget\"] # models to use when\n generating Ember models\n}\n\nNote: MODELS_TO_SYNC takes a list of model specifiers, each either\n\"[appname].[ModelClass]\" or \"[appname].*\" (the latter selects all models in the\nindicated app)\n\n\nUsage\n-----\n\ndjango_ember_toolkit exposes a set of new management commands:\n\n* `create_ember_project`: generates a new Ember app inside your Django\n project, configures it to use Django REST Framework's JSON format,\n and overwrites Ember's environment.js config file to allow\n django_ember_toolkit to easily \"push\" certain settings into Ember.\n\n* `generate_ember_config`: generates a backend-config.js file, which is\n loaded by django_ember_toolkit's modified environment.js file. This\n is usually run automatically when you need it.\n\n* `generate_ember_models`: using ember-cli's scaffolding tools, generates a\n set of client-side models based on the models specified in\n settings.EMBER_TOOLKIT['MODELS_TO_SYNC']. If the models already exist,\n Ember CLI will ask if you want to replace them on an individual basis.\n\n* `runserver_ember`: runs the Ember development server alongside the Django\n development server.\n\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://", "keywords": "django,ember", "license": "The MIT License", "maintainer": null, "maintainer_email": null, "name": "django_ember_toolkit", "package_url": "https://pypi.org/project/django_ember_toolkit/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django_ember_toolkit/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://" }, "release_url": "https://pypi.org/project/django_ember_toolkit/0.1/", "requires_dist": null, "requires_python": null, "summary": "Tools to integrate develop an Ember app using Django as the backend.", "version": "0.1" }, "last_serial": 1697519, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "07ccb204264e6e8b7dc0d83e69633e5f", "sha256": "b887d4b504b9b4d1960187c4868848d8bddbcc3a49305ff48562087742a53cfe" }, "downloads": -1, "filename": "django_ember_toolkit-0.1.tar.gz", "has_sig": false, "md5_digest": "07ccb204264e6e8b7dc0d83e69633e5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11096, "upload_time": "2015-08-28T05:00:41", "url": "https://files.pythonhosted.org/packages/9c/b4/27fa0ad947112f3d50d720ed4949c698d069881b2693e707942a394a4a50/django_ember_toolkit-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "07ccb204264e6e8b7dc0d83e69633e5f", "sha256": "b887d4b504b9b4d1960187c4868848d8bddbcc3a49305ff48562087742a53cfe" }, "downloads": -1, "filename": "django_ember_toolkit-0.1.tar.gz", "has_sig": false, "md5_digest": "07ccb204264e6e8b7dc0d83e69633e5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11096, "upload_time": "2015-08-28T05:00:41", "url": "https://files.pythonhosted.org/packages/9c/b4/27fa0ad947112f3d50d720ed4949c698d069881b2693e707942a394a4a50/django_ember_toolkit-0.1.tar.gz" } ] }