Skip to content

Commit

Permalink
Files Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
capt-watson committed Sep 1, 2024
1 parent 64891dc commit b57c9df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Binary file modified Python_Crash_Course/learning_log/db.sqlite3
Binary file not shown.
Binary file not shown.
3 changes: 1 addition & 2 deletions Python_Crash_Course/learning_log/learning_logs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,4 @@ def edit_entry(request, entry_id):
context = {'entry':entry, 'topic':topic, 'form':form}
return render(request, 'learning_logs/edit_entry.html', context)

## View func() takes in info from request, prepares data needed to generate a page with help of a template, and then sends the data back to the browser.

## View func() takes in info from request, prepares data needed to generate a page with help of a template, and then sends the data back to the browser.
3 changes: 3 additions & 0 deletions Python_Crash_Course/learning_log/ll_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
## Third party apps
'django_bootstrap5',


## Default django apps.
'django.contrib.admin',
'django.contrib.auth',
Expand Down Expand Up @@ -78,6 +79,7 @@
WSGI_APPLICATION = 'll_project.wsgi.application'



# Database
# https://docs.djangoproject.com/en/5.0/ref/settings/#databases

Expand Down Expand Up @@ -133,3 +135,4 @@
LOGIN_REDIRECT_URL = 'learning_logs:index'
LOGOUT_REDIRECT_URL = 'learning_logs:index'
LOGIN_URL = 'accounts:login'

0 comments on commit b57c9df

Please sign in to comment.