Skip to main content

git@github.com:tolomea/django-data-browser.git

Project description

django-data-browser

Django app for user friendly querying of Django models

installation

add 'data_browser` to installed_apps path("data-browser/", include("data_browser.urls")), migrate

Development

The easiest way to develop this is against your existing client project.

The compiled Javascript is checked into the repo, so if only want to mess with the Python then it's sufficient to

1: Install data_browser in editable mode pip install -e <directory to your git clone>

If you want to modify the Javascript then you also need to

2: Enable proxying to the JS dev server by adding DATA_BROWSER_DEV = True to your settings 3: Run the dev server with WDS_SOCKET_PORT=3000 PUBLIC_URL=data_browser npm start The WDS_SOCKET_PORT is so the proxied JS can find the webpack dev server. The PUBLIC_URL tells the dev server what path to serve from and should be the same as the URL you have mounted the data-browser on in you urls.py file.

To build the JS, move the files around appropriately and recreate the wheels run build.sh

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

django-data-browser-0.0.9.tar.gz (276.7 kB view details)

Uploaded Source

Built Distribution

django_data_browser-0.0.9-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file django-data-browser-0.0.9.tar.gz.

File metadata

  • Download URL: django-data-browser-0.0.9.tar.gz
  • Upload date:
  • Size: 276.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for django-data-browser-0.0.9.tar.gz
Algorithm Hash digest
SHA256 d99ad06991f5d0022244a37a37a21eca5f487196c567e7894228551f371b31b0
MD5 6b669719cd01db6f36b3d54d0571f031
BLAKE2b-256 bf4bbfe004d5f3e3974044c1d2cf2bc0cc2730682fa2b2d113c7e0d0419f4a35

See more details on using hashes here.

File details

Details for the file django_data_browser-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: django_data_browser-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for django_data_browser-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a309a3499e66633b434cb7a99f4afa0ad6a6d5ff7b0e17771b3bc2f061bd2d69
MD5 2b639f9c63374059569e35c0717c5746
BLAKE2b-256 696d0e9175fa40811ed7e23fd6a10a104ad433e4d14935451633a4104e54b921

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page