Connecting forms and models to one webpage

good day

can anyone assist I'm a beginner in Django

I am failing to connect my forms and model to one webpage

here are my views


def post_list(request, tag_slug=None):
object_list = Post.published.all()
tag = None

if tag_slug:
    tag = get_object_or_404(Tag, slug=tag_slug)
    object_list = object_list.filter(tags__in=[tag])

paginator = Paginator(object_list, 3) # 3 posts in each page
page = request.GET.get('page')
try:
    posts = paginator.page(page)
except PageNotAnInteger:
    # If page is not an integer deliver the first page
    posts = paginator.page(1)
except EmptyPage:
    # If page is out of range deliver last page of results
    posts = paginator.page(paginator.num_pages)
return render(request,
             'blog/post/clay.html',
             {'page': page,
              'posts': posts,
              'tag': tag})

def custom(request):

form = CustomForm()

if request.method == 'POST':
	form = CustomForm(request.POST)
	if form.is_valid():
		form.save()
		
context = {'form':form}
return render(request, 'blog/post/clay.html', context)


and my app URL

from django.urls import path
from . import views
from .feeds import LatestPostsFeed

app_name = ‘blog’

urlpatterns = [
# post views
# path(’’, views.post_list, name=‘post_list’),

path('', views.PostListView.as_view(), name='post_list'),
path('<int:year>/<int:month>/<int:day>/<slug:post>/',
    views.post_detail,
    name='post_detail'),
path('feed/', LatestPostsFeed(), name='post_feed'), 
path('search/', views.post_search, name='post_search'),
path('', views.custom),

]

 All in the project URLs it is:

 path('', include('blog.urls', namespace='blog')),


 any help will be appreciated


 Regards