Sérgio Berlotto Jr
Sérgio Berlotto Jr
I set the ranges to show in the lateral, like this, through a computed method: ```js return { 'Today': [moment().toDate(), moment().toDate()], 'This Week': [thisWeekStart, thisWeekEnd], 'This Month': [thisMonthStart, thisMonthEnd], }...
I'm using flask-mongoengine like follow: ``` python class PostBase(db.Document): #many other fields... class Post(PostBase): body = db.StringField(required=True) class PostModel(model.ModelAdmin): list_display = ('title','created_at', 'get_absolute_url') # only = ('username',) exclude = ('created_at','meta')...