Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing django module in master? #19

Closed
cdman opened this issue Apr 13, 2012 · 3 comments
Closed

Missing django module in master? #19

cdman opened this issue Apr 13, 2012 · 3 comments

Comments

@cdman
Copy link

cdman commented Apr 13, 2012

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?

@DanielThomas
Copy link
Owner

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

@cdman
Copy link
Author

cdman commented Apr 17, 2012

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"

@cdman cdman closed this as completed Apr 17, 2012
@DanielThomas
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants