11 lines
182 B
Python
11 lines
182 B
Python
from utils import *
|
|
|
|
import models
|
|
import settings
|
|
|
|
|
|
class Commentable(models.Model):
|
|
|
|
base_url = "{prefix}/commentables".format(prefix=settings.PREFIX)
|
|
type = 'commentable'
|