Coder Social home page Coder Social logo

django-fullcalendar-examples's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

django-fullcalendar-examples's Issues

License?

Any plan to add a license to this (MIT perhaps)?

Would like to be able to reuse a few snippets.

Thanks

Broken reference to django_schedule/forms RulesForm

django_schedule/forms.py contains the classes SpanForm, EventForm, and OccurrenceForm, but not the class RuleForm

Here is the error message for the URL myagenda/calendar:

cannot import name RuleForm

Exception Location: django-fullcalendar-examples\django_schedule_fullcalendar\myagenda\forms.py in , line 3

from schedule.forms import EventForm, RuleForm

creating a recurring entry

It's impossible to create a recurring entry with the following vars :

count   
u'6'
start_datetime  
u'04/04/2011'
begin_date  
u'04/05/2011'
description 
u''
end_date    
u'04/14/2011'
title   
u'fgdfg'
start_time  
u'12:00:00'
interval    
u'1'
recurrence  
u'on'
frequency   
u'3'
end_time    
u'12:00:00'
csrfmiddlewaretoken 
u'6d36bf821cf285ffddd23c91b7f64072'
end_datetime    
u'07/25/2011'

I'm getting this TB :

TypeError at /event/create/
__init__() got an unexpected keyword argument 'end_datetime'
Request Method: POST
Request URL:    http://localhost:8000/event/create/
Django Version: 1.3



Environment:


Request Method: POST
Request URL: http://localhost:8000/event/create/

Django Version: 1.3
Python Version: 2.6.6
Installed Applications:
['django_extensions',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.admin',
 'django.contrib.comments',
 'django.contrib.sitemaps',
 'django.contrib.syndication',
 'dajaxice',
 'agenda',
 'myagenda']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')


Traceback:
File "/Users/florian/prod/venv/lib/python2.6/site-packages/Django-1.3-py2.6.egg/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/Users/florian/dev/django-fullcalendar-examples/django_agenda_fullcalendar/../django_agenda_fullcalendar/myagenda/views.py" in create_event
  55.                     recurrence_form.save()
File "/Users/florian/prod/venv/lib/python2.6/site-packages/Django-1.3-py2.6.egg/django/forms/models.py" in save
  363.                              fail_message, commit, construct=False)
File "/Users/florian/prod/venv/lib/python2.6/site-packages/Django-1.3-py2.6.egg/django/forms/models.py" in save_instance
  85.         instance.save()
File "/Users/florian/prod/venv/src/django-agenda/agenda/models.py" in save
  185.         models.Model.save(self)
File "/Users/florian/prod/venv/lib/python2.6/site-packages/Django-1.3-py2.6.egg/django/db/models/base.py" in save
  460.         self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/Users/florian/prod/venv/lib/python2.6/site-packages/Django-1.3-py2.6.egg/django/db/models/base.py" in save_base
  570.                 created=(not record_exists), raw=raw, using=using)
File "/Users/florian/prod/venv/lib/python2.6/site-packages/Django-1.3-py2.6.egg/django/dispatch/dispatcher.py" in send
  172.             response = receiver(signal=self, sender=sender, **named)
File "/Users/florian/dev/django-fullcalendar-examples/django_agenda_fullcalendar/myagenda/models.py" in create_myrecurrence
  10.     create_recurrence(sender, instance, created, event_class=MyEvent)
File "/Users/florian/prod/venv/src/django-agenda/agenda/models.py" in create_recurrence
  196.         occurs = rrule.rrule(instance.frequency, **options)

Exception Type: TypeError at /event/create/
Exception Value: __init__() got an unexpected keyword argument 'end_datetime'

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.