mirror of
https://github.com/pinry/pinry.git
synced 2025-11-13 08:35:41 +01:00
Feature: Add referer field for Pin
This commit is contained in:
19
core/migrations/0002_pin_referer.py
Normal file
19
core/migrations/0002_pin_referer.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='pin',
|
||||
name='referer',
|
||||
field=models.URLField(null=True),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user