nansencenter / django-geo-spaas-adas-viewer Goto Github PK
View Code? Open in Web Editor NEWWeb GUI for searching ADAS
License: GNU Lesser General Public License v3.0
Web GUI for searching ADAS
License: GNU Lesser General Public License v3.0
Make it a reusable app according to:
https://docs.djangoproject.com/en/3.0/intro/reusable-apps/
This view is the root of the app, so it should be assigned to the root path.
It can then be assigned to a path like adas/
in the project using the app.
So it's not considered a module, so the packages built with setup.py
don't contain the actual code.
AdasSearchForm inherits from base_viewer.BaseSearchForm and adds field for searching in parameters and overrides filter() to search in parameters
View inherits from base) viewer.IndexView and replace class_form with the AdasSearchForm
Unit test for form
Integration test for get, post
If the user do some filtering and see the result, as soon as s/he click on the next link of Paginator in order to go to the paginated page, the filter is removed and the next page of all datasets are shown. This filtering action must persist untill the user refresh the webpage.
For example the user filter the results and this is what s/he sees:
After s/he click on the next bottun, the below figure is shown which is wrong in the number of datasets:
It ought to be corrected preferably by the developer of pagination.
If url(r'', ...
is specififed in urls.py then any URL after / will be accepted: '/adas', '/geometry', '/css', etc. That causes problems when adas viewer is on the root url.
It should be path('',
or re_path(r'^$',
(since url
is soon deprecated).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.