Answer the question
In order to leave comments, you need to log in
How to implement the scheme of this application?
Hello!
The crux of the matter is: could you help me map out the application? I’ll figure out the implementation of the functionality, but I can’t understand what exactly to create a model, what fields to create in it, how to correctly implement the class hierarchy, and so on. In general - I need to understand the very structure of the application.
Here is how the application should be implemented:
A class hierarchy that includes a base abstract class with several descendant classes that should implement methods that demonstrate different sorting algorithms (Bubble, Insert, etc.)
Also need a decorator that measures the execution time decorated function to wrap our sort functions. To do this, all you need to do is set up a simple Django model representing the execution of algorithms
Add a model to the Django admin section, allow filtering by algorithm type, and enable searching and sorting by any field in the model.
Create a simple view containing a form that allows you to select an algorithm, select a file with unsorted integers, and sort (when done, a database entry should be created).
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question