Issues 0 Pull Requests 0 Commits 922 Releases 0

No Description

version_utils.py 502B

    # -*- coding: utf-8 -*- from django.conf import settings from versions import Version def is_version_match(request, vers={}): version = request.GET.get('version', '') or request.POST.get('version', settings.CURRENT_VERSION) minv, maxv = (vers.get('min_adr', ''), vers.get('max_adr', '')) if request.Android else (vers.get('min_ios', ''), vers.get('max_ios', '')) return Version.parse(minv or settings.MIN_VERSION) <= Version.parse(version) <= Version.parse(maxv or settings.MAX_VERSION)
kodo - Gogs: Go Git Service

Aucune description

.gitignore 735B

    # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *.swp # C extensions *.so # Distribution / packaging bin/ build/ develop-eggs/ dist/ eggs/ lib/ lib64/ parts/ sdist/ venv/ var/ static/upload/ *.egg-info/ .installed.cfg *.egg *.sublime* # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports .tox/ .coverage .cache nosetests.xml coverage.xml # Translations # *.mo # Mr Developer .mr.developer.cfg .project .pydevproject .settings # Rope .ropeproject # Django stuff: *.log *.pot # Sphinx documentation docs/_build/ # Ignore For zhTimer .DS_Store db.sqlite3 local_settings.py .idea/ media/ collect_static/ # Special File *download.html # Qiniu .qiniu_pythonsdk_hostscache.json