This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.shortcuts import render, redirect | |
from .forms import NewUserForm | |
from django.contrib.auth import login, authenticate, logout | |
from django.contrib import messages | |
from django.contrib.auth.views import PasswordChangeView | |
from django.contrib.auth.forms import AuthenticationForm,PasswordChangeForm | |
from django.urls import reverse_lazy | |
import openpyxl | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Flex, Box,FormControl,Input,Button } from "@chakra-ui/react"; | |
export default function login() { | |
const handleSubmit = async (event) => { | |
alert('eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee') | |
// Stop the form from submitting and refreshing the page. | |
event.preventDefault(); | |
// Get data from the form. | |
const data = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { UnsplashImage } from "@/models/unsplash-image"; | |
import Image from "next/image"; | |
import styles from './TopicPage.module.css' | |
import { Alert } from "@/components/bootstrap"; | |
import { Metadata } from "next"; | |
interface PageProps { | |
params: { topic: string } | |
} |