Re: [ANNOUNCE] Django 1.6 and Django 1.4.10 released

2013-11-07 Thread Mário Neto
Thanks for all! =) 2013/11/6 wudiweb > Thanks for all contributors > > 在 2013年11月6日星期三UTC+8下午11时09分45秒,James Bennett写道: > >> Django 1.6 and Django 1.4.10 are out today; the latter is a bugfix >> release to restore Python 2.5 compatibility in the 1.4 series. >> >>

Re: How to add a code table to this group?

2013-08-23 Thread Mário Neto
Paste your code in http://dpaste.com and share the link in this group Em 22/08/2013 12:42, "Gerd Koetje" escreveu: > In many posts i submit django code. > I tried to use the < c o d e > < / c o d e > tag but it doesnt format it > very nicely > Is there a other tags

Re: Problem with static in Django 1.5 virtualenv

2013-08-02 Thread Mário Neto
Suggestion: *Install Unipath with a:* $ pip install Unipath *and in settings file:* from unipath import Path PROJECT_DIR = Path(__file__).parent STATIC_ROOT = PROJECT_DIR.child('static') *Try in urls.py* from django.conf.urls.static import static from django.contrib.staticfiles.urls import

Re: Can I only have one "get_queryset" per Viewpage?

2013-07-23 Thread Mário Neto
Exactly @Babatundle =) 2013/7/23 Babatunde Akinyanmi > Override your get method but it's easier to override the get_context_data > method like > # From my head > def get_context_data(**kwargs): > context = super(IndexView, self).get_context_data(**kwargs) >

Re: Can I only have one "get_queryset" per Viewpage?

2013-07-22 Thread Mário Neto
Hi, you can separate your querysets in get_context_data method. See: https://docs.djangoproject.com/en/dev/ref/class-based-views/mixins-simple/#django.views.generic.base.ContextMixin.get_context_data 2013/7/22 Pepsodent Cola > Hi, > > Can I only have one "get_queryset"

Re: Need help on customizing my django admin page to my own new look

2013-07-17 Thread Mário Neto
A path to follow: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-admin-templates 2013/7/17 Rurangwa Moses > Hey guys, > I need some help on how to customize a django admin page to whole new > different look rather than the default django admin page > >

Re: Selecting site in admin

2013-05-28 Thread Mário Neto
Do you can this in your template 2013/5/28 Victor > As a newbye I'm happily using admin. > > Now I would like to select what a user can see in the admin main page > according to its username just as a (non-working) example I would like to > follow this idea > > in admin.py >

Re: [ANN] Introducing Brillixy - Django admin skin & customization kit

2013-03-12 Thread Mário Neto
Very good Alexey, Congratulations! =) 2013/3/12 Tomas Ehrlich > Hi Alex, > congratulation to alpha release of your app. > > I was about to suggest you django-bootstrap-admin, django-admin-tools > and django-fluent-dashboard, but since you already know Admin tools, >

Re: FYI: Scheduled downtime on djangoproject.com Thursday night

2013-01-29 Thread Mário Neto
Thank's Jacob! 2013/1/29 kl4us > nice one, i'm new on django and i'm reading documentation all day > > Il giorno martedì 29 gennaio 2013 18:11:48 UTC+1, Jacob Kaplan-Moss ha > scritto: > >> Hey folks -- >> >> MediaTemple, our hosting provider for djangoproject.com, is

Re: Django CRM Tool

2013-01-16 Thread Mário Neto
Very good! Ezequiel =] 2013/1/15 Ezequiel Bertti > Try this: > http://tree.io/ > > > On Tue, Jan 15, 2013 at 7:05 PM, scaphilo wrote: > >> Hi >> Well this thread is a bit outdated but as you have not had any answers >> yet. >> >> Insted of starting

Re: how to set template and media directory in settings?

2013-01-12 Thread Mário Neto
And trying like this: >>> PROJECT_PATH = os.path.abspath(os.path.dirname(__name__)) >>> PROJECT_PATH 'C:\\Users\\Mario' >>> os.path.join(os.path.dirname(PROJECT_PATH), "..") 'C:\\Users\\..' Best regards 2013/1/11 frocco > PROJECT_PATH =

Re: Happy new year

2012-12-31 Thread Mário Neto
Happy new year from Brasil to all djangonautics of the world. Many django projects for all! Best regards. 2012/12/31 Ariel Calzada > Happy new year from Colombia > El 31/12/2012 16:42, escribió: > > Happy new year from spain to all django lovers.

Re: ANN: Django REST framework 2 released.

2012-10-30 Thread Mário Neto
Amazing! Good work! :) 2012/10/30 Tom Christie > Hi all, > > I'm incredibly pleased to announce the release of Django REST framework 2. > > REST framework 2 is a comprehensive reworking of the original project. > Because this is a major re-design, rather than an

Re: [Off Topic] djangopackages OUT?

2012-08-10 Thread Mário Neto
> > Yours, > Russ Magee %-) > > On Fri, Aug 10, 2012 at 7:43 PM, Mário Neto <macndes...@gmail.com> wrote: > > http://www.djangopackages.com/ out? > > > > -- > > Att. Mário Araújo Chaves Neto > > Programmer, Designer and U.I. Engineer > > > &g

[Off Topic] djangopackages OUT?

2012-08-10 Thread Mário Neto
http://www.djangopackages.com/ out? -- Att. *Mário Araújo Chaves Neto* *Programmer, Designer and U.I. Engineer* * * *MBA in Design Digital* - 2008 - FIC *Analysis and Systems Development* - 2011 - Estácio *D**esign and Implementation of Internet Environments* - 2003 - FIC -- You received this

Re: DISTINCT ON fields is not supported by this database backend

2012-06-25 Thread Mário Neto
What's your database backend? https://docs.djangoproject.com/en/dev/ref/models/querysets/#django.db.models.query.QuerySet.distinct Note This ability to specify field names is only available in PostgreSQL. []s 2012/6/24 Marcin Tustin > DISTINCT ON fields is not

Re: ANNOUNCE: Django 1.4 released

2012-03-23 Thread Mário Neto
Great! \,,/_ 2012/3/23 James Bennett > Django 1.4 is finally here! > > For details, checkout the weblog: > > https://www.djangoproject.com/weblog/2012/mar/23/14/ > > And the release notes: > > https://docs.djangoproject.com/en/dev/releases/1.4/ > > -- > You received this

Re: Django 1.4 beta 1 released

2012-02-17 Thread Mário Neto
Cool! =) 2012/2/16 victoria > I just wanted to let you know that we have also released a new version > of BitNami DjangoStack 1.4b1 which bundles Django 1.4b1. I hope that > will make easier to test this new version without conflicting with > your current stable environment.

Re: {% elif %} error

2011-12-28 Thread Mário Neto
https://docs.djangoproject.com/en/dev/ref/templates/builtins/#firstof 2011/12/28 Nikhil Verma > Go to this link > > https://docs.djangoproject.com/en/dev/ref/templates/builtins/ > > {% if athlete_list %} > > Number of athletes: {{ athlete_list|length }} > *{% elif

Re: Django 1.4 alpha 1 released

2011-12-23 Thread Mário Neto
Great, very very good! \,,/_ Congratulations!!! 2011/12/23 James Bennett > Tonight as part of the 1.4 development process, we've released the > first alpha for Django 1.4. You can read all about it on the blog: > >

Re: Django Development Environments

2011-06-07 Thread Mário Neto
Dev. Mac OS X PyCharm Virtualenv pip Mercurial (Bitbucket) debug-toolbar and extensions Prod. 1 RedHat Apache mod_wsgi Prod. 2 Debian Cherokee uwsgi 2011/6/7 Xavier Ordoquy > Hi, > > > Xavier, could you point to any resources about using buildout with > Django,

Re: Static files

2011-05-18 Thread Mário Neto
a detail, put only: urlpatterns += staticfiles_urlpatterns() instead: if settings.DEBUG: urlpatterns += staticfiles_urlpatterns() The django treat this in URLConf. 2011/5/18 Kevin Monceaux > On Wed, May 18, 2011 at 03:03:42PM -0500, Kevin Monceaux wrote: > > > to: >

Re: Noob question: using multiple classes in a detail page's view

2010-12-21 Thread Mário Neto
For that you could use the method select_related, if you want the details page has executives related to the nonprofit: e = Executive.objects.select_related().get(pk=id) Thus, there is a performance gain, it does not require database queries. 2010/12/21 Matt > I have

Re: django-avatar image src

2010-11-05 Thread Mário Neto
instead this: MEDIA_URL = os.path.realpath(PROJECT_PATH + '/media/') try: MEDIA_URL = '/media/' 2010/11/5 Sithembewena Lloyd Dube > Update: I added AVATAR_STORAGE_DIR = MEDIA_ROOT to my settings.py file. > > When I load the page, the avatar's src is >