Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Django Favicon Plus Reloaded
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Libraries
Django Favicon Plus Reloaded
Commits
4ac5d4f0
Commit
4ac5d4f0
authored
9 years ago
by
Calzzetta
Browse files
Options
Downloads
Patches
Plain Diff
Create 0001_initial.py
parent
11609014
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
favicon/migrations/0001_initial.py
+40
-0
40 additions, 0 deletions
favicon/migrations/0001_initial.py
with
40 additions
and
0 deletions
favicon/migrations/0001_initial.py
0 → 100644
+
40
−
0
View file @
4ac5d4f0
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-01-02 11:58
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'
Favicon
'
,
fields
=
[
(
'
id
'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'
ID
'
)),
(
'
title
'
,
models
.
CharField
(
max_length
=
100
)),
(
'
faviconImage
'
,
models
.
ImageField
(
upload_to
=
'
favicon
'
)),
(
'
isFavicon
'
,
models
.
BooleanField
(
default
=
True
)),
],
options
=
{
'
verbose_name_plural
'
:
'
Favicons
'
,
'
verbose_name
'
:
'
Favicon
'
,
},
),
migrations
.
CreateModel
(
name
=
'
FaviconImg
'
,
fields
=
[
(
'
id
'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'
ID
'
)),
(
'
size
'
,
models
.
IntegerField
()),
(
'
rel
'
,
models
.
CharField
(
max_length
=
250
,
null
=
True
)),
(
'
faviconImage
'
,
models
.
ImageField
(
upload_to
=
'
favicon
'
)),
(
'
faviconFK
'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'
favicon.Favicon
'
)),
],
),
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment