This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit b6d76a5
Showing
71 changed files
with
13,103 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,7 @@ | ||
|
||
|
||
<h3> YOU are admin ???? </h3> | ||
|
||
!!YOU ARE NOT Admin <p> | ||
<img src="https://cdn.topstarnews.net/news/photo/first/201508/img_147304_1.jpg"></p> | ||
|
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,6 @@ | ||
from django.contrib import admin | ||
|
||
# Register your models here. | ||
from .models import Introduction | ||
|
||
admin.site.register(Introduction) |
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,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class AnthonyConfig(AppConfig): | ||
default_auto_field = 'django.db.models.BigAutoField' | ||
name = 'Anthony' |
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,25 @@ | ||
# Generated by Django 3.2.7 on 2021-09-10 15:17 | ||
|
||
import datetime | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
initial = True | ||
|
||
dependencies = [ | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='Introduction', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('name', models.CharField(default='조용재', max_length=20)), | ||
('birthdate', models.DateTimeField(default=datetime.date(2002, 2, 5))), | ||
('hackingnickname', models.CharField(default='An4hoNYJ0', max_length=100)), | ||
('selfintroducteion', models.TextField(default='Tony Stark가 되고싶은 컴공과생.🤩\n그래서 이름도 anThONY로 지었다는 소문이.. 있지만 사실은 아니라고 한다. 하핳')), | ||
], | ||
), | ||
] |
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,18 @@ | ||
# Generated by Django 3.2.7 on 2021-09-10 16:04 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('Anthony', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='introduction', | ||
name='birthdate', | ||
field=models.DateField(), | ||
), | ||
] |
Empty file.
Binary file not shown.
Binary file added
BIN
+575 Bytes
Anthony/migrations/__pycache__/0002_alter_introduction_birthdate.cpython-38.pyc
Binary file not shown.
Binary file not shown.
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,38 @@ | ||
# Create your models here. | ||
import datetime | ||
from django.db import models | ||
from django.utils import timezone | ||
import inspect | ||
|
||
class Introduction(models.Model): | ||
name = models.CharField(max_length=20,default='조용재') | ||
birthdate = models.DateField() | ||
hackingnickname = models.CharField(max_length=100, default='An4hoNYJ0') | ||
selfintroducteion = models.TextField(default=inspect.cleandoc( | ||
f''' | ||
Tony Stark가 되고싶은 컴공과생.🤩 | ||
그래서 이름도 anThONY로 지었다는 소문이.. 있지만 사실은 아니라고 한다. 하핳 | ||
''')) | ||
def __str__(self): | ||
return self.name | ||
def dict__(self): | ||
return self.__dict__ | ||
|
||
|
||
|
||
|
||
# class Question(models.Model): | ||
# question_text = models.CharField(max_length=200) | ||
# pub_date = models.DateTimeField('date published') | ||
# def __str__(self): | ||
# return self.question_text | ||
# def was_published_recently(self): | ||
# return self.pub_date >= timezone.now() - datetime.timedelta(days=1) | ||
|
||
|
||
# class Choice(models.Model): | ||
# question = models.ForeignKey(Question, on_delete=models.CASCADE) | ||
# choice_text = models.CharField(max_length=200) | ||
# votes = models.IntegerField(default=0) | ||
# def __str__(self): | ||
# return self.choice_text |
Oops, something went wrong.