This pull request introduces the functionality for creating and managing Startup Company Profiles within the application. The following enhancements and modifications have been made:
Modified the startups database models: added class Industry. Added field industry to the projects database models.
Created a new serializer for the Startup model to handle the serialization and deserialization of startup data. Implemented custom validation rules within the serializers to ensure that incoming data meets the specified requirements and constraints. Modified the existing project serializer to accommodate changes related to the startup.
Developed views for handling API requests related to the creation and management of Startup Company Profiles.
Defined the necessary URLs for the startup-related endpoints and registered them in the project's main urls.py file.
Restricted access to the startup creation API to authenticated users only.
Wrote comprehensive tests to validate the functionality of the startup profile creation, ensuring that it behaves as expected under various conditions, including profile creation by unanthenticated user, using valid and invalid data, updating profile data.
Customized the management of the Startup model within the Django admin interface, enhancing usability for administrators by organizing fields and providing useful filtering and search options.
This pull request introduces the functionality for creating and managing Startup Company Profiles within the application. The following enhancements and modifications have been made: