<file_sep>#coding: utf-8
from django.db import models


class projeto(models.Model):
	projeto = models.CharField(max_length=50, default="Nome do Projeto")
	nome = models.CharField(max_length=50, verbose_name='Nome')
	data = models.CharField(max_length=255, default='09 de setembro de 2017')
	linguagem = models.CharField(max_length=100, verbose_name='Linguagem')
	github = models.CharField(max_length=100, default='https://github.com/seurepositorio')
	sobre = models.TextField(max_length=255, verbose_name='Sobre')

	def _str_(self):
		return self.name
<file_sep># -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-08-23 23:36
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('portfolios', '0003_auto_20170823_1942'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='projeto',
            name='name',
        ),
        migrations.AddField(
            model_name='projeto',
            name='projeto',
            field=models.CharField(default='Nome do Projeto', max_length=50),
        ),
        migrations.AlterField(
            model_name='projeto',
            name='nome',
            field=models.CharField(default='Seu nome', max_length=50),
        ),
        migrations.AlterField(
            model_name='projeto',
            name='sobre',
            field=models.CharField(default='Sobre', max_length=700),
        ),
    ]
<file_sep># -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-08-23 22:42
from __future__ import unicode_literals

from django.db import migrations


class Migration(migrations.Migration):

    dependencies = [
        ('portfolios', '0002_auto_20170823_1939'),
    ]

    operations = [
        migrations.RenameModel(
            old_name='projetos',
            new_name='projeto',
        ),
    ]
<file_sep># -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-08-23 22:39
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('portfolios', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='projetos',
            name='data',
            field=models.CharField(default='09 de setembro de 2017', max_length=255),
        ),
        migrations.AddField(
            model_name='projetos',
            name='github',
            field=models.CharField(default='https://github.com/seurepositorio', max_length=100),
        ),
        migrations.AddField(
            model_name='projetos',
            name='linguagem',
            field=models.CharField(default='Linguagem', max_length=100),
        ),
        migrations.AddField(
            model_name='projetos',
            name='name',
            field=models.CharField(default='Seu nome', max_length=50),
        ),
        migrations.AddField(
            model_name='projetos',
            name='nome',
            field=models.CharField(default='Nome do Projeto', max_length=50),
        ),
        migrations.AddField(
            model_name='projetos',
            name='sobre',
            field=models.CharField(default='Sobre', max_length=255),
        ),
    ]
<file_sep>from django.shortcuts import render
from .models import projeto


def portfolios_exibir(request):
	
	meuprojeto = projeto.objects.all()
	context = {'meuprojeto': meuprojeto} 
	return render(request, 'projetos/index.html', context)


<file_sep>from django.contrib import admin

from .models import projeto

admin.site.register(projeto)<file_sep># -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-08-23 23:38
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('portfolios', '0004_auto_20170823_2036'),
    ]

    operations = [
        migrations.AlterField(
            model_name='projeto',
            name='sobre',
            field=models.CharField(max_length=700, verbose_name='Sobre'),
        ),
    ]
<file_sep>"# communitycode" 
