snudorm's Introduction
snudorm's People
snudorm's Issues
첫번째 이슈~~~~고민해볼것!
형석's 왈
- show가 list 페이지 보는것으로 설정되어 있음.
show url은 '게시글 보기'로 바꾸고,
'list 페이지 보는 것'은 추가적인 url 지정이 필요할 것 같습니다!
저는 일단 show를 '게시글 보기'로 구현했습니다
- 은주누나가 정리해놓은 url에서
민원 -> 동 -> 세부 동 -> new 와 같이 구현되려면
board -> name -> int:did -> new와 같은 url이 돼야 할텐데
board와 name 이후의 세부적인 동 지정을 했을 때의
추가 url이 필요할 것 같습니다!!
+++
민원게시판에서 feed like, feed edit, feed delete 구현해서 zeze branch에
push 된 상태입니다!
url 과 함수명, template명이 아주 지저분하니... 참고바랍니다 :)
show & new part 코드 짜면서 생긴 issue입니다.
+++ 세부 url에 따른 argument 변화 feedback 받아요!!!
+++ 생활관 별로 즉, 학부생활관/대학원생활관/가족생활관/BK생활관 버튼을 눌렀을 때, 이 카테고리에 모여있는 글들이 동에 상관없이 뜰 수 있도록 구현했습니다! 동까지 눌러야 뜨는 것이 원래 기능이었는데, 일단은 카테고리별로 모아서도 볼 수 있게 했습니다.
+++ Models.py
Feed 최상위 class
-
Minwon - dormitory variable을 추가했습니다.
dormitory - gong/bachelor/master/family/bk
building - 906, 919A, etc(string으로 받습니다) -
Life(Feed) 추가
list 모아보기를 하려면 생필품 게시판 네 개 class를 묶는 하나의 class가 필요한것 같아서 product, contact, status의 공통 인자를 가지는 class를 만들었습니다.
-> 여기서 Feed 최상위 class에서 minwon/life/feed 인지를 알 수 있는 변수를 하나 추가하게 되면, Feed.objects.filter(category='minwon') 이런 식으로 할 수 있어서 life나 특히 아무런 정보가 없는 빈 class인 feedboard는 만들지 않아도 되기 때문에 두 방법 중에서 고민해 봐도 좋을 것 같습니다.
+++ 전체 글 url pattern을 #으로 했더니 서버에서 웬 이상한 문자가 뜨는데 저만 그런가요..? 바꿀까요..?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.