Git Product home page Git Product logo

django-apihangar's People

Contributors

ejucovy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

django-apihangar's Issues

Documentation: glossary

There should be a brief glossary defining the primary nouns used in the system -- Endpoint, Query, View -- and the relationships among them.

Version mismatch on Django 1.7.7

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

Caching coded queries

Hard-coded / in-memory queries aren't yet connected to the caching system. They should be!

Documentation: basic usage

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.