Git Product home page Git Product logo

Comments (3)

DanielThomas avatar DanielThomas commented on August 28, 2024

You need to install the dependency. Just run:

easy_install django-endless-pagination

On Friday, April 13, 2012, Attila-Mihaly Balazs wrote:

When I try to start a development server from the current master
(7d7be63) with python manage.py runserver I get the following error:
"Error: No module named endless_pagination". I assume that this is because
the line "endless_pagination" in settings.py. However I can't find such a
directory or file in the repository (not in on the - now closed -
endless-pagination-pjax branch).

What am I missing?


Reply to this email directly or view it on GitHub:
#19

from osqa.

cdman avatar cdman commented on August 28, 2024

I'm going to close this, since it was clearly a PEBKAC issue on my part. Do you think it would be useful to include a script to install a virtualenv for the forums, including this module? Below is the source for the bash script I use (an additional reason for using virtualenv is that OSQA isn't compatible with Django 1.4 at the moment because of the message module)

#!/bin/bash
set -ue
if [[ -n "$( pwd | grep -o -P ' ' )" ]]; then
        echo "Warning! Working directory contains spaces, virtualenv might have problems with it!"
fi
if [ ! -d venv ]; then
        virtualenv --verbose venv
fi
./venv/bin/easy_install markdown html5lib python-openid South psycopg2 python-memcached django==1.3.1 django-debug-toolbar django-jenkins django-endless-pagination
echo "Virtualenv installed to ./venv"

from osqa.

DanielThomas avatar DanielThomas commented on August 28, 2024

That's a great idea, but it should be something handled by manage.py IMO. I'll create an issue to track that and I also planned to look at Django 1.4 compatibility at some stage.

from osqa.

Related Issues (16)

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.