Skip to content

Commit

Permalink
django project
Browse files Browse the repository at this point in the history
portfolio django project with postgreSQL
  • Loading branch information
mikeiya-JR6KP9M\iyani committed Jul 11, 2019
0 parents commit dfbd26d
Show file tree
Hide file tree
Showing 200 changed files with 77,423 additions and 0 deletions.
Binary file added myportfolio/db.sqlite3
Binary file not shown.
Binary file added myportfolio/images/github-octocat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions myportfolio/manage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env python
import os
import sys

if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'my_portfolio.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
Empty file added myportfolio/my_jobs/__init__.py
Empty file.
Binary file not shown.
Binary file added myportfolio/my_jobs/__pycache__/admin.cpython-35.pyc
Binary file not shown.
Binary file not shown.
Binary file added myportfolio/my_jobs/__pycache__/views.cpython-35.pyc
Binary file not shown.
5 changes: 5 additions & 0 deletions myportfolio/my_jobs/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.contrib import admin
from .models import my_job

# Register your models here.
admin.site.register(my_job)
5 changes: 5 additions & 0 deletions myportfolio/my_jobs/admin.py~
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.contrib import admin
from .models import my_jobs

# Register your models here.
admin.site.register(my_jobs)
5 changes: 5 additions & 0 deletions myportfolio/my_jobs/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class MyJobsConfig(AppConfig):
name = 'my_jobs'
22 changes: 22 additions & 0 deletions myportfolio/my_jobs/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 2.1.5 on 2019-01-05 09:02

from django.db import migrations, models


class Migration(migrations.Migration):

initial = True

dependencies = [
]

operations = [
migrations.CreateModel(
name='my_job',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('image', models.ImageField(upload_to='images/')),
('summary', models.CharField(max_length=200)),
],
),
]
Empty file.
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions myportfolio/my_jobs/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.db import models

# Create your models here.

class my_job(models.Model):
image = models.ImageField(upload_to = 'images/')
summary = models.CharField(max_length = 200)
3 changes: 3 additions & 0 deletions myportfolio/my_jobs/models.py~
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
Binary file added myportfolio/my_jobs/static/1.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit dfbd26d

Please sign in to comment.