Project for the UPV to develop an app like BlaBlaCar but only for UPV people.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

minor changes on notifications

+11 -1
+11 -1
upvcarshare/journeys/admin.py
··· 7 7 8 8 from core.widgets import GMapsPointWidget 9 9 from journeys.helpers import make_point_projected 10 - from journeys.models import Residence, Journey, Campus 10 + from journeys.models import Residence, Journey, Campus, Message, Transport 11 11 12 12 13 13 class PlaceAdminForm(forms.ModelForm): ··· 54 54 @admin.register(Journey) 55 55 class JourneyAdmin(admin.ModelAdmin): 56 56 list_display = ["id", "residence", "campus", "kind", "departure", "created"] 57 + 58 + 59 + @admin.register(Message) 60 + class MessageAdmin(admin.ModelAdmin): 61 + list_display = ["id", "user", "journey", "created"] 62 + 63 + 64 + @admin.register(Transport) 65 + class TransportAdmin(admin.ModelAdmin): 66 + list_display = ["id", "user", "name", "default_places", "brand", "model", "color", "created"]