Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    NRT
    @alimuradov
    is there, support Django 1.9?
    Quentin
    @Echel8n
    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
    @mpaolino
    @llazzaro you here?
    RAHUL KOUNDAL
    @rahulkoundal
    hi , i am new in django , can i make calender app easilu
    Houzayfa Rifai
    @hozRifai

    guys please help
    i have to compare between 2 data models
    STATUS_CHOICES = (
    ('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())
    RAHUL KOUNDAL
    @rahulkoundal
    image.png
    SMTPAuthenticationError at /comment/
    (535, '5.7.8 Username and Password not accepted.
    please help me to solve this error
    image.png
    Harrison Kimani
    @MegacoderKim
    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.
    LuffyKing
    @LuffyKing
    hey how do I link the calendar to a mobile device
    ?
    Gonzalo Garcia
    @ggarcia24
    Hello!
    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
    @ggarcia24

    And my config looks like this:

    SCHEDULER_BASE_CLASSES = {
        'Event': ['downtime_calendar.models.AbstractEvent']
    }
    
    SCHEDULER_ADMIN_FIELDS = {
        '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
        db.query(q)
      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
    @ggarcia24
    Could you please let me know if this is bug?
    Gonzalo Garcia
    @ggarcia24
    I'm not sure why is that migration is trying to remove the ID from the schedule_event table
    Mustaqeem Khowaja
    @MKhowaja
    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
    @renatomarinho
    This message was deleted
    Renato Marinho
    @renatomarinho
    This message was deleted
    RAHUL KOUNDAL
    @rahulkoundal
    DATABASES = {
    '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
    please help me , i am new in the django
    RAHUL KOUNDAL
    @rahulkoundal
    please anyone help me
    Ridwan Oladipupo
    @techcodify
    Hi everyone
    Please I need help from you on how to implementation the django-scheduler In my App. The documentation seems not clear to me.
    @rahulkoundal The name of the database is Sqlite
    elmandouramine
    @elmandouramine
    Helllo i download the django scheduler when i try to execute './manage.py bower install' i resolved some errors because manage.py is not exist ! pleause help me i need to delevrate the project tomorrow
    image.png
    elmandouramine
    @elmandouramine
    @ggarcia24 hello
    elmandouramine
    @elmandouramine
    helllo is any one here !!! ??
    Lerk
    @lerkhelpster_gitlab
    hi
    Abhishek Kumar Jha
    @akjhaa007
    hi
    Ana Paula Mendes
    @anapaulamendes
    Hello! How I run new migrations?
    PudgyPoppins
    @PudgyPoppins

    Hey, is anyone here? I'm thinking about using django-scheduler for my application, but I'm not sure if it's the right choice. I want users to be able to add an event from a form view with the possibility of it recurring. However, creating repeat rules should be done entirely from the same view, by users. It should look something like this when it's finally done: finished example.

    Is something like this even possible with django-scheduler? How would I integrate this into an existing application? Thanks so much, I couldn't find any model information on the docs and I'm not even sure how to even create rules in the admin.

    Debora Peralta
    @Debbiepimpo
    Hello! I'm tryng to use the django-scheduler calendar package to show the users the hours booked into a calendar, I installed the package but after that I'm lost to implement the calendar
    I'm using bootstrap and jquery already
    anyone can help?
    Debora Peralta
    @Debbiepimpo
    do i need to add the schedule folder to my project for make it work???
    renehdebtx
    @renehdebtx
    @renehdebtx
    Hello, cannot find the Test Suite Collection Scheduler in katalon studio v. 7.2.1. Can anyone help?
    I am in the Suite Collection and only see Execution Mode in the Execution Information but no way to schedule within the Suite Collection
    kUSHAGAR cHOUDHARY
    @The-lYNCAN
    hey
    i am new can i join