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
Built Distribution
File details
Details for the file django-data-browser-0.0.8.tar.gz
.
File metadata
- Download URL: django-data-browser-0.0.8.tar.gz
- Upload date:
- Size: 276.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61bf060df630d0966e80ebc758c5ddca22bab7039c6e88f95c69a0e68e6ff9b0 |
|
MD5 | 1c50c8b8987902f2e880be5fcd926f5b |
|
BLAKE2b-256 | f6d7cf69517ea771ed8e8c57bccee9fbddf37346c5273600daf8da2d650b2fed |
File details
Details for the file django_data_browser-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: django_data_browser-0.0.8-py3-none-any.whl
- Upload date:
- Size: 2.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463bfc38dfa15eef4994f09da78db34580ea0662890e1135965343a30ff1fa14 |
|
MD5 | ab771e505240c038979cd3fd0bb5a14f |
|
BLAKE2b-256 | 4275b50ba3fa235d7a7b1262a30b3c2f64d923eac4a947effeb63114a2eeb5d8 |