Giter Club home page Giter Club logo

cricket's Introduction

Cricket

Django Project - Cricket - Teams, playes, Matches Fixture, Points

Administrator Credentials

  • admin/admin

Models:

  • Team - Table

    • name - team name
    • logo_url - team image
    • club_state - text field
  • Player - Table

    • team - Foreginkey to Team table
    • firstname - player first name
    • lastname - player last name
    • image_url - player image (default image is exist)
    • player_jersey_no - Player jersey number
    • Country - player country
    • matches - player played match count
    • run - player total runs
    • highest_score - player high score
    • fifties - player total fifties
    • hundreds - player total hundreds
  • Matches - Table

    • left_team - Foreginkey to Team
    • right_team - Foreginkey to Team
    • winner_team - choice field (left_team, right_team, Not played, cancelled, both/draw)

Urls:

  • / - list of teams
  • /teams/ - list of teams
  • /teams/<int:pk>/details - team details and list of players
  • /matches/ - list of match fixtures can generate and view.
  • /match/<int:pk>/update - update the match by choosing the winner team column.
  • /points/ - see the points of each team (2 points for win, 1 points for both/draw)

Prerequesties

  • Python3
  • Django2.2
  • Pillow

Running the project

  • Download the repository.
  • Install the package.
    • $ pip install <project_dir>/requiements.txt
  • No need to do migrations.
  • Run the server $ python manage.py runserver
  • Verify the project by navigating to your server address in your preferred browser.
    127.0.0.1:8000

cricket's People

Contributors

bheemashankar avatar

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.