🏆 2020 롯데그룹X멋쟁이사자처럼 온라인 해커톤 동상
- Python 3.7.3
- Django 3.0.6
- Ubuntu Server 18.04 LTS (HVM)
- Nginx 1.14.0
:lion: 2020 롯데그룹X멋쟁이사자처럼 온라인 해커톤 - 롭스 정기구독 서비스
🏆 2020 롯데그룹X멋쟁이사자처럼 온라인 해커톤 동상
navbar 겹침 버그
배포 준비
크롤링해서 csv로 올려버리면 직접 어드민에서 상품 등록하는 수고를 덜 수 있음
한 명의 사용자의 컬렉션 이름은 중복되지 않아야 함
수령자 이름, 전화번호, 주소, 배송메세지 표시해야함
https://www.iamport.kr/getstarted
<script type="text/javascript" src="https://cdn.iamport.kr/js/iamport.payment-1.1.5.js"></script>
<script>
$(function() {
var $form = $('#order-form');
var params = {
name: $form.find('[name=name]').val(),
amount: $form.find('[name=amount]').val(),
};
IMP.init('{{ iamport_shop_id }}');
IMP.request_pay(params, function(response_data) {
console.log('response_data :', response_data);
if ( ! response_data.success ) {
alert(response_data.error_msg + "(" + response_data.error_code + ")");
location.href = '{% url 'main' %}';
}
else {
$.each(response_data, function(key, vlaue) {
$form.find("input[name=" + key + "]").val(value);
});
$form.submit();
}
});
});
</script>
https://github.com/kde713/iamporter-python
https://github.com/iamport/iamport-rest-client-python
text input으로 입력받고 있는데 우편번호검색 넣어두고 상세주소만 추가로 입력하게 하면 좋을 듯
http://postcode.map.daum.net/guide
경로에 accounts/social/signup으로 뜸
그래서 templates>accounts>social>signup.html만들어서 커스텀했는데 인식이 안됨.
form에서 post방식으로 보내는 url (account_signup)이 맞는지, 소셜로그인은 따로있는지도 확인해봐야함.
우편번호 검색 넣기
소설회원가입 템플릿
주문, 컬렉션 완성되면 캘린더에 받아오기
결제모듈 알아보기
디자인 개선
footer에 내사진 넣기
slice
를 쓰고 있어서 linebreaks
를 같이 적용할 수 있는 방법을 찾아봐야 함
{{ post.content|linebreaks|slice:"100:" }}
는 안 되는 거 같음...
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.