GithubHelp home page GithubHelp logo

django-polls's Introduction

django-polls

Django tutorial polls app

django-polls's People

Contributors

czpython avatar evildmp avatar finalangel avatar jqb avatar neodarz avatar protoroto avatar stefanfoulis 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  avatar  avatar  avatar  avatar

Watchers

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

django-polls's Issues

Support for Django 2.2

When running through the django CMS tutorial, I found I had to make some changes to the django-polls app used to allow it to work with Django 2.2 and forked to put a pull request in for my changes but in doing that, I noted that @NeodarZ had put in #7 for essentially the same changes.

I wanted to create this issue to flag their PR for merge/review to eliminate the need for jerry-rigging 2.x support.

__init__.py does not propogate during installation

The documents on the following link suggest installation of this repo's application:
http://docs.django-cms.org/en/latest/introduction/plugins.html#integrate-the-polls-cms-integration-application

i.e.
pip install -e git+http://[email protected]/divio/django-polls.git#egg=polls

However, following those instructions does not cause the __init__.py file from this repo to be included for some reason (perhaps it's not included in the build?). This causes the entire tutorial to fail.

It took some debugging to realise that this was the problem and we had to manually create the __init__.py file before our polls_cms_integration app could work. Without it we were getting this error:

poll = models.ForeignKey(Poll)
NameError: name 'Poll' is not defined

Tutorial Error

Receiving the following error attempting to download via powershell:

(env) PS C:\users\jclarke\tutorial-project> pip install -e git+https://[email protected]/divio/django-polls.git#egg=django-polls
Obtaining django-polls from git+https://[email protected]/divio/django-polls.git#egg=django-polls
Cloning https://[email protected]/divio/django-polls.git to c:\users\jclarke\env\src\django-polls
Error [Error 2] The system cannot find the file specified while executing command git clone -q https://[email protected]/divio/django-polls.git c:\users\jclarke\env\src\django-polls
Cannot find command 'git'

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.