Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
REDES SOCIAIS<br />USANDO<br />PYTHON<br />
@<br />CONTATO<br />YURIMALHEIROS<br />.COM<br />
@<br />CONTATO<br />YURIMALHEIROS<br />.COM<br />
REDES<br />SOCIAIS<br />
DESIGN<br />MONTAGEM<br />PROGRAMAÇÃO<br />
DESIGN<br />
?<br />
?<br />
ok<br />
PROGRAMAÇÃO<br />
PYTHON<br />DJANGO<br />
Python é<br />SIMPLES<br />
Django é<br />POPULAR<br />
José da Silva<br />30 anos<br />Programador<br />Amigos<br />
Busca<br />
Login<br />
MODEL<br />VIEW<br />CONTROLLER<br />
MODEL<br />TEMPLATE<br />CONTROLLER<br />
MODEL<br />TEMPLATE<br />VIEW<br />
class Profile(models.Model): <br />	name = models.CharField(max_length=200) <br />	birthday = models.DateField()<br />job ...
defindex(request):<br />photos = Photo.objects.all()<br />render_to_response(‘photos/index.html’,<br />	{‘photos’ : photos...
defindex(request):<br />photos = Photo.objects.all()<br />render_to_response(‘photos/index.html’,<br />	{‘photos’ : photos...
defindex(request):<br />photos = Photo.objects.all()<br />render_to_response(‘photos/index.html’,<br />	{‘photos’ : photos...
defindex(request):<br />photos = Photo.objects.all()<br />render_to_response(‘photos/index.html’,<br />	{‘photos’ : photos...
defindex(request):<br />photos = Photo.objects.all()<br />render_to_response(‘photos/index.html’,<br />{‘photos’ : photos}...
MONTAGEM<br />
LAYOUT<br />CÓDIGO<br />
HTML<br />CSS<br />CÓDIGO<br />
DJANGO TEMPLATE<br />CSS<br />CÓDIGO<br />
<h1>Fotos</h1><br />{%forphoto inphotos %}<br />    <h2>{{photo.title}}</h2><br />   <img src=“{{photo.image.url}}” /><br ...
<h1>Fotos</h1><br />{%forphoto inphotos %}<br />    <h2>{{photo.title}}</h2><br />   <img src=“{{photo.image.url}}” /><br ...
AMIGOS<br />RECADOS<br />INDEX<br />BASE<br />
COMO TRABALHAMOS<br />
tarefas<br />INDEPENDENTES<br />
DÚVIDAS?<br />
Upcoming SlideShare
Loading in …5
×
Upcoming SlideShare
Análise de Redes Sociais com Python
Next

2

Share

Redes sociais usando python

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Redes sociais usando python

  1. 1. REDES SOCIAIS<br />USANDO<br />PYTHON<br />
  2. 2. @<br />CONTATO<br />YURIMALHEIROS<br />.COM<br />
  3. 3. @<br />CONTATO<br />YURIMALHEIROS<br />.COM<br />
  4. 4.
  5. 5. REDES<br />SOCIAIS<br />
  6. 6. DESIGN<br />MONTAGEM<br />PROGRAMAÇÃO<br />
  7. 7. DESIGN<br />
  8. 8. ?<br />
  9. 9. ?<br />
  10. 10. ok<br />
  11. 11.
  12. 12. PROGRAMAÇÃO<br />
  13. 13. PYTHON<br />DJANGO<br />
  14. 14. Python é<br />SIMPLES<br />
  15. 15. Django é<br />POPULAR<br />
  16. 16.
  17. 17. José da Silva<br />30 anos<br />Programador<br />Amigos<br />
  18. 18.
  19. 19. Busca<br />
  20. 20. Login<br />
  21. 21. MODEL<br />VIEW<br />CONTROLLER<br />
  22. 22. MODEL<br />TEMPLATE<br />CONTROLLER<br />
  23. 23. MODEL<br />TEMPLATE<br />VIEW<br />
  24. 24. class Profile(models.Model): <br /> name = models.CharField(max_length=200) <br /> birthday = models.DateField()<br />job = models.CharField(max_length=200)<br />class Photo(models.Model): <br /> title = models.CharField(max_length=200) <br /> image = models.ImageField(upload_to=‘img’)<br />votes = models.IntegerField()<br />
  25. 25. defindex(request):<br />photos = Photo.objects.all()<br />render_to_response(‘photos/index.html’,<br /> {‘photos’ : photos})<br />
  26. 26. defindex(request):<br />photos = Photo.objects.all()<br />render_to_response(‘photos/index.html’,<br /> {‘photos’ : photos})<br />
  27. 27. defindex(request):<br />photos = Photo.objects.all()<br />render_to_response(‘photos/index.html’,<br /> {‘photos’ : photos})<br />
  28. 28. defindex(request):<br />photos = Photo.objects.all()<br />render_to_response(‘photos/index.html’,<br /> {‘photos’ : photos})<br />
  29. 29. defindex(request):<br />photos = Photo.objects.all()<br />render_to_response(‘photos/index.html’,<br />{‘photos’ : photos})<br />
  30. 30. MONTAGEM<br />
  31. 31. LAYOUT<br />CÓDIGO<br />
  32. 32. HTML<br />CSS<br />CÓDIGO<br />
  33. 33. DJANGO TEMPLATE<br />CSS<br />CÓDIGO<br />
  34. 34. <h1>Fotos</h1><br />{%forphoto inphotos %}<br /> <h2>{{photo.title}}</h2><br /> <img src=“{{photo.image.url}}” /><br /> votos: {{photo.votes}}<br />{% endfor %}<br />
  35. 35. <h1>Fotos</h1><br />{%forphoto inphotos %}<br /> <h2>{{photo.title}}</h2><br /> <img src=“{{photo.image.url}}” /><br /> votos: {{photo.votes}}<br />{% endfor %}<br />
  36. 36.
  37. 37.
  38. 38.
  39. 39.
  40. 40.
  41. 41. AMIGOS<br />RECADOS<br />INDEX<br />BASE<br />
  42. 42. COMO TRABALHAMOS<br />
  43. 43. tarefas<br />INDEPENDENTES<br />
  44. 44. DÚVIDAS?<br />
  • Emanuelq23

    Feb. 12, 2017
  • hanllenicolas

    Sep. 14, 2013

Views

Total views

2,974

On Slideshare

0

From embeds

0

Number of embeds

273

Actions

Downloads

0

Shares

0

Comments

0

Likes

2

×