Skip to main content

Legacy features of OpenWISP Manager reimplemented in django

Project description

CI build status Test Coverage Dependency monitoring Chat Downloads code style: black

Legacy features of OpenWISP Manager reimplemented in django for OpenWISP2.

Install stable version from pypi

Install from pypi:

pip install django-owm-legacy

Install development version

Install tarball:

pip install

Alternatively you can install via pip using git:

pip install -e git+git://

If you want to contribute, install your cloned fork:

git clone<your_fork>/django-owm-legacy.git
cd django-owm-legacy
python develop

Setup (integrate in an existing django project)

Add openwisp_controller and owm_legacy to INSTALLED_APPS as follow:

    # ...
    # allauth
    # openwisp2 modules
    # openwisp2 admin theme
    # (must be loaded here)
    # other dependencies
    # ...

Other settings needed in

EXTENDED_APPS = ('django_x509', 'django_loci')

AUTH_USER_MODEL = 'openwisp_users.User'

Your should look like the following:

from django.urls import include, path
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns


urlpatterns = [
    path('admin/', include(,
    path('', include('openwisp_controller.urls', namespace='controller')),
    path('', include('owm_legacy.urls', namespace='owm_legacy')),

urlpatterns += staticfiles_urlpatterns()

Installing for development

Install sqlite:

sudo apt install -y sqlite3 libsqlite3-dev openssl libssl-dev
sudo apt install -y gdal-bin libproj-dev libgeos-dev libspatialite-dev libsqlite3-mod-spatialite

Launch Redis:

docker-compose up -d redis

Install your forked repo:

git clone git://<your_fork>/django-owm-legacy
cd django-owm-legacy/
python develop

Install test requirements:

pip install -r requirements-test.txt

Create database:

cd tests/
./ migrate
./ createsuperuser

Launch celery worker (for background jobs):

celery -A openwisp2 worker -l info

Launch development server:

./ runserver

You can access the admin interface at

Run tests with:




type: list
default: ['', '']

List of strings representing ip networks allowed to retrieve checksums and download configuration archives.


Please refer to the OpenWISP contributing guidelines.





Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-owm-legacy-1.0.tar.gz (19.9 kB view hashes)

Uploaded source

Built Distribution

django_owm_legacy-1.0-py2.py3-none-any.whl (19.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page