diff --git a/SocialHelper/homepage/__pycache__/admin.cpython-37.pyc b/SocialHelper/homepage/__pycache__/admin.cpython-37.pyc index f2e69fb..c18d539 100644 Binary files a/SocialHelper/homepage/__pycache__/admin.cpython-37.pyc and b/SocialHelper/homepage/__pycache__/admin.cpython-37.pyc differ diff --git a/SocialHelper/homepage/__pycache__/urls.cpython-37.pyc b/SocialHelper/homepage/__pycache__/urls.cpython-37.pyc index 00e5188..f930713 100644 Binary files a/SocialHelper/homepage/__pycache__/urls.cpython-37.pyc and b/SocialHelper/homepage/__pycache__/urls.cpython-37.pyc differ diff --git a/SocialHelper/homepage/__pycache__/views.cpython-37.pyc b/SocialHelper/homepage/__pycache__/views.cpython-37.pyc index 36c4abb..3e3f4eb 100644 Binary files a/SocialHelper/homepage/__pycache__/views.cpython-37.pyc and b/SocialHelper/homepage/__pycache__/views.cpython-37.pyc differ diff --git a/SocialHelper/homepage/admin.py b/SocialHelper/homepage/admin.py index 0699f4d..32076e1 100644 --- a/SocialHelper/homepage/admin.py +++ b/SocialHelper/homepage/admin.py @@ -1,5 +1,6 @@ from django.contrib import admin -from .models import Product, Places +from .models import Product, Places, Ocena admin.site.register(Product) admin.site.register(Places) +admin.site.register(Ocena) diff --git a/SocialHelper/homepage/templates/homepage/index.html b/SocialHelper/homepage/templates/homepage/index.html index 39cccf0..af42210 100644 --- a/SocialHelper/homepage/templates/homepage/index.html +++ b/SocialHelper/homepage/templates/homepage/index.html @@ -47,17 +47,19 @@
{{ product.description }}
diff --git a/SocialHelper/homepage/templates/homepage/user_profile.html b/SocialHelper/homepage/templates/homepage/user_profile.html new file mode 100644 index 0000000..45eb34a --- /dev/null +++ b/SocialHelper/homepage/templates/homepage/user_profile.html @@ -0,0 +1,216 @@ +{% extends 'base.html' %} +{% load static %} +{% block content %} + + + + + + + + + + + +No polls are available.
+ {% endif %} +No polls are available.
+ {% endif %} +