- 애플 디벨로퍼 아카데미 (2022)
- SW 마에스트로 14기 (2023)
- 당근 (2024)
gobans / likelion-lottesinmungo Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
make various html and connect them
알았어?
^____^
hurry up
In app/templates, Apply templates.html to other html files, use code block.
like following that,
{% extends "template.html" %}
{% load static %}
{% block title %}
{% endblock title %}
{% block contents %}
{% endblock contents %}
if user is log in, show 'mypage'
if user is not log in, show 'login and singup'
Add HTML template file in app/templates folder,
Fix original HTML files to form applied HTML template
https://xd.adobe.com/view/8c7e09e3-94f1-41ee-9607-ab5e32c3d3c4-d92d/
👆XD/Modify by Ina
Originally posted by @ina106 in #24 (comment)
https://xd.adobe.com/view/bc54c757-318c-46c0-8580-9e9ea4c391fd-e907/
👆XD (Create by Yebin)
로그인 기능을 request.session에 user id에 넣는 것으로 구현 했습니다.
user_id = request.session.get('user')
if user_id :
myuser_info = myUser.objects.get(pk=user_id) #pk : primary key
return render(request, 'index.html', {'user':myuser_info, 'user_authentication':True})
request.session 에서 user_id 를 갖고와 현재 로그인 되어있는 myUser 모델을 불러와 사용할 수 있습니다.
user_authentication로 로그인이 인증이 필요한 곳에 사용할 수 있습니다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.