django-endless-pagination icon indicating copy to clipboard operation
django-endless-pagination copied to clipboard

Warning in loader.py in Django 1.8

Open mapeveri opened this issue 9 years ago • 7 comments

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 avatar Apr 03 '15 22:04 mapeveri

I sent the pull request.

mapeveri avatar Apr 03 '15 22:04 mapeveri

The same problem. How to fix ?

BlastPy avatar May 01 '15 07:05 BlastPy

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

mapeveri avatar May 01 '15 12:05 mapeveri

the repo is not maintained?

the latest version is released in 2013 .

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

wangwenchao avatar May 06 '15 03:05 wangwenchao

A bit worrisome, this repo appears abandoned?

Fingel avatar Jun 12 '15 03:06 Fingel

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.

gungorbudak avatar Jun 19 '15 16:06 gungorbudak

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

shtalinberg avatar Dec 07 '15 13:12 shtalinberg