6π
One project may have many application in it & you can create app using below code.
django-admin startapp my_new_app
.
Also you can reuse same app in multiple projects.
For Hrm
you should create new app instead of new project.
Example : One ERP projects may have many apps like hrm, sales, purchase, inventory etc.. & we can reuse same apps into another ERP projects also if needed.
Hope above clarifications works for you.
1π
Project and apps and different see this
django-admin startproject mydjangoproject
creates the project for you,
What you want to do is to create an app hrms
and caculator
can be apps living under umbrella of one project that is mydjangoproject
You should create apps here by django-admin startapp hrms
and django-admin startapp calculator
and add it to settings.py
in your project folder
INSTALLED_APPS = [ #otherapps here
'hrms',
'calculator']
- [Django]-ValueError: invalid literal for int() with base 10:
- [Django]-How do I reset PYTHONPATH to "default" value in virtualenv?
- [Django]-Formatting Time Django Template
0π
Start project and start app are very different commands. With the first one you create a project which will have a base structure to work on. The second command is used to create apps which you could classify as controllers. Each app will live in a folder where you will program the business logic and bind endpoints.
- [Django]-Django: How do I get every table and all of that table's columns in a project?
- [Django]-How to add html classes to a Django template 'for-loop' dynamically?
- [Django]-How to override and call super for response_change or response_add in django admin
- [Django]-Django-paypal does not receive signals
- [Django]-A better way to get only specific attributes from a Django queryset?
0π
The app would be a new module in your project, letβs say it would be a management system with human resources, financial modules, etc., so you would create an app for each of them to better organize, but nothing prevents creating everything in one app.Create a project only if it is something different.
- [Django]-AttributeError: 'decimal.Decimal' object has no attribute 'decode'
- [Django]-Django rest framework custom return response
- [Django]-Getting a typeError error in django project