https://github.com/muhammedrahil/django-management
A Manager is the interface through which database query operations are provided to Django models. At least one Manager exists for every model in a Django application.
https://github.com/muhammedrahil/django-management
django django-rest-framework management python seeder
Last synced: 7 months ago
JSON representation
A Manager is the interface through which database query operations are provided to Django models. At least one Manager exists for every model in a Django application.
- Host: GitHub
- URL: https://github.com/muhammedrahil/django-management
- Owner: muhammedrahil
- Created: 2023-01-25T12:12:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-25T14:03:50.000Z (over 2 years ago)
- Last Synced: 2025-01-21T01:13:07.640Z (9 months ago)
- Topics: django, django-rest-framework, management, python, seeder
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django-Management
### Create folder -> myapp/management/commands/ ###
### check_manage.py
```
from django.core.management.base import BaseCommand
class Command(BaseCommand):
help = 'Update avatars based on the Member first name and last name'def handle(self, *args, **options):
...... code ....```
``` python manage.py check_manage ```