├── .gitignore
├── README.md
├── Vagrantfile
├── bootstrap.sh
├── community
├── __init__.py
├── admin.py
├── models.py
├── templates
│ ├── _tags_filtering_form.html
│ ├── base.html
│ ├── base_site.html
│ ├── community
│ │ └── index.html
│ ├── confirm_delete.html
│ ├── footer.html
│ └── header.html
├── templatetags
│ ├── __init__.py
│ └── devtags.py
├── tests.py
├── urls.py
└── views.py
├── events
├── __init__.py
├── admin.py
├── forms.py
├── migrations
│ ├── 0001_initial.py
│ ├── 0002_auto_20141211_1638.py
│ ├── 0003_auto_20150308_2006.py
│ ├── 0004_auto_20150310_2120.py
│ └── __init__.py
├── mixins.py
├── models.py
├── templatetags
│ ├── __init__.py
│ └── event_tags.py
├── tests.py
├── urls.py
└── views.py
├── fabfile.py
├── faq
├── __init__.py
├── admin.py
├── models.py
├── tests.py
├── urls.py
└── views.py
├── fixtures
└── planeta_pyar.json
├── jobs
├── __init__.py
├── admin.py
├── forms.py
├── migrations
│ ├── 0001_initial.py
│ ├── 0002_auto_20150308_2348.py
│ ├── 0003_job_slug.py
│ ├── 0004_auto_20150316_2322.py
│ ├── 0005_auto_20150316_2326.py
│ └── __init__.py
├── models.py
├── tests.py
├── urls.py
└── views.py
├── manage.py
├── newbie
├── __init__.py
├── admin.py
├── forms.py
├── models.py
├── tests.py
├── urls.py
└── views.py
├── news
├── __init__.py
├── admin.py
├── forms.py
├── migrations
│ ├── 0001_initial.py
│ ├── 0002_auto__add_field_newsarticle_introduction__chg_field_newsarticle_create.py
│ └── __init__.py
├── models.py
├── tests.py
├── urls.py
└── views.py
├── planet
├── __init__.py
├── admin.py
├── context_processors.py
├── feeds.py
├── forms.py
├── management
│ ├── __init__.py
│ └── commands
│ │ ├── __init__.py
│ │ ├── planet_add_feed.py
│ │ ├── planet_update_all_feeds.py
│ │ └── planet_update_feed.py
├── managers.py
├── migrations
│ ├── 0001_initial.py
│ ├── 0002_auto__chg_field_post_guid.py
│ ├── 0003_auto__chg_field_post_url.py
│ ├── 0004_auto__chg_field_post_date_created.py
│ ├── 0005_auto__add_category__add_field_feed_category.py
│ ├── 0006_auto__chg_field_generator_version.py
│ ├── 0007_migrate_guids.py
│ ├── 0008_auto__chg_field_feed_guid.py
│ ├── 0009_auto__chg_field_post_guid.py
│ ├── 0009_drop_feed_guid_index.py
│ └── __init__.py
├── models.py
├── settings.py
├── signals.py
├── sitemaps.py
├── tasks.py
├── templatetags
│ ├── __init__.py
│ └── planet_tags.py
├── tests
│ ├── __init__.py
│ ├── factories.py
│ ├── managers.py
│ └── views.py
├── urls.py
└── views.py
├── projects
├── __init__.py
├── admin.py
├── apis.py
├── forms.py
├── models.py
├── tests.py
├── urls.py
└── views.py
├── pyarweb
├── __init__.py
├── celery.py
├── formats
│ ├── __init__.py
│ └── es_AR
│ │ ├── __init__.py
│ │ └── formats.py
├── settings.py
├── urls.py
├── views.py
└── wsgi.py
├── pycompanies
├── __init__.py
├── admin.py
├── forms.py
├── migrations
│ ├── 0001_initial.py
│ ├── 0002_auto_20141211_1638.py
│ └── __init__.py
├── models.py
├── tests.py
├── urls.py
└── views.py
├── requirements.txt
├── static
├── bootstrap
│ └── 3.1.1
│ │ ├── css
│ │ ├── bootstrap-theme.css
│ │ ├── bootstrap-theme.css.map
│ │ ├── bootstrap-theme.min.css
│ │ ├── bootstrap.css
│ │ ├── bootstrap.css.map
│ │ └── bootstrap.min.css
│ │ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.svg
│ │ ├── glyphicons-halflings-regular.ttf
│ │ └── glyphicons-halflings-regular.woff
│ │ └── js
│ │ ├── bootstrap-growl.min.js
│ │ ├── bootstrap.js
│ │ └── bootstrap.min.js
├── css
│ ├── animate.css
│ ├── event_map.css
│ ├── search.css
│ └── styles.css
├── img
│ ├── banner.png
│ ├── icons
│ │ ├── icons.png
│ │ ├── icons_active.png
│ │ └── pyar.ico
│ ├── logo-header.png
│ ├── moin-www.png
│ ├── pyar-footer.png
│ ├── python-banner.png
│ ├── python-footer.png
│ ├── ribbon.png
│ └── usla-footer.png
├── jquery-autosuggest
│ ├── css
│ │ ├── autoSuggest-grappelli.css
│ │ └── autoSuggest.css
│ └── js
│ │ └── jquery.autoSuggest.minified.js
├── jquery
│ └── 1.11.0
│ │ └── jquery.min.js
└── js
│ └── web.js
└── templates
├── account
├── base.html
├── login.html
├── logout.html
├── password_reset.html
├── password_reset_done.html
├── password_reset_from_key.html
├── password_reset_from_key_done.html
├── signup.html
└── signup_closed.html
├── buscador.html
├── companies
├── company_confirm_delete.html
├── company_detail.html
├── company_form.html
└── company_list.html
├── events
├── event_confirm_delete.html
├── event_detail.html
├── event_detail_body.html
├── event_form.html
├── event_list.html
└── next_events.html
├── faq
└── all.html
├── irc
└── irc.html
├── jobs
├── _jobs_tags.html
├── job_confirm_delete.html
├── job_detail.html
├── job_detail_feed.html
├── job_form.html
├── job_list.html
├── job_overview.html
└── jobs_by_user.html
├── newbie
├── add-jedi.html
├── add-padawan.html
├── jedi-receive-response.html
├── jedi-request-successfully.html
├── list-jedi.html
├── list-padawan.html
└── register.html
├── news
├── newsarticle_confirm_delete.html
├── newsarticle_detail.html
├── newsarticle_form.html
└── newsarticle_list.html
├── planet
├── authors
│ ├── blocks
│ │ ├── list.html
│ │ ├── list_for_feed.html
│ │ └── list_for_tag.html
│ ├── detail.html
│ ├── list.html
│ └── list_for_tag.html
├── base.html
├── blogs
│ ├── confirm_delete.html
│ ├── detail.html
│ ├── list.html
│ └── list_by_user.html
├── dummy.html
├── feeds
│ ├── blocks
│ │ ├── list_for_author.html
│ │ ├── list_for_tag.html
│ │ └── syndication_block.html
│ ├── detail.html
│ ├── form.html
│ ├── list.html
│ └── list_for_tag.html
├── list.html
├── microformats
│ ├── foaf.xml
│ └── opml.xml
├── posts
│ ├── confirm_delete.html
│ ├── detail.html
│ ├── details.html
│ ├── full_details.html
│ ├── list.html
│ └── short.html
└── tags
│ ├── blocks
│ ├── authors_cloud.html
│ ├── blogs_cloud.html
│ ├── cloud.html
│ ├── feeds_cloud.html
│ └── related_list.html
│ ├── cloud.html
│ ├── detail.html
│ └── list.html
├── projects
├── add.html
├── all.html
├── update.html
└── view.html
├── registration
├── activate.html
├── activation_complete.html
├── activation_email.txt
├── activation_email_subject.txt
├── login.html
├── logout.html
├── registration_complete.html
└── registration_form.html
├── special_page.html
└── waliki
└── detail.html
/.gitignore:
--------------------------------------------------------------------------------
1 | *.pyc
2 | *.swp
3 | *.swo
4 | .venv
5 | db.sqlite3
6 | waliki_data
7 | waliki_attachments
8 | media
9 | .vagrant
10 | src
11 | pyarweb
12 | celerybeat-schedule
13 | local_settings.py
14 | Dockerfile
15 | docker-compose.yml
16 | run-docker.sh
17 |
--------------------------------------------------------------------------------
/bootstrap.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | yes | aptitude install git-core redis-server python3-dev python3-pip gettext libxml2-dev libxslt1-dev zlib1g-dev
4 |
5 | pip3 install -r /vagrant/requirements.txt
6 |
--------------------------------------------------------------------------------
/community/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PythonMexico/pymxweb/5eec3c9d5b979e8d4eadadac2fb54d134ad8097e/community/__init__.py
--------------------------------------------------------------------------------
/community/admin.py:
--------------------------------------------------------------------------------
1 | from django.contrib import admin
2 |
3 | # Register your models here.
4 |
--------------------------------------------------------------------------------
/community/models.py:
--------------------------------------------------------------------------------
1 | from django.db import models
2 |
3 | # Create your models here.
4 |
--------------------------------------------------------------------------------
/community/templates/_tags_filtering_form.html:
--------------------------------------------------------------------------------
1 | {% load i18n staticfiles %}
2 |
3 | {% trans 'Filtrar por etiqueta' %}
6 |
18 | {% blocktrans with site.name as site_name %}Please sign in with one 19 | of your existing third party accounts. Or, sign up 20 | for a {{site_name}} account and sign in below:{% endblocktrans %} 21 |
22 | 23 | 29 | 30 | {% include "socialaccount/snippets/login_extra.html" %} 31 | 32 | {% else %} 33 |{% blocktrans %}Si aún no tenes cuenta, podes registrarte 34 | acá.{% endblocktrans %}
35 | {% endif %} 36 |{% trans 'Are you sure you want to sign out?' %}
15 | 16 | 23 |{% trans "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}
22 | 23 | 28 | 29 |{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}
30 |{% blocktrans %}We have sent you an e-mail. Please contact us if you do not receive it within a few minutes.{% endblocktrans %}
19 |{% blocktrans %}The password reset link was invalid, possibly because it has already been used. Please request a new password reset.{% endblocktrans %}
17 | {% else %} 18 | {% if form %} 19 | 24 | {% else %} 25 |{% trans 'Your password is now changed.' %}
26 | {% endif %} 27 | {% endif %} 28 |{% trans 'Your password is now changed.' %}
13 |16 | {% blocktrans %} 17 | ¿Ya tenes cuenta? Por favor inicia sesión. 18 | {% endblocktrans %} 19 |
20 |{% trans "We are sorry, but the sign up is currently closed." %}
12 | {% endblock %} 13 | 14 | 15 | -------------------------------------------------------------------------------- /templates/buscador.html: -------------------------------------------------------------------------------- 1 | {% extends "base_site.html" %} 2 | 3 | {% block title %} 4 | Resultados para «{{ buscar }}» 5 | {% endblock title %} 6 | 7 | 8 | {% block left-column %} 9 |{% autoescape off %}{{ object.description|linebreaks|safe }}{% endautoescape %}
28 |{{ object.description|striptags|truncatewords:"20" }}
22 |{% trans 'Más información...' %}
23 | {% endfor %} 24 | 25 | {% paginate %} 26 | {% else %} 27 |{% trans 'La búsqueda no produjo resultados.' %}
29 |{{ obj.description|safe }}
8 | 9 |{% trans "Comienza" %}: {{ obj.start_at }}
16 | {% endif %} 17 | 18 | {% if obj.end_at %} 19 |{% trans "Termina" %}: {{ obj.end_at }}
20 | {% endif %} 21 | 22 |{{ obj.place }} | {{ obj.address }}
24 | 25 | {% if obj.url %} 26 |28 | {{ obj.url }} 29 |
30 | {% endif %} 31 | -------------------------------------------------------------------------------- /templates/events/event_form.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load i18n %} 4 | {% load devtags %} 5 | {% load crispy_forms_tags %} 6 | 7 | {% block stylesheets %} 8 | 9 | {{ form.media.css }} 10 | {% endblock %} 11 | 12 | {% block content %} 13 | 14 |{{ event.description|striptags| truncatewords:"20" }}
47 |{% trans "No hay eventos a futuro" %}
51 |{{ event.description|striptags|truncatewords:"20" }}
72 |{% trans "No hay eventos pasados" %}
77 |10 | {{ event.start_at|date:"DATE_FORMAT" }} | 11 | {{ event.start_at|time:"TIME_FORMAT" }} | 12 | {{ event.place }} 13 |
14 |No hay eventos a futuro
19 |{{ question.answer }}
39 |El archivo del canal se encuentra disponible en http://irclogger.com/.pyar/
11 |Si querés usar otro cliente de IRC, ingresá al canal: #pyar en el server: irc.freenode.net
13 | {% endblock %} 14 | -------------------------------------------------------------------------------- /templates/jobs/_jobs_tags.html: -------------------------------------------------------------------------------- 1 | {% load i18n %} 2 | {% trans 'Etiquetas:' %} 3 | {% for tag in object.tags.all %} 4 | {{ tag.name }} 5 | {% endfor %} 6 | -------------------------------------------------------------------------------- /templates/jobs/job_confirm_delete.html: -------------------------------------------------------------------------------- 1 | {% extends "confirm_delete.html" %} 2 | {% load i18n %} 3 | 4 | {% block page_title %}{% trans 'Borrar trabajo' %}{% endblock %} 5 | 6 | {% block return_url %}{% url 'jobs_view' object.id %}{% endblock %} -------------------------------------------------------------------------------- /templates/jobs/job_detail.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% load disqus_tags %} 3 | {% load i18n %} 4 | {% load email_obfuscator %} 5 | {% load devtags %} 6 | 7 | {% block title %} 8 | {{ object.title }} 9 | {% endblock %} 10 | 11 | {% block content %} 12 |{{ obj.description|html2text }}
-------------------------------------------------------------------------------- /templates/jobs/job_form.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% load i18n %} 3 | {% load crispy_forms_tags %} 4 | 5 | {% load devtags %} 6 | 7 | {% block content %} 8 |{{ object.description|html2text|truncatewords:50 }}
24 |{% trans 'La búsqueda no produjo resultados.' %}
33 |23 de Agosto de 2012 | 20:00 hs | Audotorio UnQui
53 |via: http://elblogdefulanito... | 23-05-2012 | 22:05
67 |{{ jedi.id }} | 13 |{{ jedi.user.username }} | 14 |15 | {% trans "Enviar solicitud" %} 16 | | 17 |
{{ padawan.id }} | 14 |{{ padawan.user.username }} | 15 |
{% autoescape off %}{{ object.body|linebreaks|safe }}{% endautoescape %}
30 |25 | {{ object.introduction|html2text|truncatewords:50 }} 26 |
27 |{% trans 'La búsqueda no produjo resultados.' %}
34 |{% trans 'Blog Info' %} | 44 |{{ blog.title }} | 45 |
---|---|
{% trans 'Blog website' %} | 50 |link | 51 |
{% trans 'Stats' %} | 55 |Has written {{ author|post_count }} posts about or related to Django | 56 |
{% trans 'Posts under tag' %}: {{ tag|safe }}
62 | 63 | {% trans 'See the complete list of posts by this author' %} 64 | 65 |{% blocktrans %}A django-planet powered site{% endblocktrans %}
31 | {% endblock %} 32 | -------------------------------------------------------------------------------- /templates/planet/blogs/confirm_delete.html: -------------------------------------------------------------------------------- 1 | {% extends "confirm_delete.html" %} 2 | {% load i18n %} 3 | 4 | {% block page_title %}{% trans 'Borrar blog' %}{% endblock %} 5 | 6 | {% block return_url %}{% url 'planet_blog_list_by_user' %}{% endblock %} 7 | -------------------------------------------------------------------------------- /templates/planet/blogs/list.html: -------------------------------------------------------------------------------- 1 | {% extends "planet/base.html" %} 2 | {% load i18n pagination_tags %} 3 | {% load url from future %} 4 | 5 | {% block head_title %}{% trans "Blogs list" %}{% endblock %} 6 | 7 | {% block extra_head %} 8 | 9 | 10 | 11 | {% endblock %} 12 | 13 | {% block breadcrumb_section %}{% trans 'web' %} | {{ blog.url }} | 31 |
---|---|
{% trans 'browse' %} | {% trans 'latest posts' %} | 34 |
{% trans 'feed' %} | 38 |39 | 40 | RSS 41 | | 42 |
{{ feed.subtitle|striptags }}
36 | {% endif %} 37 | 38 | {% if not tag %} 39 |{% trans 'Blog' %} | 42 | {{ feed.blog.title }} | 43 |
---|---|
{% trans 'RSS 2.0 Feed' %} | 46 | {{ feed.title }} | 47 |
{% trans 'web' %} | {{ feed.blog.url }} | 50 |
{% trans 'Last Update' %} | {{ feed.last_checked|date:"m.d.Y" }} | 53 |
{% trans 'Posts' %} | {{ feed.post_set.count }} | 56 |
Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
23 |{% trans 'Feed' %} | {{ feed.url }} | 27 |
---|---|
{% trans 'web' %} | {{ feed.blog.url }} | 30 |
{% trans 'browse' %} | {% trans 'latest posts' %} | 33 |
25 |
26 |
27 |
28 |
29 | {{ feed.title }}
30 |
31 |
10 | {{ post.date_modified|date:"d/m/y" }} ▪ 11 | 13 | {% trans "[Archived Version]" %} 14 | ▪ 15 | Published at {{ post.feed.blog.title }} 16 | {% if post.tags.count %} under tags 17 | {% for tag in post.tags.all|slice:":5" %} 18 | {{ tag.name }} 19 | {% endfor %} 20 | {% endif %} 21 |
{% trans 'published by' %} | 8 | 9 | {{ author.name }} 10 | | 11 |
---|---|
{% trans 'in blog' %} | 15 | {{ post.feed.blog.title }} 16 | | 17 |
{% trans 'original entry' %} | {{ post.title|safe }} 20 | |
10 | {{ post.date_modified|date:"M d Y" }} □ 11 | 14 | {% trans "[Archived Version]" %} 15 | □ 16 | Published at {{ post.feed.blog.title }} 17 | {% if post.tags.count %} under tags 18 | {% for tag in post.tags.all|slice:":5" %} 19 | {{ tag.name }} 20 | {% endfor %} 21 | {% endif %} 22 |
-------------------------------------------------------------------------------- /templates/planet/tags/blocks/authors_cloud.html: -------------------------------------------------------------------------------- 1 | {% load i18n %} 2 | {% load url from future %} 3 | {% if tags_cloud %} 4 |{{ project.description|slice:":200" }} ...
27 |{{ project.description|slice:":200" }} ...
41 | 49 |{{ project.description }}
19 |Repositorio | Licencia: {{ project.license }}
20 |Tags: 21 | {{project.tags}} 22 | {% comment %} 23 | {% for tag in project.tags.all %} 24 | {{ tag }}, 25 | {% endfor %} 26 | {% endcomment %} 27 |
28 |29 | 35 |36 |
23 de Agosto de 2012 | 20:00 hs | Audotorio UnQui
36 |via: http://elblogdefulanito... | 23-05-2012 | 22:05
50 |23 de Agosto de 2012 | 20:00 hs | Audotorio UnQui
36 |via: http://elblogdefulanito... | 23-05-2012 | 22:05
50 |23 de Agosto de 2012 | 20:00 hs | Audotorio UnQui
41 |via: http://elblogdefulanito... | 23-05-2012 | 22:05
55 |23 de Agosto de 2012 | 20:00 hs | Audotorio UnQui
36 |via: http://elblogdefulanito... | 23-05-2012 | 22:05
50 |23 de Agosto de 2012 | 20:00 hs | Audotorio UnQui
36 |via: http://elblogdefulanito... | 23-05-2012 | 22:05
50 |23 de Agosto de 2012 | 20:00 hs | Audotorio UnQui
42 |via: http://elblogdefulanito... | 23-05-2012 | 22:05
56 |