boldprogressives / django-apihangar Goto Github PK
View Code? Open in Web Editor NEWCreate JSON APIs through the web from SQL templates
License: Other
Create JSON APIs through the web from SQL templates
License: Other
Describe the allowed and required configuration settings.
There should be a brief glossary defining the primary nouns used in the system -- Endpoint, Query, View -- and the relationships among them.
I've just installed the django-apihangar locally and when I try to run my server I get an ImportError, copied below. I'm running Django 1.7.7 with Python 2.7.
18:02:16 web.1 | Traceback (most recent call last):
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/arbiter.py", line 507, in spawn_worker
18:02:16 web.1 | worker.init_process()
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/workers/base.py", line 118, in init_process
18:02:16 web.1 | self.wsgi = self.app.wsgi()
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
18:02:16 web.1 | self.callable = self.load()
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 65, in load
18:02:16 web.1 | return self.load_wsgiapp()
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
18:02:16 web.1 | return util.import_app(self.app_uri)
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/util.py", line 355, in import_app
18:02:16 web.1 | __import__(module)
18:02:16 web.1 | File "/Users/michael/code/ftl-django/myproject/wsgi.py", line 9, in <module>
18:02:16 web.1 | application = Cling(get_wsgi_application())
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
18:02:16 web.1 | django.setup()
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/django/__init__.py", line 21, in setup
18:02:16 web.1 | apps.populate(settings.INSTALLED_APPS)
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
18:02:16 web.1 | app_config.import_models(all_models)
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/django/apps/config.py", line 202, in import_models
18:02:16 web.1 | self.models_module = import_module(models_module_name)
18:02:16 web.1 | File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
18:02:16 web.1 | __import__(name)
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/apihangar/models.py", line 5, in <module>
18:02:16 web.1 | from django.utils.hashcompat import md5_constructor
18:02:16 web.1 | ImportError: No module named hashcompat
18:02:16 web.1 | [2015-03-26 22:02:16 +0000] [62762] [INFO] Worker exiting (pid: 62762)
18:02:16 web.1 | [2015-03-26 18:02:16 -0400] [62759] [INFO] Shutting down: Master
18:02:16 web.1 | [2015-03-26 18:02:16 -0400] [62759] [INFO] Reason: Worker failed to boot.
18:02:16 web.1 | exited with code 3
18:02:16 system | sending SIGTERM to all processes
Hard-coded / in-memory queries aren't yet connected to the caching system. They should be!
Write a short doctest-style introduction to using the api hangar -- defining some queries and an endpoint, and running the endpoint. It can use the hard-coded / in-memory version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.