Tuesday, November 1, 2016

Re: django_bootstrap_calendar and admin backend

I am  trying to make reservation calendar for rent cabin web pages, but I am having
problems with adding events to the calendar using admin. I have added admin.py file
to myapp/django_bootstrap_calendar/admin.py with content:

from django.contrib import admin
from django_bootstrap_calendar.models import CalendarEvent

class CalendarEventAdmin(admin.ModelAdmin):
    list_display = ["title", "url", "css_class", "start", "end"]
    list_filler = ["title"]

admin.site.register(CalendarEvent, CalendarEventAdmin)

I have also made migrations.

Still the model is missing from the admin panel and I am out of tricks what to try next.
Does anybody have any hints what I could try next?



torstai 21. heinäkuuta 2016 2.06.26 UTC+3 ludovic coues kirjoitti:
it shouldn't be too hard to port it to python3. The module is mainly
javascript, not python.

Once the app can return json, it should work fine.



2016-07-20 20:40 GMT+02:00 Cronos Cto <cron...@gmail.com>:
> That explains alot of the issues I am having. Since it is a compatibility
> issue, I am guessing there is no way to make it work right?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9fcc888d-d258-4fc9-8fe9-52b1673e761c%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Coues Ludovic
+336 148 743 42

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ec3e275b-0066-4c03-be45-84ea077f74fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment