Re: Django UpdateView and Createview

2018-12-08 Thread Ryan Nowakowski
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): >

auth-jwt api end point not generating token with custom user model.

2018-12-08 Thread myselfjamescameron
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