File: helper.py

package info (click to toggle)
django-js-reverse 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 240 kB
  • sloc: python: 938; makefile: 5
file content (6 lines) | stat: -rw-r--r-- 107 bytes parent folder | download
1
2
3
4
5
6
# -*- coding: utf-8 -*-
from django import VERSION


def is_django_ver_gte_2():
    return VERSION[0] >= 2