repo.or.cz
/
mygpo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
replace cleanup-views by couchdb-view-cleanup for all dbs
[mygpo.git]
/
mygpo
/
db
/
couchdb
/
management
/
commands
/
couchdb-view-cleanup.py
blob
9a454297b88a850280ffbbf1f8b7bbf0fcdbbc9e
1
from
django
.
core
.
management
.
base
import
BaseCommand
2
from
mygpo
.
db
.
couchdb
.
utils
import
view_cleanup
3
4
5
class
Command
(
BaseCommand
):
6
""" Sync design docs from filesystem """
7
8
def
handle
(
self
, *
args
, **
options
):
9
10
view_cleanup
()