Take a look at
https://docs.djangoproject.com/en/2.1/topics/class-based-views/generic-editing/
On December 7, 2018 7:09:25 AM CST, Rupam Hazra wrote:
>Hi,
>
>I have working in a TaskManagement Sytem where i have *project *module
>and *technology
>*module.
>
>class ProjectMaster(models.Model):
>
Settings.py
REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAuthenticated',
),
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework_jwt.authentication.JSONWebTokenAuthentication')
}
AUTH_USER_MODEL = '**app_name**.Users'
models.py
from django.db import models
import
2 matches
Mail list logo