diff --git a/proj/settings.py b/proj/settings.py index dcf5d43e..bf79b1ce 100644 --- a/proj/settings.py +++ b/proj/settings.py @@ -38,7 +38,7 @@ CACHES = { # Hosts/domain names that are valid for this site; required if DEBUG is False # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts -ALLOWED_HOSTS = ['hit.expomap.ru', '195.66.79.152', '195.66.79.145'] +ALLOWED_HOSTS = ['hit.expomap.ru', '195.66.79.152', '195.66.79.145', 'expomap.ru'] # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name diff --git a/proj/urls.py b/proj/urls.py index 2134a8fb..1e7f6df3 100644 --- a/proj/urls.py +++ b/proj/urls.py @@ -72,15 +72,34 @@ urlpatterns = patterns('', # test urls from accounts.models import User def delete_user(request): -# User.objects.filter(email='kotzillla@gmail.com').delete() + User.objects.filter(email='kotzillla@gmail.com').delete() return HttpResponse('deleted') +def delete_user_info(request): + user = request.user + user.url = '' + user.company = None + user.position = '' + user.save() + pr = user.profile + pr.city = None + pr.country = None + pr.about_company = '' + pr.phone = None + pr.web_page = '' + pr.about = '' + pr.facebook = '' + pr.vk = '' + pr.twitter = '' + pr.linkedin = '' + pr.save() + return HttpResponse('info deleted') + urlpatterns += patterns('', url(r'^delete-user/', delete_user), - + url(r'^delete-user-info/', delete_user_info), ) - # ajax urls urlpatterns += patterns('', url(r'^register/', 'registration.backends.default.views.RegisterAjaxView'), diff --git a/static/client.old/img/comments/1.png b/static/client.old/img/comments/1.png new file mode 100644 index 00000000..3783bf41 Binary files /dev/null and b/static/client.old/img/comments/1.png differ diff --git a/static/client.old/img/comments/2.gif b/static/client.old/img/comments/2.gif new file mode 100644 index 00000000..93ad0e60 Binary files /dev/null and b/static/client.old/img/comments/2.gif differ diff --git a/static/client.old/img/comments/3.png b/static/client.old/img/comments/3.png new file mode 100644 index 00000000..d15fa96b Binary files /dev/null and b/static/client.old/img/comments/3.png differ diff --git a/static/client.old/img/comments/4.png b/static/client.old/img/comments/4.png new file mode 100644 index 00000000..f8d250f1 Binary files /dev/null and b/static/client.old/img/comments/4.png differ diff --git a/static/client.old/img/comments/5.jpg b/static/client.old/img/comments/5.jpg new file mode 100644 index 00000000..eee3573d Binary files /dev/null and b/static/client.old/img/comments/5.jpg differ diff --git a/static/client.old/img/comments/PROPHOTOS.png b/static/client.old/img/comments/PROPHOTOS.png new file mode 100644 index 00000000..81a7fe2f Binary files /dev/null and b/static/client.old/img/comments/PROPHOTOS.png differ diff --git a/static/client.old/img/comments/RS Balance.png b/static/client.old/img/comments/RS Balance.png new file mode 100644 index 00000000..edb4924f Binary files /dev/null and b/static/client.old/img/comments/RS Balance.png differ diff --git a/static/client.old/img/comments/Revival RMC.jpg b/static/client.old/img/comments/Revival RMC.jpg new file mode 100644 index 00000000..f53467cb Binary files /dev/null and b/static/client.old/img/comments/Revival RMC.jpg differ diff --git a/static/client.old/img/comments/Sail First.png b/static/client.old/img/comments/Sail First.png new file mode 100644 index 00000000..0ed3009a Binary files /dev/null and b/static/client.old/img/comments/Sail First.png differ diff --git a/static/client.old/img/comments/VEZDEVOZ.png b/static/client.old/img/comments/VEZDEVOZ.png new file mode 100644 index 00000000..072459c5 Binary files /dev/null and b/static/client.old/img/comments/VEZDEVOZ.png differ diff --git a/templates/client/includes/exposition/exposition_object.html b/templates/client/includes/exposition/exposition_object.html index 21e8e38f..daf154e3 100644 --- a/templates/client/includes/exposition/exposition_object.html +++ b/templates/client/includes/exposition/exposition_object.html @@ -179,7 +179,7 @@ {% if exposition.web_page %}
{% trans 'Веб-сайт' %}:
- {{ exposition.web_page }} + {{ exposition.web_page }}
{% endif %} diff --git a/templates/client/service/participation.html b/templates/client/service/participation.html index 3ca2b79d..b4b3c307 100644 --- a/templates/client/service/participation.html +++ b/templates/client/service/participation.html @@ -1,6 +1,7 @@ {% extends 'base_catalog.html' %} {% load static %} {% load i18n %} +{% load template_filters %} {% block bread_scrumbs %}