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

Warning in loader.py in Django 1.8 #85

Open
mapeveri opened this issue Apr 3, 2015 · 7 comments
Open

Warning in loader.py in Django 1.8 #85

mapeveri opened this issue Apr 3, 2015 · 7 comments

Comments

@mapeveri
Copy link

mapeveri commented Apr 3, 2015

In Django 1.8 when execute the server display the following warning:

RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9. from django.utils.importlib import import_module

@mapeveri mapeveri mentioned this issue Apr 3, 2015
@mapeveri
Copy link
Author

mapeveri commented Apr 3, 2015

I sent the pull request.

stephane pushed a commit to webstack/django-endless-pagination that referenced this issue Apr 23, 2015
@BlastPy
Copy link

BlastPy commented May 1, 2015

The same problem. How to fix ?

@mapeveri
Copy link
Author

mapeveri commented May 1, 2015

Hi @BlastPy, the problem is solved as well:

In the file loader.py add this:
try:
from importlib import import_module
except ImportError:
from django.utils.importlib import import_module

@wangwenchao
Copy link

the repo is not maintained?

the latest version is released in 2013 .

I add the suggest in loader.py , the problem is still exists

@Fingel
Copy link

Fingel commented Jun 12, 2015

A bit worrisome, this repo appears abandoned?

@gungorbudak
Copy link

I don't know if I'm allowed to but I forked and fixed it here: https://github.com/gungorbudak/django-endless-pagination. Also, used Bootstrap 3 theme for the templates, FYI by taking some help from https://github.com/mozillazg/django-endless-pagination-bootstrap-theme

To upgrade, you do the following:

$ cd ~/Downloads
$ git clone https://github.com/gungorbudak/django-endless-pagination.git
$ cd django-endless-pagination
$ sudo pip uninstall django-endless-pagination
$ sudo python setup.py install

And, the warning is gone.

@shtalinberg
Copy link

try my app
https://github.com/shtalinberg/django-el-pagination
my repo will be maintained

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

6 participants