Skip to content

Migrate doesn't work on python 3.6 #29

@marhabaie

Description

@marhabaie

I fixed it manually, but could you please push the latest version so others can get it using "pip install django-podcasting"?
Even the final version still has problem. "initial migration with photologue" hasn't been solved yet.

raise ValueError('Related model %r cannot be resolved' % self.remote_field.model)
ValueError: Related model 'photologue.Photo' cannot be resolved

these need to get under an "if"?

migrations.AlterField(
model_name='episode',
name='original_image',
field=models.ForeignKey(blank=True, default=None, help_text='\n A podcast must have 1400 x 1400 pixel cover art in JPG or PNG\n format using RGB color space. See our technical spec for\n details. To be eligible for featuring on iTunes Stores,\n choose an attractive, original, and square JPEG (.jpg) or\n PNG (.png) image at a size of 1400x1400 pixels. The image\n will be scaled down to 50x50 pixels at smallest in iTunes.\n For reference see the <a\n href="http://www.apple.com/itunes/podcasts/specs.html#metadata">iTunes\n Podcast specs</a>.<br /><br /> For episode artwork to\n display in iTunes, image must be <a\n href="http://answers.yahoo.com/question/index?qid=20080501164348AAjvBvQ">\n saved to file\'s <strong>metadata</strong></a> before\n enclosure uploading!', null=True, on_delete=django.db.models.deletion.PROTECT, to='photologue.Photo', verbose_name='image'),
),

migrations.AlterField(
model_name='show',
name='original_image',
field=models.ForeignKey(blank=True, default=None, help_text='\n A podcast must have 1400 x 1400 pixel cover art in JPG or PNG\n format using RGB color space. See our technical spec for\n details. To be eligible for featuring on iTunes Stores,\n choose an attractive, original, and square JPEG (.jpg) or\n PNG (.png) image at a size of 1400x1400 pixels. The image\n will be scaled down to 50x50 pixels at smallest in iTunes.\n For reference see the <a\n href="http://www.apple.com/itunes/podcasts/specs.html#metadata">iTunes\n Podcast specs</a>.<br /><br /> For episode artwork to\n display in iTunes, image must be <a\n href="http://answers.yahoo.com/question/index?qid=20080501164348AAjvBvQ">\n saved to file\'s <strong>metadata</strong></a> before\n enclosure uploading!', null=True, on_delete=django.db.models.deletion.SET_NULL, to='photologue.Photo', verbose_name='image'),
),

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions