Re: django_bootstrap_calendar and admin backend

2016-11-01 Thread janne . j . hyvonen
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

Re: django_bootstrap_calendar and admin backend

2016-07-20 Thread ludovic coues
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 : > That explains alot of the issues I am having. Since it is a compatibility > issue, I am guessing there is no

Re: django_bootstrap_calendar and admin backend

2016-07-20 Thread Cronos Cto
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

Re: django_bootstrap_calendar and admin backend

2016-07-20 Thread ludovic coues
You might have noticed, the calendar view is a generic template view. It only display an html page. All the work is done with js. If everything work fine, it fetch the list of even for the period with ajax and add the event in the calendar. /calendar/json should return the list of event. As you ca

Re: django_bootstrap_calendar and admin backend

2016-07-19 Thread Cronos Cto
This happened. Sorry for taking so long, had exams to take care of. -- 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+unsubscr...@googlegroups.com. To

Re: django_bootstrap_calendar and admin backend

2016-07-14 Thread ludovic coues
I haven't managed to reproduce your error. In fact, I managed to make it working. What output do you get when you hit http://localhost:8000/calendar/json/?from=146532400&to=149000240 ? Adjust the hostname and port to your dev server. 2016-07-14 11:54 GMT+02:00 Cronos Cto : > > > > Yes htt

Re: django_bootstrap_calendar and admin backend

2016-07-14 Thread Cronos Cto
Yes https://github.com/sandlbn/django-bootstrap-calendar/ this is the one I am using. This are the parts I changed. \mysite\mysite\settings.p

Re: django_bootstrap_calendar and admin backend

2016-07-14 Thread ludovic coues
If you are using https://github.com/sandlbn/django-bootstrap-calendar/, I assume you have changed some things. For exemple, the module don't come with an admin.py file. All your change would be nice so we can replicate your problem :) 2016-07-13 22:33 GMT+02:00 Cronos Cto : > Hello Ludovic, what p

Re: django_bootstrap_calendar and admin backend

2016-07-13 Thread Cronos Cto
Hello Ludovic, what part of the code would you like me to post ? -- 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+unsubscr...@googlegroups.com. To p

Re: django_bootstrap_calendar and admin backend

2016-07-13 Thread ludovic coues
Code would be more useful to understand what is happening. Or you can use the django test client [1] to see what the view is returning as context. The list of event might be empty. [1] https://docs.djangoproject.com/en/1.9/intro/tutorial05/#the-django-test-client 2016-07-12 16:49 GMT+02:00 Cron

Re: django_bootstrap_calendar and admin backend

2016-07-12 Thread Cronos Cto
Ok so I was able to fix one of my problems, consisted in framework not recognizing the database, had to delete it and migrate everything again. Right now I can add events in my backend, but when I check my website the day where I have set the event lights up, but does not show title, hour or a

Re: django_bootstrap_calendar and admin backend

2016-07-12 Thread Cronos Cto
Ok so I was able to fix one of my problems, consisted in framework not recognizing the database, had to delete it and migrate everything again. Right now I can add events in my backend, but when I check my website the day where I have set the event lights up, but does not show title, hour or a

django_bootstrap_calendar and admin backend

2016-07-07 Thread Cronos Cto
I am doing a project where I gotta explore as much of the Django framework as possible. One of the things I want to do is to implement the app django_bootstrap_calendar, so far I was able to implement the the calendar to a button that is a linked to the calendars address. I am having a hard