]> git.0d.be Git - chloro.git/blobdiff - chloro/monkeypatch.py
import reverse from new location (compat with django 2.2)
[chloro.git] / chloro / monkeypatch.py
index 436b0cd35949c0de6765fe1608917281c389b0b4..62ce971b4c260fb8a214ceae0572853a69165467 100644 (file)
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-from django.core.urlresolvers import reverse
+from django.urls import reverse
 from django.forms.utils import flatatt
 from django.template.loader import render_to_string
 from django.utils.encoding import force_text
 from django.forms.utils import flatatt
 from django.template.loader import render_to_string
 from django.utils.encoding import force_text