Sunday, July 11, 2021

django - webpage to have personal navigations

from django.contrib import admin
from django.urls import path
from . import views
urlpatterns = [
path('',views.index, name="index"),

from django.http import HttpResponse
from django.shortcuts import render

def navigationBar(request):
return render(request, 'navigationUrls.html')


<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>Personal Navigation</title>
<h1>Personal Navigations:<br/></h1>
<a href="" target="_blank">My Blog Page</a><br/>
<a href="" target="_blank">Facebook Login Page</a><br/>
<a href="" target="_blank">Twitter Page</a><br/>
<a href="" target="_blank">Instagram Page</a>


No comments:

Post a Comment

Featured Post

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...