Re: Django's DecimalField represenation in admin as 0,00 values

2012-05-03 Thread jrief
Internally a price is always handled and stored as 0.00. Thats the way software and databases work. What you can do is to change the representation of your Decimal in your frontend and backend. In Django, changing this in the frontend its easy, just add USE_L10N = True to your settings.py and

Re: Dojo Rich Editor Implementation in Admin.py

2012-05-03 Thread Gchorn
So after doing some more research and playing around with the settings, I want to post an updated version of my question. Here it is. I'm building a blog, with models "Post" and "Image" like so: class Post(models.Model): title = models.CharField(max_length=1000) author =

Re: Server error caused by too many database look-ups

2012-05-03 Thread koenb
You should use DEBUG=True in your development settings, so you get a proper traceback of what is going on. As far as I can see, you do have syntax errors in your models.py file (eg line 266). You should fix them first. As a side note, your unicode methods are not all correct, some of them are

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

2012-05-03 Thread Raphael
Hello Kurtis, thank you for letting is know about C. Lemmings post, we are going to use all the information we are able to grab. Got project data via email - but anyway till now its far not enough. http://develissimo.com/forum/topic/107887/ Kind regards, Raphael On Tue, 2012-05-01 at 10:44

Re: Problemas con syncdb

2012-05-03 Thread webipy
@Ivo Marcelo Leonardi Zaniolo Where have you created or put your database file while using 1.4 version , because I too have got this error and have been struggling to run it :( but now reverted to 1.3 and it works. -- View this message in context:

404 Issues

2012-05-03 Thread James Hargreaves
Hello, I have created a website using Django CMS: http://www.trailer-traders.co.uk When I visit a URL on this site that does not exist in Django CMS I get a 500 error - eg: http://www.trailer-traders.co.uk/xxx I was expecting a 404 error. Before you say it I don't think this is caused by

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

2012-05-03 Thread Cal Leeming [Simplicity Media Ltd]
Hi, Just my two cents worth on this (albeit slightly off topic) - it's not all about technical ability or the industry you are working in. Most clients are willing to pay that extra premium for contractors who are able to manage expectations and go above and beyond. I've seen many great

Re: i18n - local translation does not show up - bug

2012-05-03 Thread kenneth gonsalves
On Wed, 2012-05-02 at 10:53 -0300, Ramiro Morales wrote: > > I want two languages in my project - en and ta. I have set this up > in > > many projects over the years and this is the first time I am seeing > > failure. The problem is that on switching to tamil, the django > strings > > are getting

Satchmo product model ER graph?

2012-05-03 Thread kooliah
I need to import an already running database into a satchmo store. I started to make an ER graph, as a reference for the fields mapping, by myself, but if someone had already done it, i'd like to save time. Thanks to all Kooliah -- You received this message because you are subscribed to the

Re: Satchmo product model ER graph?

2012-05-03 Thread Guddu
You could use something like ER Master http://ermaster.sourceforge.net/ or Aqua Studio to generate the Graph. On May 3, 8:42 am, kooliah wrote: > I need to import an already running database into a satchmo store. > I started to make an ER graph, as a

Re: i18n - local translation does not show up - bug

2012-05-03 Thread Ramiro Morales
On Thu, May 3, 2012 at 9:17 AM, kenneth gonsalves wrote: > > I had gone through the docs and added the LOCALE_PATHS setting - but it > just does not work - have tried on fedora, debian, ubuntu ... Good to know that, I couldn't infer that from your initial email. It'd be

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

2012-05-03 Thread Daniel Sokolowski
Did the math here and that works out to about $2700/month. I would say that would be the bare minimum considering my NOT lavish life style - family, house, car etc. Furthermore these 'charlatans' driving the price up is a GREAT thing because talent and skill is not cheap - these people know

Re: Satchmo product model ER graph?

2012-05-03 Thread Daniel Sokolowski
django_extensions app has a model graphing option I used successfully in the past - https://github.com/django-extensions/django-extensions Example output I found http://brianglass.files.wordpress.com/2009/11/sheepology.png On 03/05/2012 09:04, Guddu wrote: You could use something like ER

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

2012-05-03 Thread Marcin Tustin
This. Too many creative professionals sell themselves short, and so drive down the going rate for all of us. On Thu, May 3, 2012 at 2:47 PM, Daniel Sokolowski wrote: > Did the math here and that works out to about $2700/month. I would say > that would be the bare minimum

404 errors reported as 500 errors

2012-05-03 Thread James Hargreaves
Hello, I have created a website using Django CMS: http://www.trailer-traders.co.uk When I visit a URL on this site that does not exist in Django CMS I get a 500 error - eg: http://www.trailer-traders.co.uk/xxx I was expecting a 404 error. Before you say it I don't think this is caused by

Re: Problemas con syncdb

2012-05-03 Thread Joel Goldstick
On Wed, May 2, 2012 at 7:23 PM, webipy wrote: > @Ivo Marcelo Leonardi Zaniolo > > Where have you created or put your database file while using 1.4 version , > because I too have got this error and have been struggling to run it :( but > now reverted to 1.3 and it works. > > --

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

2012-05-03 Thread Cal Leeming [Simplicity Media Ltd]
On Thu, May 3, 2012 at 2:47 PM, Daniel Sokolowski wrote: > Did the math here and that works out to about $2700/month. I would say > that would be the bare minimum considering my NOT lavish life style - > family, house, car etc. > It completely depends on the cost of living

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

2012-05-03 Thread Raphael
I agree very much with Daniel. And Cal is right £1700/month (which is approximately ~2100EUR and ~2750USD) really is a good starting goal for a (web) developer (AFTER tax!!!). The problem is a lot of us (developers) - we are very poor business economics. And why? Well this is simple: we spend our

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

2012-05-03 Thread Daniel Sokolowski
>>A plumber is mostly manual labour which will take a toll on the body over the >>years. >>I've seen quite a few people making these comparisons to manual labour jobs >>and, in my opinion, they are completely irrelevant. >>A plumber also has travel costs, fuel, cost in lost time travelling,

Denver Django users

2012-05-03 Thread Brian Rosner
Those of you who are in the Denver area and interested in talking about Django with other Django users should check out http://www.meetup.com/denver-django. I started the group up because I love Django and would love to talk with others who love it too in Denver. If you have any questions

admin.ModelAdmin - Recycling TabularInline requires backward foreign key?

2012-05-03 Thread mcJack
Hi all, I try to build a django powered web application which deals with several entities in the database. There is one table - call it A -, which is referenced from several other tables via ForeignKey "fields". I managed to show the content of the referenced table as an inline, but as soon as i

jquery form post without refresh the page

2012-05-03 Thread Min Hong Tan
is there any sample that i can refer to do the ajax style form post without refresh the whole page? or backend form.save validation without refresh my form? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: 'ascii' codec can't encode characters in position 36-38: ordinal not in range(128)

2012-05-03 Thread Bill Freeman
On 5/2/12, Bastian wrote: > This happens when trying to upload a file with a filename that is not in > ascii. In this case I tried éè´´çoöp_iI$.jpg. The strange thing is that > firefox uploads it but chrome gets the error! > I know this has been discussed already

Re: [help] Server Config: django + uwsgi + nginx

2012-05-03 Thread Kurtis Mullins
Hey, I'm glad to hear you got it working! If you run into any more problems, don't hesitate to ask. On Wed, May 2, 2012 at 1:31 AM, easypie wrote: > Thanks. I was missing the virtualenv= mentions earlier. I'm glad I > know this those settings are meant for development

Re: jquery form post without refresh the page

2012-05-03 Thread Bill Freeman
AJAX You may require a separate view, but maybe not. If you search for jQuery and AJAX there should be samples. On 5/3/12, Min Hong Tan wrote: > is there any sample that i can refer to do the ajax style form post > without refresh the whole page? > or backend form.save

Dajaxice is not defined!!! please heelpppp!! :(

2012-05-03 Thread doniyor
Hi There, i need really your help i have been having this problem since 3 days.. it is really annoying me, i dont know why it is happening. The Problem is: i am trying to use dajax in my page and i followed all steps several times as given hier: http://dajaxproject.com/ but once i click

Re: Access specific ModelForm field option within array of ModelForms for use with .js

2012-05-03 Thread Kurtis Mullins
You could do something along these lines: {% for field in form %} ... {% ifequal field form.someSpecificField %} > {{ form }} > > {% endfor %} > > Previously I have accessed certain ModelForms using {% if forloop.counter > == # %} to add some customization. > > However, now I would like more

Re: jquery form post without refresh the page

2012-05-03 Thread Kurtis Mullins
Here's something I do. I have a page where I include {% csrf_token %} and another field. Then I do a simple JQuery .post() call. Note, I've tried to pull out a bunch of stuff that isn't specific to the call. It's untested in this form but should work. I tried to include comments to help you

Re: DeleteView example with template

2012-05-03 Thread Steve Kilbane
On Apr 27, 9:17 am, Ejah wrote: > You might want to take a look at godjango.com for some nice short > intro videos on generic class based views, and the source code. As it happens, the godjango videos didn't cover the templates, but they did provide some clues - enough

Re: Need help

2012-05-03 Thread Kurtis Mullins
Your Database may very well be setup to Authenticate the Accessing User on 127.0.0.1 and not 'localhost' (or vice-versa). This would be setup in the database when setting credentials for a user, in the case with MySQL. On Wed, May 2, 2012 at 9:52 PM, Peter of the Norse <

Re: Short I hope explanation

2012-05-03 Thread Steve Kilbane
Hi Jerry. Not specifically related to queried result sets, but I've been struggling with class-based generic views (I assume that's what you're referring to), and I've posted some code in that thread, here: http://groups.google.com/group/django-users/browse_thread/thread/ccd74d137068193e steve

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

2012-05-03 Thread Kurtis Mullins
Another variable in the equation is that independent developers do not have a guaranteed job every day. You have to compensate for that difference. So, for example, if I were to take on a project that might last two weeks -- I need to make up that other two weeks unless I have another job waiting

Re: Short I hope explanation

2012-05-03 Thread Gerald Klein
Good pick on the book, thanks. It is a lot more like what people need to pick something up. thanks --jerry On Wed, May 2, 2012 at 11:35 AM, Joel Goldstick wrote: > On Wed, May 2, 2012 at 11:50 AM, Gerald Klein wrote: > > Hi, I have been through a

users and groups management without admin site??

2012-05-03 Thread William Ibarra Rodriguez
i've working in a django project and i need to know a way to manage users and groups without using the admin site. my django version is 1.3.1 .. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Short I hope explanation

2012-05-03 Thread Kurtis Mullins
When I first dove into Django, everything was confusing. I can't say I ever used the book because I wanted to use class-based-views immediately (was recommended in IRC). They were confusing as could be, I constantly needed hand-holding, etc... Eventually, I started to understand things a bit

Re: users and groups management without admin site??

2012-05-03 Thread Kurtis Mullins
It might help to get a little bit more information. Do you want to programmatically manage them to use in another application (or though the command-line), do you want a web-based interface, etc...? On Thu, May 3, 2012 at 3:34 PM, William Ibarra Rodriguez < legolas...@gmail.com> wrote: > i've

Instalación en centOs 6.2

2012-05-03 Thread Segundo Acosta Delgado
Como es la instalación en centOS 6.2 de 64 bits -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/mY7Oq0Q-tO4J. To post to this group, send email to

Validation error by working with inline formset

2012-05-03 Thread William Ibarra Rodriguez
In my django project I've working with inline formset factory to join two forms, so when i try to edit the main form this error happens ValidationError at /catalogo/editar/articulo/3/ [u'ManagementForm data is missing or has been tampered with'] my models.py is: class Articulo(models.Model):

Re: Dajaxice is not defined!!! please heelpppp!! :(

2012-05-03 Thread doniyor
hey, i did what you told me. i put the dajaxice.core.js in one nude html file, where i dont have other js files almost, then i opened the js console and i have done the input "Dajaxice", then it stil says there, ReferenceError: Dajaxice is not defined Dajaxice look, i hope,

Re: users and groups management without admin site??

2012-05-03 Thread William Ibarra Rodriguez
i need manage the users and groups in the same way that admin site does, but i won't use the admin site, i need web-based interface inside my project to do that. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Short I hope explanation

2012-05-03 Thread Gerald Klein
Thanks for shout out. And I will move on to them, but I like to understand things the hard way first. I think it gives a strong foundation when you finally do move on to the time saver things. The thing is as I understand it, is that there are times that you will need to do things long hand. I

Re: Dajaxice is not defined!!! please heelpppp!! :(

2012-05-03 Thread Kurtis
Hmm, Yeah I'm not sure why their object isn't loading. I haven't used Dajaxice, myself. Anyways, I posted an easy solution to performing JQuery AJAX POSTs in another thread. I'm hoping this link will work. https://groups.google.com/forum/?hl=en#!topic/django-users/xBgm4p1COAA In the

Re: users and groups management without admin site??

2012-05-03 Thread Kurtis Mullins
Awesome. Well, I'm not sure how familiar you are with Django but I'd just create views for the different functionality (for example, creating a new user). There's nothing the admin does that you can't do yourself. If you run into a specific problem, feel free to ask! On Thu, May 3, 2012 at 4:10

Re: 404 errors reported as 500 errors

2012-05-03 Thread Kurtis Mullins
Are those symlinks? It might be worth seeing if that's part of the problem (although doubtful that it would be). If that's not the problem, does Django-CMS have its own specialized 404 handling? I've never used it but it's a couple of ideas to try out. On Thu, May 3, 2012 at 10:03 AM, James

Re: [help] Server Config: django + uwsgi + nginx

2012-05-03 Thread easypie
I'm not sure if I should post this in this thread of mine or start new one. But it's still about the config files. After getting uwsgi to work. I tried to link nginx w/ it but that didn't work. I go to localhost:80 and that takes me to the welcome page: "Welcome to Nginx!". When I go to

Re: Access specific ModelForm field option within array of ModelForms for use with .js

2012-05-03 Thread jondykeman
You're right! Thank you. I have a custom template filter in the app to format the radio options a certain way and I can just add this in to pick out the ones needing the additional onChange. JD On Tuesday, May 1, 2012 9:27:01 PM UTC-6, jondykeman wrote: > > Hello, > > I have the following

Re: [help] Server Config: django + uwsgi + nginx

2012-05-03 Thread Karl Sutt
Have you symlinked /etc/nginx/sites-available/mysite.comto /etc/nginx/sites-enabled/ mysite.com ? Karl Sutt On Thu, May 3, 2012 at 10:23 PM, easypie wrote: > I'm not sure if I should post this in this thread of mine or start new > one. But it's still about the config

Re: 404 errors reported as 500 errors

2012-05-03 Thread James Hargreaves
Thanks for your reply Kurtis. They are sym-links. I have tried with a plain HTML file too but to no avail. So far as I know when Django CMS cannot match the URL it throws an Http404 error as you would expect. Indeed that is what I am seeing when I set DEBUG = True in settings. I assume that

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

2012-05-03 Thread Raphael
I already like the discussion and I think over time we really will be able to grab some useful data. @ Kurtis "As for the $2800/month being a great starting wage for a web developer -- I sure hope they don't have kids :)" Well Kurtis, now we are at the region specific details. 2800$/month in

help with "Key 'timeout' not found in "

2012-05-03 Thread psychok7
hi i have done a succefull query and i converted the results into links so i can make a post by clicking on the links to make a reservation. my problem is, theres a variable timeout that i want to specify manually, but i get a "Key 'timeout' not found in " i know i am supposed to pass that

Re: [help] Server Config: django + uwsgi + nginx

2012-05-03 Thread easypie
yes. i believe it's 'ln -s /etc/nginx/sites-available/mysite.com /etc/nginx/sites-enabled/mysite.com' On Thursday, May 3, 2012 2:40:35 PM UTC-7, Karl Sutt wrote: > > Have you symlinked /etc/nginx/sites-available/mysite.comto > /etc/nginx/sites-enabled/ > mysite.com ? > > Karl Sutt > > > On Thu,

Re: help with "Key 'timeout' not found in "

2012-05-03 Thread Kurtis Mullins
Can we see what your "Reservation" model looks like? Specifically, that 'timeout' field? On Thu, May 3, 2012 at 6:22 PM, psychok7 wrote: > hi i have done a succefull query and i converted the results into links so > i can make a post by clicking on the links to make a

Re: users and groups management without admin site??

2012-05-03 Thread William Ibarra Rodriguez
maybe using django.contrib.admin or django.contrib.auth i can do that, but i don´t have any start point, so if have any thought please share it. i want to use the options that django provide(for example the password_change and the login or logout),i dont want to rewrite code because i don´t have

Re: help with "Key 'timeout' not found in "

2012-05-03 Thread psychok7
timeout field is just an INTEGER.. just saying the amount of time the space will be reserved. class Reservation(models.Model):user = models.ForeignKey(User)park = models.ForeignKey(Park)notification = models.ForeignKey(Notification) timeout = models.IntegerField()active

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

2012-05-03 Thread Mike Dewhirst
I don't know what the entry level contracting rate is in Australia but I would guess AUD$4,000 per month pre-tax. Competent developers can usually get $6k to $8k per month or more if they do short term contracting. That is expensive and hurts startups unless sweat-equity is involved. Mike On

RE: help with "Key 'timeout' not found in "

2012-05-03 Thread Kurtis Mullins
ahh, okay. Let’s try another approach to see if you can nail down that error. I’m not sure why it’s not working. def reserve(request, park_id): # Get the User # This is different than the method you’re using # but I think it may be what you want. user = self.request.user #

Why does django use mysqldb over mysql-connector?

2012-05-03 Thread john2095
I've just been through a slice of hell simply because I did not want to install mysql-server on my (osx) django development machine - my app connects to a remote mysql database. It turns out that python's "mysqldb" depends on mysql binaries which are only packaged up with the server release.

Re: Why does django use mysqldb over mysql-connector?

2012-05-03 Thread Steve McConville
> Has this happened by default or by design?  Is mysqldb really that much > faster, or featureful, or just because it's more common? >From http://forge.mysql.com/projects/project.php?id=302 "Development Status: Early (Pre-Alpha)" -- steve -- You received this message because you are

Git migration

2012-05-03 Thread Stanwin Siow
Hello there, Just wanted to enquire about a project that i have been working on. It was previously hosted on an svn repository however my supervisor then decided to migrate it to GIT. my question here would be do i need to reinstall the external modules that i used in my django project like

Re: Git migration

2012-05-03 Thread Larry Martell
On Thu, May 3, 2012 at 9:42 PM, Stanwin Siow wrote: > Hello there, > > Just wanted to enquire about a project that i have been working on. > > It was previously hosted on an svn repository however my supervisor then > decided to migrate it to GIT. > > my question here

Re: Git migration

2012-05-03 Thread Eugenio Minardi
Hi, It is more than one year I am using GIT with Django and there are no problems, just make sure that the statics stays out of the repository and that into the .gitignore file there are no required path or extensions Eugenio Il giorno 04/mag/2012 05:55, "Larry Martell"

Re: Why does django use mysqldb over mysql-connector?

2012-05-03 Thread john2095
Yes, that's the pure python adapter I'm talking about. I think that's effectively the same as this one. Nice link but I'm not sure if you're suggesting that as additional information or an answer? The question remains is a compelling reason