Giter Club home page Giter Club logo

devmahmud / django-poll-app Goto Github PK

View Code? Open in Web Editor NEW
282.0 11.0 159.0 2.86 MB

Django poll app is a full featured polling app. You have to register in this app to show the polls and to vote. If you already voted you can not vote again. Only the owner of a poll can add poll , edit poll, update poll, delete poll , add choice, update choice, delete choice and end a poll. If a poll is ended it can not be voted. Ended poll only shows user the final result of the poll. There is a search option for polls. Also user can filter polls by name, publish date, and by number of voted. Pagination will work even after applying filter.

License: MIT License

Python 60.04% HTML 39.42% CSS 0.54%
django-application django-project bootstrap4 django

django-poll-app's Issues

Loader

Hi @devmahmud.
Need to put a loader for all the click events. Sometimes it's taking for time to give a response while the user can not assume whether that click was hit or not.

Thank you.

Naming Convection mistake.

Naming Convention mistake while retriving the users from User table in seeder.py file

def seed_users(num_entries=10, overwrite=False):
"""
Creates num_entries worth a new users
"""
if overwrite:
print("Overwriting Users")
Users.objects.all().delete() ## User should be there instead of Users
count = 0
for _ in range(num_entries):
first_name = fake.first_name()
last_name = fake.last_name()
u = User.objects.create_user(
first_name=first_name,
last_name=last_name,
email=first_name + "." + last_name + "@fakermail.com",
username=first_name + last_name,
password="password"
)
count += 1
percent_complete = count / num_entries * 100
print(
"Adding {} new Users: {:.2f}%".format(
num_entries, percent_complete),
end='\r',
flush=True
)
print()

A small feature

A small feature

I think you can add a small feature about:

The user who initiated the vote can view the vote in real time
Users who have voted can view the vote in real time

Thank you very much!

Functionality call to action

Hi @devmahmud.
Delete Functionality is not working properly. This means that after delete operations, it needs to redirect back to the .../polls/list/user/ page. It's getting stuck on that particular page. Also, I have given an attachment regarding this issue.
CTA.webm

Note: This issue is occur in all calls to action or CTA.

Thank you.

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.