File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,12 @@ from sandman.model import register, Model
22
22
23
23
class Artist (Model ):
24
24
__tablename__ = ' Artist'
25
- endpoint = ' artists'
26
- primary_key = ' ArtistId'
27
25
28
26
class Album (Model ):
29
27
__tablename__ = ' Album'
30
- endpoint = ' albums'
31
- primary_key = ' AlbumId'
32
28
33
29
class Playlist (Model ):
34
30
__tablename__ = ' Playlist'
35
- endpoint = ' playlists'
36
- primary_key = ' PlaylistId'
37
31
38
32
register((Artist, Album, Playlist))
39
33
@@ -140,7 +134,5 @@ The models file is identical to the code pasted above.
140
134
141
135
### Coming Soon
142
136
143
- * Less boilerplate! (Requirement to document name of primary key field will be removed)
144
- * Ability to specify accepted HTTP methods on a per-class level
145
137
* Class specific validation
146
138
* More ` links ` automatically generated (i.e. ` links ` to related objects)
You can’t perform that action at this time.
0 commit comments