projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding new art with user relations is there, sort of. Still needs adding relations...
[zzz-floof.git]
/
floof
/
controllers
/
relation.py
diff --git
a/floof/controllers/relation.py
b/floof/controllers/relation.py
index
4139da8
..
48e7a46
100644
(file)
--- a/
floof/controllers/relation.py
+++ b/
floof/controllers/relation.py
@@
-7,10
+7,13
@@
from floof.lib.base import BaseController, render
log = logging.getLogger(__name__)
log = logging.getLogger(__name__)
-from floof.model
.art
import Art, UserRelation
+from floof.model import Art, UserRelation
from floof.model.users import User
import elixir
from floof.model.users import User
import elixir
+# TODO!!! Implement adding a related user the same way that it works
+# on the "add new art" page
+
class RelationController(BaseController):
def create(self, art_id, kind):
art = h.get_object_or_404(Art, id=art_id)
class RelationController(BaseController):
def create(self, art_id, kind):
art = h.get_object_or_404(Art, id=art_id)