Skip to content

Commit af47407

Browse files
committed
Remove excess whitespace
Thought introduced by a formatter, I prefer not to have those extra lines.
1 parent 5b0ee51 commit af47407

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

hello/apps.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from django.apps import AppConfig
22

3-
43
class HelloConfig(AppConfig):
54
name = 'hello'

hello/forms.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from hello.models import LogMessage
44

5-
65
class LogMessageForm(forms.ModelForm):
76
class Meta:
87
model = LogMessage

hello/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from django.db import models
22

3-
43
class LogMessage(models.Model):
54
message = models.CharField(max_length=300)
65
log_date = models.DateTimeField("date logged")

hello/views.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
from hello.forms import LogMessageForm
77
from hello.models import LogMessage
88

9-
109
# def home(request):
1110
# return render(request, 'hello/home.html')
1211

13-
1412
class HomeListView(ListView):
1513
"""Renders the home page, with a list of all polls."""
1614

@@ -20,21 +18,17 @@ def get_context_data(self, **kwargs):
2018
context = super(HomeListView, self).get_context_data(**kwargs)
2119
return context
2220

23-
2421
def about(request):
2522
return render(request, "hello/about.html")
2623

27-
2824
def contact(request):
2925
return render(request, "hello/contact.html")
3026

31-
3227
def hello_there(request, name):
3328
return render(
3429
request, "hello/hello_there.html", {"name": name, "date": datetime.now()}
3530
)
3631

37-
3832
def log_message(request):
3933
if request.method == "POST":
4034
form = LogMessageForm(request.POST)

0 commit comments

Comments
 (0)