Implemented mandant based blog posts

This commit is contained in:
2016-06-17 22:37:43 +02:00
parent e3ef06a41a
commit c2eede9500
5 changed files with 93 additions and 53 deletions

View File

@@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License
along with TipPy. If not, see <http://www.gnu.org/licenses/>.
"""
from tipp.models import Team, Match, Tipp, Score, Mandant, RelUserMandant, Competition, Post, UserProfile
from tipp.models import *
from django.contrib import admin
class PostAdmin(admin.ModelAdmin):
@@ -41,4 +41,5 @@ admin.site.register(Score)
admin.site.register(RelUserMandant)
admin.site.register(Competition)
admin.site.register(Post, PostAdmin)
admin.site.register(RelPostMandant)