lol, git
This commit is contained in:
6
books/converters.py
Normal file
6
books/converters.py
Normal file
@@ -0,0 +1,6 @@
|
||||
class RealIntConverter:
|
||||
regex='[0-9]+'
|
||||
def to_python(self,value):
|
||||
return int(value)
|
||||
def to_url(self,value):
|
||||
return str(value)
|
Reference in New Issue
Block a user