This repository has been archived by the owner on Feb 15, 2021. It is now read-only.
forked from adamchainz/django-cors-headers
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from IlianIliev/adding-initial-migration
Adding initial migration
- Loading branch information
Showing
3 changed files
with
25 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.10.1 on 2017-01-18 21:36 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
initial = True | ||
|
||
dependencies = [ | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='CorsModel', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('cors', models.CharField(max_length=255)), | ||
], | ||
), | ||
] |
Empty file.
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env python | ||
|
||
from corsheaders import __version__ | ||
from setuptools import setup | ||
from setuptools import setup, find_packages | ||
|
||
setup( | ||
name='django-cors-middleware', | ||
|
@@ -11,7 +11,7 @@ | |
author='Zeste de Savoir', | ||
author_email='[email protected]', | ||
url='https://github.com/zestedesavoir/django-cors-middleware', | ||
packages=['corsheaders'], | ||
packages=find_packages(), | ||
license='MIT License', | ||
keywords='django cors middleware rest api', | ||
platforms=['any'], | ||
|