https://github.com/sesh/djver
Ever wanted to know what version of Django someone else is running?
https://github.com/sesh/djver
Last synced: 10 months ago
JSON representation
Ever wanted to know what version of Django someone else is running?
- Host: GitHub
- URL: https://github.com/sesh/djver
- Owner: sesh
- License: mit
- Created: 2015-03-04T01:46:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-10-19T02:25:30.000Z (over 7 years ago)
- Last Synced: 2025-08-31T06:38:38.031Z (10 months ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Through the power of Django's contrib.admin you can use this tool to figure out
(with a decent level of reliability) what version of Django a site is running.
This will only work if contrib.admin is enabled, you can figure out the site's
STATIC_URL, and access to the admin CSS isn't otherwise restricted.
`djver` will detect Django versions from Django 1.4 to Django 1.10.x.
It's probably not a great idea. Just a proof of concept.
### Installation
pip install git+https://github.com/sesh/djver
_Note: right now this is only really tested with Python 3.5_
### Usage
Usage:
djver [--static-path=]
Options:
--static-path= URL path to the site's static files [default: /static/].
### Examples
> ./djver.py commoncode.com.au
1.9.10-1.9
> ./djver.py djangoproject.com --static-path=/s/
1.9.10-1.9