Обсуждение: [GSOC 18] Perf Farm——Description of patch

Поиск
Список
Период
Сортировка

[GSOC 18] Perf Farm——Description of patch

От
"Hongyuan Ma"
Дата:
Hi,
This email is a description of 0001-add-apps-directory.patch.
In this patch, I created the apps directory and created two applications, test_item and user_operation.
The test_item application model classes are: TestBranch, TestItem
The model classes in the user_operation application are: Alias, UserMachine, TestResult

The relationship between User and UserMachine is 1 : m
The relationship between TestResult and UserMachine is: n : 1
The relationship between TestItem and TestResult is 1 : m

I also created the db_tools directory. The scripts in this directory make it easy for developers to import simulation data during development.

Here are some of my ideas:
Since django-rest-framework does not support django 1.8, I am anxious that in the next patch, I can upgrade the Django version to the TLS version, which is now 1.11.

I'm not sure if there is an existing alias database. If not, maybe I should write a web crawler that collects aliases (such as plants‘ names) from web pages (https://en.wikipedia.org/wiki/List_of_garden_plants).

In addition, can you please provide PGAUTH_REDIRECT and PGAUTH_KEY constants for use in development. I plan to change the return type of the auth module to json format.