Django reusable apps checklist

2017-04-04 Thread Filipe Ximenes
Hi everyone, yesterday Flávio gave a talk about "Qualities of great reusable Django apps" at DjangoCon Europe. We put together most of his ideas from the talk and published as a hot site: http://djangoappschecklist.com/ The code is open source and we would l

Re: Custom Users and ios django questions

2015-07-08 Thread Filipe Ximenes
on the web visit > https://groups.google.com/d/msgid/django-users/2aa960dd-1b95-427e-bb41-c497fcb6333c%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/2aa960dd-1b95-427e-bb41-c497fcb6333c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For mo

Re: Django urls and Angular ui router

2015-07-01 Thread Filipe Ximenes
968-f6ef-4eea-acd2-ab3393b94304%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Filipe Ximenes*+55 (81) 8245-9204 *Vinta Software Studio*http://www.vinta.com.br -- You received this message because

Re: ValueError: Dependency on unknown app

2015-06-26 Thread Filipe Ximenes
"Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To post to this group, send email to django-users@googlegroups.com. >> Visit this group at http://grou

Re: Multiple User Roles design

2015-06-13 Thread Filipe Ximenes
//groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CACczBUK11KXp542vqVZLTfPEG9qbcKjjAQVonPNjf4uDaO3VbA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CACczBUK11KXp542vqVZLTfPEG9qbcKjjAQVonPN

Re: Squashed migration

2015-06-12 Thread Filipe Ximenes
.google.com/d/msgid/django-users/9288958d-0214-4cd2-9b51-dd173a8e83ae%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Filipe Ximenes*+55 (81) 8245-9204 *Vinta Software Studio*http://www.vinta.com.br

Re: Django post response method post not allowed

2015-05-28 Thread Filipe Ximenes
email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/d8d

Re: How to pass a queryset for each different field Admin Inlines

2015-05-27 Thread Filipe Ximenes
Think I got it now. Can you see if this stackoverflow answer solves your problem: http://stackoverflow.com/questions/5329586/django-modelchoicefield-filtering-query-set-and-setting-default-value-as-an-obj On Wed, May 27, 2015 at 9:41 AM, Felipe wrote: > Hello, Filipe Ximenes, in fact it is

Re: How to pass a queryset for each different field Admin Inlines

2015-05-27 Thread Filipe Ximenes
>From what I could understand, you want to change the options of the "value options" field depending on the selected "attribute". Since the choosing of the "attribute" happens in the frontend and there's no page refresh, the backend does not know about it, and therefore cannot filter the "value opt

Re: Choosing an auth module: Login via Facebook, Google, ...

2015-05-06 Thread Filipe Ximenes
nsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/5628571430894754%40web12j.yandex.ru > &l

Re: design pattern to handle multiple groups from the same view

2015-05-05 Thread Filipe Ximenes
emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dj

Re: DRF - Which Authentication to use?

2015-05-04 Thread Filipe Ximenes
This is an interesting question. This question enlights some possibilities: http://stackoverflow.com/questions/21978658/invalidating-json-web-tokens But none of then gives is a definitive solution. Does anyone have other ideas about the subject? On May 1, 2015 10:13 AM, "Nabeel Valapra" wrote: >

Re: Migrations During Development

2015-04-25 Thread Filipe Ximenes
com/d/msgid/django-users/CA%2B%3DOU3WNb8XWUWLyN%2B7fq4u7Er3dczOqgBKLODdVnE3cLxOr-g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Filipe Ximenes*+55 (81) 8245-9204 *Vinta Software Studio*http://www.vi

Re: How should I develop a web site and mobile apps(iOS/Android) as Facebook(using DRF + Angularjs)?

2015-04-16 Thread Filipe Ximenes
the web visit > https://groups.google.com/d/msgid/django-users/61b3252f-679e-4918-9309-4811a6001102%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/61b3252f-679e-4918-9309-4811a6001102%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For mo

Re: How should I develop a web site and mobile apps(iOS/Android) as Facebook(using DRF + Angularjs)?

2015-04-16 Thread Filipe Ximenes
group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/cb9633d6-5571-45c1-91c0-a1118faf7e26%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/cb9633d6-5571-45c1-91c0-a1118faf7

Re: How should I develop a web site and mobile apps(iOS/Android) as Facebook(using DRF + Angularjs)?

2015-04-16 Thread Filipe Ximenes
2c-9a74e60d5238%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Filipe Ximenes*+55 (81) 8245-9204 *Vinta Software Studio*http://www.vinta.com.br -- You received this message because you are subscribed

Re: form detail view using generic view

2015-04-16 Thread Filipe Ximenes
70-bd71-21cb3f7858ae%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Filipe Ximenes*+55 (81) 8245-9204 *Vinta Software Studio*http://www.vinta.com.br -- You received this message because you are

Re: Please advise about pros/cons of cross-platform as Phonegap and Titanium in combination with Django.

2015-04-13 Thread Filipe Ximenes
#x27;s a good framework, has a lot of open source packages developed by the community. Also, consider Ionic: http://ionicframework.com/ On Mon, Apr 13, 2015 at 3:22 PM, Filipe Ximenes wrote: > I'm assuming your current application is not a SPA (single page > application). > Django is

Re: Please advise about pros/cons of cross-platform as Phonegap and Titanium in combination with Django.

2015-04-13 Thread Filipe Ximenes
utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Filipe Ximenes*+55 (81) 8245-9204 *Vinta Software Studio*http://www.vinta.com.br -- You received this message because you are subscribed to the Google Groups "Djang

Re: Accessing to my user

2015-04-02 Thread Filipe Ximenes
nks in advance, > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post t

Re: Using Unicode in django

2015-04-02 Thread Filipe Ximenes
98a78a4b%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/504bf928-7259-4d17-994c-115e98a78a4b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Filipe Ximenes*+55 (81) 8245-920

Re: Upgrade to django 1.7- ImproperlyConfigured -Tastypie label duplicate? help

2015-03-31 Thread Filipe Ximenes
r upgrade to Django 1.7 > 'tastypie', > 'lokal',#my app > ) > > > > On Tuesday, March 31, 2015 at 5:52:55 AM UTC-4, Filipe Ximenes wrote: >> >> Can you show us your INSTALED_APPS? >> It may be the case you have a lot of apps inst

Re: Upgrade to django 1.7- ImproperlyConfigured -Tastypie label duplicate? help

2015-03-31 Thread Filipe Ximenes
Can you show us your INSTALED_APPS? It may be the case you have a lot of apps installed and is not seeing a duplicate reference to tastypie. On Mar 29, 2015 9:43 PM, "amarshall" wrote: > Hi, > > So I updated my django project from django 1.6 to 1.7.7 and when I run > "python manage.py migrate" I

Re: Performance of file-based sessions vs database-backed sessions

2015-03-27 Thread Filipe Ximenes
nqQxtxMBoiQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CABX-mpWYMZ9GQqTduk4RoJfagPAbQ9%3DnChkcu0znqQxtxMBoiQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Filipe Ximen

Re: Search user from Database

2015-03-27 Thread Filipe Ximenes
id/django-users/017b0bc2-ff5c-4a42-936d-00da2b246cbf%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Filipe Ximenes*+55 (81) 8245-9204 *Vinta Software Studio*http://www.vinta.com.br -- You received

Re: Textarea taking htnml tags

2015-03-27 Thread Filipe Ximenes
n on the web visit > https://groups.google.com/d/msgid/django-users/32bb3e0a-1eb1-46d1-94fe-4135c7c916df%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/32bb3e0a-1eb1-46d1-94fe-4135c7c916df%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For m

Re: Accessing django app from another app with ajax

2015-03-26 Thread Filipe Ximenes
My mistake. On Thu, Mar 26, 2015 at 11:42 AM, aRkadeFR wrote: > But from the first email, the debug settings is already at True > and he is not getting a stacktrace... > > > On 03/26/2015 03:40 PM, Filipe Ximenes wrote: > > In case there's no one using your projec

Re: Accessing django app from another app with ajax

2015-03-26 Thread Filipe Ximenes
ers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users

Re: How to create a multi valued field in the model?

2015-03-23 Thread Filipe Ximenes
to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CALn3ei1X%2Bam5Mdwq6Upz_CCnEaea8XaZkKbEnpHL3MC25CrmJQ%40mail.gmail.com > <https://groups.google.c

Re: Data migration script populating db table - testing

2015-03-23 Thread Filipe Ximenes
ttp://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/10767D81-937A-4F08-983A-B055C4AB3982%40sandeepmurthy.is > . > For more options, visit https://groups.google.com/d/optout. > -- *Filipe Ximenes*

Re: Django phonegap CORS

2015-03-18 Thread Filipe Ximenes
use callbacvk from injection to turn inApp browser in "visible mode" > > Many Thanx for our help > > Am Freitag, 13. März 2015 21:33:36 UTC+1 schrieb Filipe Ximenes: >> >> Alright, I think I got what you want now. >> >> The first solution that comes to mind i

Re: Django Query to get max rating

2015-03-18 Thread Filipe Ximenes
g to a single group, it would make more sense to have a ForeignKey to Group in the Question model. You can also optimize the way you are doing the queries, but that's another topic. -- *Filipe Ximenes*+55 (81) 8245-9204 *Vinta Software Studio*http://www.vinta.com.br -- You received

Re: Django phonegap CORS

2015-03-17 Thread Filipe Ximenes
Hey, I wrote a blog post about CORS and Django with more details about the subject: http://www.vinta.com.br/blog/2015/django-cors.html =) On Fri, Mar 13, 2015 at 5:32 PM, Filipe Ximenes wrote: > Alright, I think I got what you want now. > > The first solution that comes to mind is t

Re: forms of 2 tables upload files

2015-03-17 Thread Filipe Ximenes
7;) def save(self, commit=True): person = super(MyForm, self).save(commit) file_instance = FileModel(the_file=self.cleaned_data['the_file']) if commit: file_instance.save() return person -- *Filipe Ximenes*+55 (81) 8245-9204 *Vinta Software Studio*http://www.vinta.com.br -- You recei

Re: Django phonegap CORS

2015-03-13 Thread Filipe Ximenes
django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/db6f6050-b1b9-4ea4-9729-94a3184c5e82%40googlegroups.com > <https://groups.google.com/d/msgid/django-

Re: Django phonegap CORS

2015-03-13 Thread Filipe Ximenes
oups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/00ca9fea-316e-405b-95ba-3bc554a0274d%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/00ca9fea-316e-405b-95ba-3bc554a0274d%40googlegroups.

Re: Django phonegap CORS

2015-03-11 Thread Filipe Ximenes
idea is to have your API endpoints beginning with something like "/api/{whatever you want}" and set: CORS_ORIGIN_ALLOW_ALL = True CORS_URLS_REGEX = r'^/api/.*$' -- *Filipe Ximenes*+55 (81) 8245-9204 *Vinta Software Studio*http://www.vinta.com.br -- You received this mes