client/src/store/userRecord.js
author ymh <ymh.work@gmail.com>
Fri, 30 Nov 2018 10:53:15 +0100
changeset 183 f8f3af9e5c83
parent 168 ea92f4fe783d
permissions -rw-r--r--
Change the settings to avoid using Session authentication for rest framework as it raise exceptions in case client and backend are on the same domain On the filter, adapt to take into account new version of django_filters
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
168
ea92f4fe783d - move SlateEditor and dependencies to its own folder
ymh <ymh.work@gmail.com>
parents: 132
diff changeset
     1
import { Record } from '.';
67
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
168
ea92f4fe783d - move SlateEditor and dependencies to its own folder
ymh <ymh.work@gmail.com>
parents: 132
diff changeset
     3
export default Record({
67
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
  pk: '',
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
  username: '',
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
  email: '',
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
  first_name: '',
132
906a6c7c7943 add group to sync + create groups + various component cleaning
ymh <ymh.work@gmail.com>
parents: 67
diff changeset
     9
  last_name: '',
906a6c7c7943 add group to sync + create groups + various component cleaning
ymh <ymh.work@gmail.com>
parents: 67
diff changeset
    10
  default_group: null,
67
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
168
ea92f4fe783d - move SlateEditor and dependencies to its own folder
ymh <ymh.work@gmail.com>
parents: 132
diff changeset
    12
});