diff --git a/blog/templates/blog/post.html b/blog/templates/blog/post.html index b129286..f93b0e9 100644 --- a/blog/templates/blog/post.html +++ b/blog/templates/blog/post.html @@ -1,6 +1,9 @@

{% if title_links %}{% endif %}{{ post.title }}{% if title_links %}{% else %}
{% endif %}

{{ post.created_at|date:'m-d-Y :: H:i' }} by {{ post.user.first_name }} {{ post.user.last_name }}

+ {% comment %} + {{ post.content|insert_code_chunks }} + {% endcomment %} {{ post.content|safe }} {% if post.tags.all %}

Tags: diff --git a/gergelypolonkai_django/__init__.py b/gergelypolonkaiweb/__init__.py similarity index 100% rename from gergelypolonkai_django/__init__.py rename to gergelypolonkaiweb/__init__.py diff --git a/gergelypolonkai_django/helper.py b/gergelypolonkaiweb/helper.py similarity index 100% rename from gergelypolonkai_django/helper.py rename to gergelypolonkaiweb/helper.py diff --git a/gergelypolonkai_django/settings.py b/gergelypolonkaiweb/settings.py similarity index 95% rename from gergelypolonkai_django/settings.py rename to gergelypolonkaiweb/settings.py index 51ad65c..1019259 100644 --- a/gergelypolonkai_django/settings.py +++ b/gergelypolonkaiweb/settings.py @@ -1,6 +1,6 @@ import os, os.path -# Django settings for gergelypolonkai_django project. +# Django settings for gergelypolonkaiweb project. SITE_ROOT = os.path.dirname(os.path.realpath(__file__)) DEBUG = True @@ -106,10 +106,10 @@ MIDDLEWARE_CLASSES = ( # 'django.middleware.clickjacking.XFrameOptionsMiddleware', ) -ROOT_URLCONF = 'gergelypolonkai_django.urls' +ROOT_URLCONF = 'gergelypolonkaiweb.urls' # Python dotted path to the WSGI application used by Django's runserver. -WSGI_APPLICATION = 'gergelypolonkai_django.wsgi.application' +WSGI_APPLICATION = 'gergelypolonkaiweb.wsgi.application' TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". @@ -171,8 +171,8 @@ TEMPLATE_CONTEXT_PROCESSORS = ( "django.core.context_processors.static", "django.core.context_processors.tz", "django.contrib.messages.context_processors.messages", - 'gergelypolonkai_django.helper.tagcloud', - 'gergelypolonkai_django.helper.randomheader', + 'gergelypolonkaiweb.helper.tagcloud', + 'gergelypolonkaiweb.helper.randomheader', ) HEADER_DIR = SITE_ROOT + os.path.sep + "static" + os.path.sep + "images" + os.path.sep + "header" diff --git a/gergelypolonkai_django/static/apple-touch-icon.png b/gergelypolonkaiweb/static/apple-touch-icon.png similarity index 100% rename from gergelypolonkai_django/static/apple-touch-icon.png rename to gergelypolonkaiweb/static/apple-touch-icon.png diff --git a/gergelypolonkai_django/static/css/front.css b/gergelypolonkaiweb/static/css/front.css similarity index 100% rename from gergelypolonkai_django/static/css/front.css rename to gergelypolonkaiweb/static/css/front.css diff --git a/gergelypolonkai_django/static/favicon.ico b/gergelypolonkaiweb/static/favicon.ico similarity index 100% rename from gergelypolonkai_django/static/favicon.ico rename to gergelypolonkaiweb/static/favicon.ico diff --git a/gergelypolonkai_django/static/images/deviantart_16.png b/gergelypolonkaiweb/static/images/deviantart_16.png similarity index 100% rename from gergelypolonkai_django/static/images/deviantart_16.png rename to gergelypolonkaiweb/static/images/deviantart_16.png diff --git a/gergelypolonkai_django/static/images/email_16.png b/gergelypolonkaiweb/static/images/email_16.png similarity index 100% rename from gergelypolonkai_django/static/images/email_16.png rename to gergelypolonkaiweb/static/images/email_16.png diff --git a/gergelypolonkai_django/static/images/facebook_16.png b/gergelypolonkaiweb/static/images/facebook_16.png similarity index 100% rename from gergelypolonkai_django/static/images/facebook_16.png rename to gergelypolonkaiweb/static/images/facebook_16.png diff --git a/gergelypolonkai_django/static/images/google_plus_16.png b/gergelypolonkaiweb/static/images/google_plus_16.png similarity index 100% rename from gergelypolonkai_django/static/images/google_plus_16.png rename to gergelypolonkaiweb/static/images/google_plus_16.png diff --git a/gergelypolonkai_django/static/images/googletalk_16.png b/gergelypolonkaiweb/static/images/googletalk_16.png similarity index 100% rename from gergelypolonkai_django/static/images/googletalk_16.png rename to gergelypolonkaiweb/static/images/googletalk_16.png diff --git a/gergelypolonkai_django/static/images/header/header_1.png b/gergelypolonkaiweb/static/images/header/header_1.png similarity index 100% rename from gergelypolonkai_django/static/images/header/header_1.png rename to gergelypolonkaiweb/static/images/header/header_1.png diff --git a/gergelypolonkai_django/static/images/header/header_2.png b/gergelypolonkaiweb/static/images/header/header_2.png similarity index 100% rename from gergelypolonkai_django/static/images/header/header_2.png rename to gergelypolonkaiweb/static/images/header/header_2.png diff --git a/gergelypolonkai_django/static/images/header/header_3.png b/gergelypolonkaiweb/static/images/header/header_3.png similarity index 100% rename from gergelypolonkai_django/static/images/header/header_3.png rename to gergelypolonkaiweb/static/images/header/header_3.png diff --git a/gergelypolonkai_django/static/images/header/header_4.png b/gergelypolonkaiweb/static/images/header/header_4.png similarity index 100% rename from gergelypolonkai_django/static/images/header/header_4.png rename to gergelypolonkaiweb/static/images/header/header_4.png diff --git a/gergelypolonkai_django/static/images/komodomedia_azure_16.png b/gergelypolonkaiweb/static/images/komodomedia_azure_16.png similarity index 100% rename from gergelypolonkai_django/static/images/komodomedia_azure_16.png rename to gergelypolonkaiweb/static/images/komodomedia_azure_16.png diff --git a/gergelypolonkai_django/static/images/linkedin_16.png b/gergelypolonkaiweb/static/images/linkedin_16.png similarity index 100% rename from gergelypolonkai_django/static/images/linkedin_16.png rename to gergelypolonkaiweb/static/images/linkedin_16.png diff --git a/gergelypolonkai_django/static/images/profile.png b/gergelypolonkaiweb/static/images/profile.png similarity index 100% rename from gergelypolonkai_django/static/images/profile.png rename to gergelypolonkaiweb/static/images/profile.png diff --git a/gergelypolonkai_django/static/images/rss_16.png b/gergelypolonkaiweb/static/images/rss_16.png similarity index 100% rename from gergelypolonkai_django/static/images/rss_16.png rename to gergelypolonkaiweb/static/images/rss_16.png diff --git a/gergelypolonkai_django/static/images/skype_16.png b/gergelypolonkaiweb/static/images/skype_16.png similarity index 100% rename from gergelypolonkai_django/static/images/skype_16.png rename to gergelypolonkaiweb/static/images/skype_16.png diff --git a/gergelypolonkai_django/static/images/tumblr_16.png b/gergelypolonkaiweb/static/images/tumblr_16.png similarity index 100% rename from gergelypolonkai_django/static/images/tumblr_16.png rename to gergelypolonkaiweb/static/images/tumblr_16.png diff --git a/gergelypolonkai_django/static/images/twitter_16.png b/gergelypolonkaiweb/static/images/twitter_16.png similarity index 100% rename from gergelypolonkai_django/static/images/twitter_16.png rename to gergelypolonkaiweb/static/images/twitter_16.png diff --git a/gergelypolonkai_django/static/images/windows_16.png b/gergelypolonkaiweb/static/images/windows_16.png similarity index 100% rename from gergelypolonkai_django/static/images/windows_16.png rename to gergelypolonkaiweb/static/images/windows_16.png diff --git a/gergelypolonkai_django/templates/front_base.html b/gergelypolonkaiweb/templates/front_base.html similarity index 100% rename from gergelypolonkai_django/templates/front_base.html rename to gergelypolonkaiweb/templates/front_base.html diff --git a/gergelypolonkai_django/urls.py b/gergelypolonkaiweb/urls.py similarity index 100% rename from gergelypolonkai_django/urls.py rename to gergelypolonkaiweb/urls.py diff --git a/gergelypolonkai_django/wsgi.py b/gergelypolonkaiweb/wsgi.py similarity index 90% rename from gergelypolonkai_django/wsgi.py rename to gergelypolonkaiweb/wsgi.py index 2cb0a3c..620fa34 100644 --- a/gergelypolonkai_django/wsgi.py +++ b/gergelypolonkaiweb/wsgi.py @@ -1,5 +1,5 @@ """ -WSGI config for gergelypolonkai_django project. +WSGI config for gergelypolonkaiweb project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable @@ -18,8 +18,8 @@ import os # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This breaks # if running multiple sites in the same mod_wsgi process. To fix this, use # mod_wsgi daemon mode with each site in its own daemon process, or use -# os.environ["DJANGO_SETTINGS_MODULE"] = "gergelypolonkai_django.settings" -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gergelypolonkai_django.settings") +# os.environ["DJANGO_SETTINGS_MODULE"] = "gergelypolonkaiweb.settings" +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gergelypolonkaiweb.settings") # This application object is used by any WSGI server configured to use this # file. This includes Django's development server, if the WSGI_APPLICATION diff --git a/manage.py b/manage.py index c71c66c..ec4d7cd 100644 --- a/manage.py +++ b/manage.py @@ -3,7 +3,7 @@ import os import sys if __name__ == "__main__": - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gergelypolonkai_django.settings") + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gergelypolonkaiweb.settings") from django.core.management import execute_from_command_line