diff --git a/spa/models/UserFollows.py b/spa/models/UserFollows.py new file mode 100644 index 0000000..8275587 --- /dev/null +++ b/spa/models/UserFollows.py @@ -0,0 +1,9 @@ +from django.db import models + +from spa.models.UserProfile import UserProfile +from spa.models._BaseModel import _BaseModel + + +class UserFollows(_BaseModel): + user_from = models.OneToOneField(UserProfile) + user_to = models.OneToOneField(UserProfile) diff --git a/templates/inc/_MixItemInsert.html b/templates/inc/_MixItemInsert.html index e8e8094..34be637 100644 --- a/templates/inc/_MixItemInsert.html +++ b/templates/inc/_MixItemInsert.html @@ -6,6 +6,7 @@
<%= item.user_name %>
+
<%= item.user_name %>