Coder Social home page Coder Social logo

af-python-django's People

Contributors

jakeo avatar peterolivo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

af-python-django's Issues

Why flat structure?

Hi, curious. Django 1.4 uses a sub-directory to store the project, but you're saying you're using Django 1.4 but using a flat filesystem.. why?

cannot push this app to appfog

Hi

I got the code and pushed it to appfog and got the following error when the application was started:

Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    import settings
  File "/mnt/var/vcap.local/dea/apps/af-python-django-0-5bb2abc74bd9c24676832a0b2139640c/app/settings.py", line 18, in <module>
    mysql_srv = vcap_services['mysql-5.1'][0]
KeyError: 'mysql-5.1'

So i pushed it a little further: I created a django app on appfog, pulled it, deleted it on appFog and tried to push it back, and ended up with the exact same error:

Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    import settings
  File "/mnt/var/vcap.local/dea/apps/test-django-weather-0-b21abc19aab1679100fa2d98891e46b7/app/settings.py", line 18, in <module>
    mysql_srv = vcap_services['mysql-5.1'][0]
KeyError: 'mysql-5.1'

So what am I doing wrong here?

Thanks

Thomas

Static files?

How are static files supposed to be served with appfog?

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.