from cms.models import CMSPlugin
from django.db import models


class IframePlugin(CMSPlugin):
    src = models.URLField()

from cms.models import CMSPlugin
from django.db import models


class IframePlugin(CMSPlugin):
    src = models.URLField(max_length=400)

Increase urlfield size from 200 to 500 to deal with large embed urls for google calendar and other embeds
Increase urlfield size from 200 to 500 to deal with large embed urls for google calendar and other embeds

  from cms.models import CMSPlugin
  from django.db import models
  
  
  class IframePlugin(CMSPlugin):
-     src = models.URLField()
+     src = models.URLField(max_length=400)
  
Increase urlfield size from 200 to 500 to deal with large embed urls for google calendar and other embeds
## Code Before:
from cms.models import CMSPlugin
from django.db import models


class IframePlugin(CMSPlugin):
    src = models.URLField()

## Instruction:
Increase urlfield size from 200 to 500 to deal with large embed urls for google calendar and other embeds
## Code After:
from cms.models import CMSPlugin
from django.db import models


class IframePlugin(CMSPlugin):
    src = models.URLField(max_length=400)
