{{ publication.author_name }} ({{ publication.author_handle }}) {{ publication.published_at }}
+{{ publication.content }}
+ View post +diff --git a/src/blueskydj/urls.py b/src/blueskydj/urls.py index 80e3ecc..94c563c 100644 --- a/src/blueskydj/urls.py +++ b/src/blueskydj/urls.py @@ -15,8 +15,9 @@ Including another URLconf 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ from django.contrib import admin -from django.urls import path +from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), + path('', include('core.urls')), ] diff --git a/src/core/templates/core/user_timeline.html b/src/core/templates/core/user_timeline.html new file mode 100644 index 0000000..c9adc10 --- /dev/null +++ b/src/core/templates/core/user_timeline.html @@ -0,0 +1,7 @@ +{% for publication in publications %} +
{{ publication.author_name }} ({{ publication.author_handle }}) {{ publication.published_at }}
+{{ publication.content }}
+ View post +