Before you start implementing your model please make sure that the model in your mind is not implemented inside docluster/models. Note that there might be models that have a file but not implemented. Please read the Code Style guideline, if you haven't already. Thank you :)
-
Create a file with filename being the name of your model. The filename should be all lowercase and shouldn't have any underscores.
-
Copy and paste the following template from model template.
-
Create a test file in tests/models/ with naming convention of test_yourmodelname.py.
-
Copy and paste following template from test template.