diff --git a/project/pages/urls.py b/project/pages/urls.py index 2ced6c6..bdac39a 100644 --- a/project/pages/urls.py +++ b/project/pages/urls.py @@ -4,6 +4,7 @@ from . import views urlpatterns = [ url(r'^about/website/$', views.AboutWebsiteView.as_view(), name='about-website'), + url(r'^about/me/$', views.AboutMeView.as_view(), name='about-me'), url(r'^about/$', views.AboutIndexView.as_view(), name='about'), url(r'^$', views.IndexView.as_view(), name='index') ] diff --git a/project/pages/views.py b/project/pages/views.py index 9abee43..0df5e29 100644 --- a/project/pages/views.py +++ b/project/pages/views.py @@ -32,3 +32,7 @@ class AboutWebsiteView(CustomTemplate): class AboutIndexView(CustomTemplate): template_name = 'about/index.html' html_title = "About" + +class AboutMeView(CustomTemplate): + template_name = 'about/me.html' + html_title = "About Me" diff --git a/project/urls.py b/project/urls.py index 89c7c3a..207aa27 100644 --- a/project/urls.py +++ b/project/urls.py @@ -6,7 +6,6 @@ from project.pages.views import Custom404View, NoJavascriptView urlpatterns = [ url(r'^site-admin/', include(admin.site.urls)), url(r'^404/', Custom404View.as_view(), name="404"), - url(r'^404/', Custom404View.as_view(), name="404"), url(r'^no-js/', NoJavascriptView.as_view(), name="no-js"), url(r'', include('project.pages.urls', namespace='pages')) ] diff --git a/templates/about/index.html b/templates/about/index.html index e849212..afd11ca 100644 --- a/templates/about/index.html +++ b/templates/about/index.html @@ -14,7 +14,7 @@
+
+- My website is the culmination of all my knowledge, compiled into 1 place. It not only contains all my projects, but it in itself is a project. Making sure this website works properly is a tall order, especially considering it's self hosted. And making sure that it stays secure is also important, as it contains a large amount of personal information. + My website is the culmination of all my knowledge, compiled into 1 place. It not only contains all my projects, but it in itself is a project. Making sure this website works properly is a tall order, especially considering it's self hosted. And making sure that it stays secure is also important, as it contains a large amount of personal information.
I went with the Django framework because it's what I work with at work, so I have a lot of contact with it, so exposure to bugs or clean ways to write things happen on a daily basis. I also chose it because it's written in python, one of my favourite languages, and one i'm highly fluent in. I chose PostgreSQL as a database engine because it's again what we use at work, and I already had some files preconfigured with the required config. -
+