Code Monkey home page Code Monkey logo

swpp2018_01_group15_backend's Introduction

Build Status

SWPP 2018/01 Group 15 BackEnd

FrontEnd Repo

<root>/config.py

frontend = 'http://front_domain'
domain = 'domain'
smtp = {
    'host': 'smtp.gmail.com',
    'port': 587,
    'email': '[email protected]',
    'password': 'pass'
}

swpp2018_01_group15_backend's People

Contributors

munjinoo avatar njs03332 avatar ilil96 avatar

Watchers

James Cloos avatar  avatar

swpp2018_01_group15_backend's Issues

[Progress] Event model implemented

I added the Event model along with EventListSerializer and EventDetailSerializer.
EventListView and EventDetailView are also implemented.
It was a challenge to implement getting the clubid and whether the event is a future or a past event from the front.
I used request.GET.get to get time and clubid parameters from the frontend.

[Progress] Add Board and Article

We add or update

  • add model Board
  • add model Article
  • update serializer ClubDetailSerializer
  • add serializer BoardListSerializer
  • add serializer BoardDetailSerializer
  • add serializer ArticleSerializer
  • add view BoardListView
  • add view BoardDetailView
  • add view ArticleListView
  • add view ArticleDetailView

[Progress Report] Back-end Iteration 2

#3 Initial commit
Implemented by 진우

#4 Club model
Implemented by 진우
Done: Implemented as planned

#6 Modify User serializer
Implemented by 유리
Done: Added separate fields for club as admin and club as member.

#7 Extend User model
Implmented by 연홍, 진우
Done: Add some fields needed for User model.
Todo: More delicate format for password needed.(avoid too simple and naive password)

[Progress] Add model, serializer, view for Accounting

We add

  • model Accounting
  • serializer AccountingSerializer
  • view AccountingListView
  • view AccountingDetailView
  • view AccountingStatisticView

and change some points with plan which as

  • merge models Accounting and AccountingEntry
    • Accounting and Club was 1:1 relation but Accounting didn't hold any other infos
  • change url for accountings
    • /account/: give accounting list, and make new accounting with POST
    • /account/:account_id/: see accounting info, edit or delete accounting
    • /account/statistic/:club_id/: give statistics for club accounting

[Progress] Extend User model

Tried to extend user model at first by using abstractUser, but it didn't work since it does not contain password field.
Made new field Profile which contains additional fields for User.

[Problem] Backend jquery version error?

나 백엔드 runserver해서 돌리면 모든 url이 창은 뜨는데 console에
jQuery.Deferred exception: e.indexOf is not a function TypeError: e.indexOf is not a function
이런 에러가 떠!!
구글링 해보니까 jquery 버전 incompatible 이런 말 나오는데 진짜 이게 문제인걸까...?
무엇이 문제인지 모르겠다..
헬프미

[Progress] Event related views implemented

implemeted

  • EventFutureAttendeeView: post, delete
  • EventFutureAbsenteeView: post, delete
  • EventPastAttendeeView: post
  • AttendanceSerializer: User serializer with only fields id and username

fixed

  • ClubDetailSerializer: admin, members, waitings fields has been changed to AttendanceSerializer
  • EventDetailSerializer: future_attentees, future_absentees, past_attendees has been changed to AttendanceSerializer

Todo

  • make AttendanceSerializer use id and name instead of id and username (name has to come from Profile model) ++ FrontEnd needs to be fixed accordingly afterwards!!

[Problem] Page is not loaded

localhost:3000 으로 접근하면 console에 에러는 안뜨는데 페이지가 회색이고
/mypage로 접근하면 새동아리방 만들기가 뜨긴 하는데 위에가 연한 회색이고
/club/1로 접근하면 페이지가 제대로 나오는 상황인데 이게 무슨 상황이지?!?!
그러고 거기서 이벤트 페이지로 이동하려고 하면 또 화면이 까만색이네.. 에러는 안뜨는데!
로그인 한 상태에서 계속 서버를 껐다 켰다 해서 그런가..
db 다 날리고 다시 migration 해서 해봤는데도 안뜨네!! 왜일까!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.