Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    just did pull request, all basic functionality working. travis is failing, though (and I never know why)
    Alexandre Boukhlif
    Hi llazzaro, are you around ?
    Leonardo Lazzaro
    Alexandre Boukhlif
    Is your django-schedule compatible with django 1.8 ?
    Also, I checked out your code and correct me if I'm wrong but you only persist occurences if they are moved or cancelled, right ? Why do you repeat title and description field for occurences ? Aren't they only event instances ? So shouldn't they inherit title and description from their event ?
    Kirill Romanovskiy
    Hi @llazzaro, thanks for the app! Which branch should I use now? pip version seems to be a bit outdated compared to master in github
    Leonardo Lazzaro
    schedule is not yet compatible with 1.8
    you can try master branch but is not yet finished
    the difference is the refactor on templates to support bootstrap
    you can try to install it with pip git+https://github.com/llazzaro/django-scheduler.git
    I don't have too much time to maintain the project now
    Juho Rutila
    Is the 1.8 compatibility just for the UI? I have been using schedule for my project with Django 1.8.5 but I am not using the UI. Haven't noticed any issues.
    Leonardo Lazzaro
    Hello everyone. In two months I will release a new version of scheduler which is not backward compatible with django 1.6. how many of you didn't migrate to latest versions of django?
    @jrutila we didn't release the latest changes that will break backward compatiblity. you could try to install via pip install git+https://github.com/llazzaro/django-scheduler.git
    be careful to test it on a testing server before!
    Hi @llazzaro , this seems like a very neat app, so thanks a lot for it!
    I've installed and can run the sample program, but I can't seem to find out how to add my own elements to it, nor can I alter the view to weeks or days. I apologize for my technical ineptitude... Could you please help me? Thanks!
    Eirik Slinning Korsnes
    hi, could anyone shed some light on using the CalendarRelation / EventRelation model and why it might not scale well?
    Also, i'm unsure what the SCHEDULER_BASE_CLASSES should look like if I want to map different base classes to different models in the app. Like seperate base classes for Event and Occurrence
    does anyone have any feedback regarding llazzaro/django-scheduler#123
    make a unified occurrence/event edit form that works more like gcal?
    is there, support Django 1.9?
    Hello, I want to make a list of participants for events. Do you have an idea of how can I do this ?
    I want to link a model Invitation with many to many field with Users, but events in django scheduler can be recurring..
    If you know a project or if you have an idea, I am interested.
    Thank's for help
    Miguel Paolino
    @llazzaro you here?
    hi , i am new in django , can i make calender app easilu
    Houzayfa Rifai

    guys please help
    i have to compare between 2 data models
    ('P', 'Paid'),
    ('U', 'UNPAID'),

    class Location(models.Model):
    place = models.CharField(max_length=120 , null=True)
    def str(self):
    return self.place

    class Users(models.Model):

        # this function has to compare the date in updated and the date after 30 day 
        # if date in expery is greater than the date in updated >=30 days 
        # status have to change to unpaid 
        # the codes below are not correct of course
        #def now_plus_30(): 
    #    return datetime.now() + timedelta(days = 30)
    location            = models.ForeignKey(Location , null=True) 
    name                = models.CharField(max_length=60)
    phone_number    = models.IntegerField(default=0)
    price                = models.PositiveIntegerField(blank=True)
    status                 = models.CharField(max_length=1, choices=STATUS_CHOICES , default="U")
    descrition            = models.TextField(help_text="just to try it with the get_description def")
    timestamp            = models.DateTimeField(auto_now_add=True)
    updated            = models.DateTimeField(default=now)
        expiry                 = models.DateTimeField(default=now_plus_30())
    SMTPAuthenticationError at /comment/
    (535, '5.7.8 Username and Password not accepted.
    please help me to solve this error
    Harrison Kimani
    A relatively recent change in Google's authentication system means you're going to have to "allow less secure app access" to your Google account, in order for this to work.
    hey how do I link the calendar to a mobile device
    Gonzalo Garcia
    I'm trying to create a new base event
    My base class looks like this:
      class AbstractEvent(models.Model):
          jira_issue = models.CharField(max_length=20, default='NOTSYNCED')
    Gonzalo Garcia

    And my config looks like this:

        'Event': ['downtime_calendar.models.AbstractEvent']
        'Event': [('jira_issue',)]

    But whenever I try to run the ./manage.py makemigrations && ./manage.py migrate I got a nasty error

      Applying schedule.0006_auto_20171018_1520...Traceback (most recent call last):
      File "/home/gonzalo/VirtualEnvs/apcela_web_project/lib/python3.5/site-packages/django/db/backends/utils.py", line 65, in execute
        return self.cursor.execute(sql, params)
      File "/home/gonzalo/VirtualEnvs/apcela_web_project/lib/python3.5/site-packages/django/db/backends/mysql/base.py", line 101, in execute
        return self.cursor.execute(query, args)
      File "/home/gonzalo/VirtualEnvs/apcela_web_project/lib/python3.5/site-packages/MySQLdb/cursors.py", line 250, in execute
        self.errorhandler(self, exc, value)
      File "/home/gonzalo/VirtualEnvs/apcela_web_project/lib/python3.5/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler
        raise errorvalue
      File "/home/gonzalo/VirtualEnvs/apcela_web_project/lib/python3.5/site-packages/MySQLdb/cursors.py", line 247, in execute
        res = self._query(query)
      File "/home/gonzalo/VirtualEnvs/apcela_web_project/lib/python3.5/site-packages/MySQLdb/cursors.py", line 411, in _query
        rowcount = self._do_query(q)
      File "/home/gonzalo/VirtualEnvs/apcela_web_project/lib/python3.5/site-packages/MySQLdb/cursors.py", line 374, in _do_query
      File "/home/gonzalo/VirtualEnvs/apcela_web_project/lib/python3.5/site-packages/MySQLdb/connections.py", line 277, in query
        _mysql.connection.query(self, query)
    _mysql_exceptions.OperationalError: (1829, "Cannot drop column 'id': needed in a foreign key constraint 'schedule_eventrelation_event_id_8c57a7b4_fk_schedule_event_id' of table 'apcela_web_app.schedule_eventrelation'")
    Gonzalo Garcia
    Could you please let me know if this is bug?
    Gonzalo Garcia
    I'm not sure why is that migration is trying to remove the ID from the schedule_event table
    Mustaqeem Khowaja
    hi everyone
    Im building a backend powered by django
    I want to be able to provide my users with the ability to create events
    on the events, one of the things they should be able to do is invite other users to that event
    and then if you receive an invite to an event it should show up on your calendar as well
    would appreciate any advice on how I can accomplish this
    Renato Marinho
    This message was deleted
    Renato Marinho
    This message was deleted
    'default': {
    'ENGINE': 'django.db.backends.sqlite3',
    'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    please anyone tell me the working of this line
    what is the name of the database