FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit a3aaecba authored by Dr Abraham Martin's avatar Dr Abraham Martin
Browse files

Update READMEs

parent 41afbf3f
No related branches found
No related tags found
1 merge request!4Add tox support for matrix testing
...@@ -149,4 +149,15 @@ class MyModelAdmin(ModelAdmin): ...@@ -149,4 +149,15 @@ class MyModelAdmin(ModelAdmin):
return get_institution_name_by_id(obj.institution_id, self.all_institutions) return get_institution_name_by_id(obj.institution_id, self.all_institutions)
institution.admin_order_field = 'institution_id' institution.admin_order_field = 'institution_id'
``` ```
\ No newline at end of file
# Developing
## Run tests
Tox is configured to run on a container with a matrix execution of different versions of python and django combined.
It will also show the coverage and any possible PEP8 violations.
```shell
$ docker-compose up --build tox
```
...@@ -187,3 +187,16 @@ the name instead of the code in the admin interface ...@@ -187,3 +187,16 @@ the name instead of the code in the admin interface
institution.admin_order_field = 'institution_id' institution.admin_order_field = 'institution_id'
Developing
==========
Run tests
---------
Tox is configured to run on a container with a matrix execution of different versions of python and django combined.
It will also show the coverage and any possible PEP8 violations.
.. code:: shell
$ docker-compose up --build tox
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment