GNOME-Nepal / site-server

Backend server for GNOME Nepal
MIT License
6 stars 7 forks source link

[ISSUES]: Redundant Method Definitions in EventModelAdmin Class #57

Closed PublisherName closed 2 weeks ago

PublisherName commented 2 weeks ago

Description

In the admin.py file, the EventModelAdmin class has multiple redundant definitions of the get_rsvp_url method. This redundancy can lead to confusion and potential maintenance issues.

https://github.com/GNOME-Nepal/site-server/blob/a762b80e2be06eb1d997e1cc9b47d5dc34b61066/event/admin.py#L62-L84

Fixes

Remove the redundant definitions of the get_rsvp_url method, keeping only one definition.

n1rjal commented 2 weeks ago

@rex9840 go ahead in with this one as we don't need RSVP URL in list. You can see this in single event page.

image
rex9840 commented 2 weeks ago

@n1rjal will remove from the list display

rex9840 commented 2 weeks ago

undant definitions of the get_rsvp_url method, keeping only one definition.

Seems it was generated form the rebase while resollving some conflict will look into it asaap

rex9840 commented 2 weeks ago

@PublisherName done with the changes