Re: Django Weekend Cardiff

2013-12-16 Thread Daniele Procida
On Wed, Nov 13, 2013, Daniele Procida wrote: >The UK's first-ever Django conference will take place on the 7th-9th >February 2014 in Cardiff, Wales. > > > >The programme for the event: > >Friday: tutorials and demonstrations (also open to the public) >Saturday: talks >Su

Re: Making sure I'm not missing out on some must have Django apps

2013-12-16 Thread Some Developer
On 15/12/2013 23:06, Frank Bieniek wrote: Hi, I would add some: django-userena - user self registration django-organizations - user and organizations django-guardian - object level permissions django-paranoia - paranoid security stuff django-cache machine / johnny-cache Thx Frank Thank for the

Re: Django Debug Toolbar 1.0 beta released

2013-12-16 Thread kamagatos
Aymeric, I think the debug toolbar is very useful. I use it all the time. But on the other side, we should start thinking about a way to catch and display every ajax/json responses. because more and more applications are becoming ajax ready and they use front-end frameworks like angularjs or ba

Re: Making sure I'm not missing out on some must have Django apps

2013-12-16 Thread kamagatos
I use all of the above,but additionally I would add to the list django-storages , python_social_auth , registration_with_email(a fork of dja

Re: Django Debug Toolbar 1.0 beta released

2013-12-16 Thread Aymeric Augustin
On 16 déc. 2013, at 12:33, kamagatos wrote: > we should start thinking about a way to catch and display every ajax/json > responses. because more and more applications are becoming ajax ready and > they use front-end frameworks like angularjs or backbone to deal with getting > stuff on the bac

Re: Django Debug Toolbar 1.0 beta released

2013-12-16 Thread Thomas Weholt
I'm especially happy to see support for Python 3. Very nice. On Sun, Dec 15, 2013 at 2:11 PM, Aymeric Augustin < aymeric.augustin.2...@polytechnique.org> wrote: > Hello, > > I'm happy to annonce that we're almost ready to release version 1.0 of the > Debug Toolbar! Now we need your help to try

How to automatically test Django apps

2013-12-16 Thread Michael Herrmann
Hi everyone, I'm working for a startup called BugFree Software. We're launching a new Python product for web automation today and, since you are all doing web development with Python, I wanted to let you know about it. Helium is a library that wraps around Selenium to simplify web automation.

Django Site/Docs/Tutorials translation

2013-12-16 Thread Lucas Infante
Hello guys! Sorry if my question is not being asked in the right place (I hope it is). I am interested in translating Django official site/docs/tutorials into brazilian portuguese. Does anyone know who would I have to contact (to get information on how to do this) or how could I be able to cont

Re: How to automatically test Django apps

2013-12-16 Thread Larry Martell
On Mon, Dec 16, 2013 at 6:37 AM, Michael Herrmann wrote: > Hi everyone, > > I'm working for a startup called BugFree Software. We're launching a new > Python product for web automation today and, since you are all doing web > development with Python, I wanted to let you know about it. > > Helium i

Adding Objects to Query Set

2013-12-16 Thread Vibhu Rishi
Hi I am not able to figure this out. I want to add objects to a query set. I have 2 models : 1. Projects which is basically a list of projects. I have a field which defines the owner of the project. e.g. : class Project(models.Model): ... owner = models.ForeignKey(User) 2. ProjectMember

Re: Adding Objects to Query Set

2013-12-16 Thread Sebastian Morkisch
Hi I am working on the same thing. Same here, one project model, one extended User model. Well, when I printed the request, I got the Usename, which is not an id, but you'd like to compare ids. Is that correct? So perhaps you're closer to a solution, if you have a method like this: def get_que

Re: Adding Objects to Query Set

2013-12-16 Thread Andrew Farrell
It sounds like you just want a set of projects and don't actually need a querySet. You can do this with projects = set( Project.objects.filter(owner=request.user).all() ) member_projects = set( ProjectMember.objects.filter(member = request.user) ) total_projects = set(projects) | set(member_project

Re: Output of form in Extjs

2013-12-16 Thread Sean
Hi JJ, I am very interested in the django form output in ExtJS style, has your code been upload somewhere I can have a look, such as github? Also, my email address is liushu2...@gmail.com Thanks, Sean On Tuesday, 4 September 2012 20:05:01 UTC+1, JJ wrote: > > Hi all, > I created parse django to

Re: Adding Objects to Query Set

2013-12-16 Thread Vibhu Rishi
Hi Sebastian, Not really. I want the list of project objects which is coming ok by filtering on the user object. I checked it from commandline, and I am getting it correctly. The problem is the 2nd table. I want to get the projects from the 1st table when the user is a member as specified in the

Re: Adding Objects to Query Set

2013-12-16 Thread Vibhu Rishi
Hi Andrew, The set seem to add on properly. How do i now access the project detail ? When I try to iterate over it since this set is made of 2 different object types, it fails for one of them. e.g. i have in the project model attribute as 'name' for the project. so when i iterate over the list li

Re: Adding Objects to Query Set

2013-12-16 Thread antialiasis
Rather than fetching ProjectMember.objects.filter(member=request.user), you want to fetch Project.objects.filter(projectmember_set__member=request.user). That will get you Project objects rather than ProjectMember objects. On Monday, December 16, 2013 1:47:13 PM UTC, Vibhu Rishi wrote: > > Hi

Django Tutorial 2 - Start the development server: why I couldn't get the admin’s login screen?

2013-12-16 Thread Yuqi Wang
I think I did every step before this, the tutorial says there should be the admin's login screen (fig 1 below), but the screen I got was the same as it was when no Django project was created (fig.2). I've no idea what went wrong.

Re: Django Tutorial 2 - Start the development server: why I couldn't get the admin’s login screen?

2013-12-16 Thread Thomas Murphy
Have you enabled admin in settings.py? What about setting up the database and creating the initial super user? On Mon, Dec 16, 2013 at 3:42 PM, Yuqi Wang wrote: > I think I did every step before this, the tutorial says there should be > the admin's login screen (fig 1 below), but the screen I

Re: Url logic

2013-12-16 Thread Branko Majic
On Sun, 15 Dec 2013 01:20:17 -0800 (PST) giuliano.bertole...@gmail.com wrote: > > Hello, > > I'm wondering how you would you organize the url layout in a following > scenario > > Suppose I've a table of Authors and for each author a list of books. > A book can have only one author, so I lin

Re: How to automatically test Django apps

2013-12-16 Thread Michael Herrmann
On Monday, December 16, 2013 1:54:01 PM UTC+1, rush wrote: > > > According to http://heliumhq.com/files/helium_license.txt it is not. > > Furthermore it is not free. According to their price page you have to pay > at least 200 euro per year to use it. > We added a Social License yesterday that