I used designs from the previous blog project(Bad at UI)

STATS FOR DS

STATS FOR DS

PART-15

Part-14

def home(request):
content={'posts':Post.objects.all()}
return render(request, 'blogapp/home.html',content)

def post(request):
return HttpResponse('<h1>A detailed post..</h1>')
def create(request):
return HttpResponse('<h1>Create a new post</h1>')
def update(request):
return HttpResponse('<h1>Update your post..</h1>')

def delete(request):
return HttpResponse('<h1>Delete a post..</h1>')

Part-13

pic from 123RF for llustration

Part-12

Update user profile
class UserUpdateForm(forms.ModelForm):
class Meta:
model=User
fields=['username','email']

Implement Luhn algorithm to generate valid credit card numbers with python

Credit Cards

part — 11

Part-10

<a href="{%url 'blog-home'%}" class="nav-item">DjangoReads</a>
<a href="{%url 'about'%}" class="nav-item">About</a>
{%if user.is_authenticated%} …

Atufa Shireen

Posting Django Tutorials with Beginner to Advanced Projects

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store