Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d3a58d
commit fb2b29b
Showing
9 changed files
with
393 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Generated by Django 2.2.10 on 2020-02-17 21:34 | ||
|
||
from django.db import migrations | ||
|
||
|
||
def forwards_func(apps, schema_editor): | ||
Licencja_OpenAccess = apps.get_model("bpp", "Licencja_OpenAccess") | ||
db_alias = schema_editor.connection.alias | ||
Licencja_OpenAccess.objects.using(db_alias).get_or_create( | ||
skrot="CC-ZERO", | ||
nazwa="Creative Commons - Universal - Przekazanie do Domeny Publicznej (CC0 1.0)", | ||
) | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bpp", "0194_auto_20200213_2148"), | ||
] | ||
|
||
operations = [migrations.RunPython(forwards_func)] |
Oops, something went wrong.