Re: 1.4 on git

2012-05-06 Thread Rivsen
Hi Larry, I cloned django and django-old from github, and I found the git index of yours. It's in django-old repo, not in django. So you need clone django-old not django. git clone git://github.com/django/django-old.git cd django-old git checkout -b test -f *6fbf282ac2* * * git log commit

Min requirements for running django?

2012-05-06 Thread Начаров Михаил
Hi, Etienne, I'm using django in my apps about half of a year and deploy some apps already. It's hard to say how much memory you need, because it's really depends of what work you want to do on server-side. If it's only creating a dynamic-pages and filling the database with data coming from

Min requirements for running django?

2012-05-06 Thread Etienne B. Roesch
Hi all, I am investigating hosting solutions for django apps, and would like to query the community on the requirements they have experienced to do so properly. On a machine that would only run django-related processes, how much RAM? Also, any tips on how to best set it up would be much

Generic Views with flair?

2012-05-06 Thread Lachlan Musicman
I've happily worked out how to work @login_required for entries in views.py, but since the latest tutorial (which I followed) recommends moving to the Generic Views my code is now like this: urls.py ... url(r'^people/$', ListView.as_view(

Date format errors and date defaults

2012-05-06 Thread Lachlan Musicman
I'm getting an error I don't quite understand how to solve - despite having USE_L10N = True DATE_FORMAT=('j N, Y') DATE_INPUT_FORMATS=('%d %B %Y') in my settings.py, the SelectDateWidget still renders in Month/Day/ Year order instead of day/month/year? Also, is there a way to set the default

Django Pagination Not Working!

2012-05-06 Thread coded kid
I'm trying to paginate a page in order to display five statuses per page. After inputting these codes, it fails to paginate. Below are the codes for pagination and updating of status in my django app. Views: def qask(request): extra_data_context={} #if there's nothing in

Re: Compare List

2012-05-06 Thread francescortiz
If I am not mistaken, the same way that you would construct a SQL query like SELECT * FROM table1 t1 INNER JOIN table2 t2 ON t2.t1_id = t1.id INNER JOIN table3 t3 on t2.t3_id = t3.id WHERE t3.id = '1' AND t3.id = '2' AND t3.id = '3' AND t3.id = '4' AND t3.id = '5' (many AND t3.id = 'X') you

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-06 Thread Raphael
In German language there is a platform called GULP http://www.gulp.de/ which is doing such data analysis on freelance projects. i am not aware of any similar English one, but i am pretty sure they exist. If not, than an open source version could be an interesting project. On Sun, 2012-05-06 at

Re: 1.4 on git

2012-05-06 Thread Larry Martell
On Sun, May 6, 2012 at 12:54 PM, Ramiro Morales wrote: > You will need to read the Git documentation because we are in Git territory > now. > > )ou got the latest development code by default but remember that when > you clone you get (most of) the development history and it is

Re: 1.4 on git

2012-05-06 Thread Ramiro Morales
You will need to read the Git documentation because we are in Git territory now. )ou got the latest development code by default but remember that when you clone you get (most of) the development history and it is available locally. You need to get a checkout of the commit pointed to by the '1.4'

Crispy form: how to disable/readonyl all fields?

2012-05-06 Thread Paul
I have a model that i would like to create/read/update and delete (CRUD); i'm using generic views (create_update) to do that. Also i'm using crispy forms to do the form (layout) styling icw twitter- bootstrap styling. Now the thing i'm not sure about is how to do the 'read' function. I prefer to

Re: Need Help Converting SQL statement into Django Query Syntax

2012-05-06 Thread Mark Phillips
On Sun, May 6, 2012 at 9:24 AM, Dennis Lee Bieber wrote: > On Sun, 6 May 2012 08:16:02 -0700, Mark Phillips > declaimed the following in > gmane.comp.python.django.user: > > > I have three tables - > > Person: id, first_name, last_name, deleted,

Re: 1.4 on git

2012-05-06 Thread Larry Martell
On Sat, May 5, 2012 at 7:06 PM, Ramiro Morales wrote: > On Sat, May 5, 2012 at 8:42 PM, Larry Martell wrote: >> Last month I set up a system and when I cloned django from git I got >> version 1.4. Now I an setting up another system, and when I clone >>

Re: 1.4 on git

2012-05-06 Thread Larry Martell
On Sat, May 5, 2012 at 9:30 PM, Rivsen wrote: > Simply, you can see what git index in your first system, run "git log" and > remember the first row of commit( need only remember the first six or eight > like this 'commit 42198ad13560c46070223e095f787dff5bd8a918'  ). > > Then

Re: Main app name with a startproject template (1.4)

2012-05-06 Thread Dominique Guardiola Falco
Ok Ramiro While looking to explain it clearer, I isolated the problem : I'm calling an online gzipped template (from a github repo actually), and the problem is the final output of the startproject command , example here to create a "pony" project : $ django-admin.py startproject

Need Help Converting SQL statement into Django Query Syntax

2012-05-06 Thread Mark Phillips
I have three tables - Person: id, first_name, last_name, deleted, last_update Email: id, email_address, email_type Person_Email: id, person_id, email_id, primary_email I want to create a view that returns the result of this query as a jason object: select person.id, first_name, last_name,

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-06 Thread Caio Oliveira
I know that, thats why it would be an interesting project involving data analysis. And I'm sure that, if you manage to do it as an open source, it'd have a lot of interested people from data mining fields ready to join the project, as many of them use Python and it's libraries. 2012/5/6 Raphael

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-06 Thread Raphael
Hello Caio, yes this could be nice, but in the end the statistics are in the need of a more powerful interpretion than simple math could do it. Contribution-Link: http://develissimo.com/forum/topic/107887/ regards, Raphael On Sun, 2012-05-06 at 06:30 -0700, Caio Oliveira wrote: > Nice work!

Re: Main app name with a startproject template (1.4)

2012-05-06 Thread Ramiro Morales
On Sat, May 5, 2012 at 4:27 AM, Dominique Guardiola Falco wrote: > I have a template project I want to use to ease deployment of instances of a > rather complex app > > In the example source of django, the name of the "main app" folder, just > above the root project

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-06 Thread Caio Oliveira
Nice work! Wouldn't be nice to do an automatic statistic generation? Like a website with a form, that anyone could just input the data and it'd automatically update the statistics. Em quinta-feira, 26 de abril de 2012 10h31min56s UTC-3, Raphael escreveu: > > > *Hello djangos,* > > I have

Re: Altering object order in formsets with can_order

2012-05-06 Thread Boris Shemigon
The best I've found is this . On Wednesday, May 5, 2010 11:56:02 PM UTC+7, palmeida wrote: > > Hi, > > I'm having a hard time grasping the concept of the can_order argument, > when creating formsets. Once objects are created and saved through the >

django-ical - iCalendar generation

2012-05-06 Thread Ian Lewis
Hey all, I just released a simple library for generating iCalendar feeds based on the syndication framework. For folks familiar with the syndication framework and how it works you should be able to get up and running with django-ical pretty quickly. Most people seem to be doing iCalendar feeds