Learning Log App Project in Django with Source Code
The Learning Log App Project in Django is created using Python Django Framework. The system is built fully in Django Framework in back-end and HTML, CSS and JavaScript in front-end. Basically, the project includes tutorials and guides for creating a code.
This Learning Log is a Web Application that provides students or working staff with an integrated user interface to add learning logs. Students may add as many entries as they want and monitor all learning logs in each individual learning log. This project also includes an admin panel from which you can monitor all the registered users, logs, and entries.
To start creating a Learning Log App Project in Django, makes sure that you have PyCharm Professional IDE Installed in your computer.
This Learning Log App Project in Django also includes a Download Source Code for free, just find the downloadable source code below and click download now.
Features of Learning Log App Project in Django
- Homepage – For the homepage, you will be able to all the basic access in the whole system. Such as topics, registration and login.
- Topics– For the topics, you will be able to add new topics as many as you want and you can also edit the topics.
- Registration – For the registration, you will fill the forms. Such as your username and password.
- Login – For the login, you must login first before you can add a new topic.
Steps on how to create a Learning Log App Project in Django With Source Code
Learning Log App Project in Django With Source Code
- Step 1: Open file.
First , open “pycharm professional” after that click “file” and click “new project“.
- Step 2: Choose Django
Second, after click “new project“, choose “Django” and click.
- Step 3: Select file location.
Third, select a file location wherever you want.
- Step 4: Create application name.
Fourth, name your application.
- Step 5: Click create.
Fifth, finish creating project by clicking “create” button.
- Step 6: Start Coding.
In this final step, we will now start adding functionality to our Django Framework by adding some functional codes.
This are the module to add functionality for Learning Log App Project in Django
- Create template for the homepage in Learning Log App Project in Django.
In this section, we will learn on how create a templates for the homepage. To start with, add the following code in your base.html under the folder of learning_logs/template/learning_logs files.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
{% load bootstrap3 %} <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Learning Log Application</title> {% bootstrap_css %} {% bootstrap_javascript %} </head> <body style="background-color: skyblue"> <!-- Static navbar --> <nav class="navbar navbar-default navbar-static-top" style="background-color: black"> <div class="container"> <div class="navbar-header" > <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"></button> <a class="navbar-brand" href="{% url 'learning_logs:index' %}"> Learning Log Application </a> </div> <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li><a href="{% url 'learning_logs:topics' %}">Topics</a></li> </ul> <ul class="nav navbar-nav navbar-right"> {% if user.is_authenticated %} <li><a>Hello, {{ user.username }}.</a></li> <li><a href="{% url 'users:logout' %}">Log out</a></li> {% else %} <li><a href="{% url 'users:register' %}">Register</a></li> <li><a href="{% url 'users:login' %}">Log in</a></li> {% endif %} </ul> </div><!--/.nav-collapse --> </div> </nav> <div class="container"> <div class="page-header"> {% block header %}{% endblock header %} </div> <div> {% block content %}{% endblock content %} </div> </div> <!-- /container --> </body> </html> |
After adding the code, you may click the run button to test the code. The output should look like as shown below.

- Create template for the registration page in Learning Log App Project in Django.
In this section, we will learn on how create a templates for the registration form. To start with, add the following code in your user_registration.html under the folder of users/templates/users files.
1 2 3 4 5 6 7 8 9 |
{% extends "learning_logs/base.html" %} {% block content %} <form method="post" action="{% url 'users:register' %}"> {% csrf_token %} {{ form.as_p }} <button name="submit" class="btn btn-success">Register</button> <input type="hidden" name="next" value="{% url 'learning_logs:index' %}" /> </form> {% endblock content %} |
After adding the code, you may click the run button to test the code. The output should look like as shown below.

- Create template for the login form in Learning Log App Project in Django.
In this section, we will learn on how create a templates for the login form. To start with, add the following code in your user_login.html under the folder of users/templates/users files.
1 2 3 4 5 6 7 8 9 10 11 |
{% extends "learning_logs/base.html" %} {% block content %} {% if form.errors %} <p>Your username and password didn't match. Please try again.</p> {% endif %} <form method="post" action="{% url 'users:login' %}"> {% csrf_token %} {{ form.as_p }} <button name="submit" class="btn btn-success">Log in</button> <input type="hidden" name="next" value="{% url 'learning_logs:index' %}" /> </form> {% endblock content %} |
- After adding the code, you may click the run button to test the code. The output should look like as shown below.

Create template for the add topics in Learning Log App Project in Django.
In this section, we will learn on how create a templates for the add topics form. To start with, add the following code in your add_new_topic.html under the folder of learning_logs/template/learning_logs files.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
{% extends "learning_logs/base.html" %} {% load bootstrap3 %} {% block header %} <h2>Add a new topic:</h2> {% endblock header %} {% block content %} <form action="{% url 'learning_logs:new_topic' %}" method='post' class="form"> {% csrf_token %} {% bootstrap_form form %} {% buttons %} <button name="submit" class="btn btn-success">Add Topic</button> {% endbuttons %} </form> {% endblock content %} |
After adding the code, you may click the run button to test the code. The output should look like as shown below.

- Create template for the edit topic form in Learning Log App Project in Django.
In this section, we will learn on how create a templates for the edit topics form. To start with, add the following code in your add_new_topic.html under the folder of learning_logs/template/learning_logs files.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
{% extends "learning_logs/base.html" %} {% load bootstrap3 %} {% block header %} <h2>Edit entry:</h2> {% endblock header %} {% block content %} <h3> <a href="{% url 'learning_logs:topic' topic.id %}">{{ topic }}</a></p> </h3> <form action="{% url 'learning_logs:edit_entry' entry.id %}" method='post' class="form"> {% csrf_token %} {% bootstrap_form form%} {% buttons%} <button name='submit' class="btn btn-success">Save Changes</button> {% endbuttons %} </form> {% endblock content %} |
After adding the code, you may click the run button to test the code. The output should look like as shown below.

Run Quick Virus Scan for secure Download
Run Quick Scan for safe DownloadDownloadable Source Code Below.
Anyway, if you want to level up your programming knowledge, especially python, try this new article I’ve made for you Best Python Projects with source code for Beginners. But If you’re going to focus on web development using Django, you can download here from our list of Best Django Projects with source code based on real-world projects.
How To Run The Learning Log App Project in Django with Source Code?
Step 1: Extract/unzip the file
Step 2: Go inside the project folder, open cmd and type the following commands to install Django Framework and run the webserver:
• pip install -r requirements.txt
• python manage.py runserver
Step 3: Finally, open the browser and go to http://127.0.0.1:8000/
For admin panel:
- Username: admin
- Password: admin
Summary
In summary, this 2020 Learning Log App Project in Django with Source Code can be useful to students or professional who wants to learn python programming language. This project can also be modified to fit your personal requirements. Hope this project will help you to improve your skills. Happy Coding!
- How To Make A Point Of Sale System In Python
- Best Python Projects for Beginners
- Python MySQL Connection: Simple Python Step by Step Guide
- Python PIP Command Set-up / Fix: Step by Step Guide
- Random Password Generator in Python Projects With Source Code 2020
- Python Range Function|Range in Python Explained with Examples 2020
- School Management System Project In Django With Source Code
- Django Login And Registration With Source Code
- CRUD App In Django With Source Code
- Drag And Drop JavaScript With Source Code
- Todo List App Django With Source Code
- Blood Bank Management System Project in Django with Source Code
- Django Hotel Management System With Source Code
- Student Management System Project In Django With Source Code
Inquiries
If you have any questions or suggestions about Learning Log App Project in Django with Source Code, please feel free to leave a comment below.