Re: 1.4 on git

2012-05-05 Thread Rivsen
If you want save this git index in a new branch, you can run 'git checkout -b -f *42198ad1*', then you will get a new branch with * 42198ad1* index. Best regards, Rivsen 2012/5/6 Rivsen > Simply, you can see what git index in your first system, run "git log" and > remember the first row of co

Re: 1.4 on git

2012-05-05 Thread Rivsen
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 *42198ad1*3560c46070223e095f787dff5bd8a918' ). Then checkout this commit in your second system, run 'git checkout *42198ad1 *' a

Re: SATCHMO - Brand vs Brand category - difference

2012-05-05 Thread Mark Phillips
Not sure about satchmo, but a brand would be intel, and a brand category would be microprocessor. Mark On May 5, 2012 10:24 AM, "kooliah" wrote: > I'm not english mother language, so I can't understand the difference from > brand and brand category, i googled very much but i can't find a clear >

Re: 1.4 on git

2012-05-05 Thread Ramiro Morales
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 > django from git I get 1.5, and my app is failing. How I can get 1.4? I > see a django-nonrel / django-1.

1.4 on git

2012-05-05 Thread Larry Martell
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 django from git I get 1.5, and my app is failing. How I can get 1.4? I see a django-nonrel / django-1.4 but it says "Work in progress 1.4 port, DON'T USE" -- You

Need local engineering support

2012-05-05 Thread Jerry Snee
We are in the process of updating our website, that is currently fully integrated with Google Checkout. We also need to immediately integrate another internally written application, built on Django, directly with Google Checkout. I would like to find someone who is certifiably qualified and ideal

Re: How to serve staticfiles with full URL for local development?

2012-05-05 Thread Reinout van Rees
On 05-05-12 15:34, e.generalov wrote: There was a snippet to display a content of response in browser during debugginghttp://miniblog.glezos.com/post/3388080372/tests-browser . "One of the first issues you might face is seeing a style-less page. This happens becuase the test server isn’t really

Re: template logic vs AJAX newbie seeks advice

2012-05-05 Thread Reinout van Rees
On 05-05-12 22:34, M Hussain wrote: I think I'm in the same situation of considering Django for developing a webapp or knowing Django features to develop UI. Is that possible to develop UI like a desktop application, features like, tab, Buttons, Checkboxes, lists, ploting graphs based on the data

Re: template logic vs AJAX newbie seeks advice

2012-05-05 Thread M Hussain
I think I'm in the same situation of considering Django for developing a webapp or knowing Django features to develop UI. Is that possible to develop UI like a desktop application, features like, tab, Buttons, Checkboxes, lists, ploting graphs based on the data read from DB. Please do suggest in t

Re: jquery form post without refresh the page

2012-05-05 Thread Min Hong Tan
i think i use .bind() instead of .live. because .live will add the event everytimes it .html again. Thanks On Sat, May 5, 2012 at 2:22 PM, Min Hong Tan wrote: > seems like .html has another problem. it will duplicate itself (even not > seen in the screen). > but it did post Number of times whe

Re: jquery form post without refresh the page

2012-05-05 Thread Min Hong Tan
seems like .html has another problem. it will duplicate itself (even not seen in the screen). but it did post Number of times when i submit the form. still need to struggling..bugs still exist.. On Sat, May 5, 2012 at 2:17 PM, Min Hong Tan wrote: > hi Oscar, > > I think maybe it over some ajax

Re: jquery form post without refresh the page

2012-05-05 Thread Min Hong Tan
hi Oscar, I think maybe it over some ajaxsetup({cache:false}) prevention when doing replaceWith. I have solve the problem by using ".html" instead of ".replaceWith". Thank you for your help. very appreciate it . Regards, MH On Sat, May 5, 2012 at 2:01 PM, Oscar Mederos wrote: > Hello Min, >

Re: jquery form post without refresh the page

2012-05-05 Thread Oscar Mederos
Hello Min, On Saturday, May 5, 2012, 1:36:24 PM, you wrote: > hi oscar, > it works, but the problem in jquery load didn't refresh the page after I have > loaded. > it will always use the outdated html. I have tried to use ajaxsetup > cache:false etc. > but seems like once it loaded. if form

Re: UpdateView issue

2012-05-05 Thread Kurtis Mullins
hmm, are you supplying the user's pk to the UpdateView? On Fri, May 4, 2012 at 11:24 PM, William Ibarra Rodriguez < legolas...@gmail.com> wrote: > i made it but isn't solved, maybe i need to override another function > in the class UpdateUserView? > > -- > You received this message because you ar

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

2012-05-05 Thread Cal Leeming [Simplicity Media Ltd]
Programmer* On Sat, May 5, 2012 at 8:22 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Good point - I'd still rather be a programming than a plumber though! > > > On Sat, May 5, 2012 at 6:02 PM, Andy McKay wrote: > >> > A plumber is mostly manual labor wh

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

2012-05-05 Thread Cal Leeming [Simplicity Media Ltd]
Good point - I'd still rather be a programming than a plumber though! On Sat, May 5, 2012 at 6:02 PM, Andy McKay wrote: > > A plumber is mostly manual labor which will take a toll on the body over > the > > years. > > Programming too takes its toll on the body over time (make sure you > have a n

Re: template logic vs AJAX newbie seeks advice

2012-05-05 Thread Reinout van Rees
On 04-05-12 19:15, Etienne B. Roesch wrote: Thanks for the link to your post Reinout! So, have you made a decision about the way to go for your application? For the near future we're sticking with templates, but with javascript for the spots where we need it (we'll use backbone to clean up on

Compare List

2012-05-05 Thread Adriano Costa dos Reis
Hey guys, I'm having a problem that I don't know if there is any feature that I can use to filter a list in django. What I'm trying to do is to use a manual get_or_create. I have the following models: class STREAM(models.Model): stream_inds = models.ManyToManyField('STREAM_Ind') Typ

Re: Displaying markdown in html

2012-05-05 Thread Emily
Thank so much it worked. Emily On Friday, May 4, 2012, creecode wrote: > Hello Emily, > > This is not a direct answer to your question. It looks like Tom has your > answer. You will most likely want to move the {% load markup %} to near to > top of your template. Generally loads only needs to

How to serve staticfiles with full URL for local development?

2012-05-05 Thread e.generalov
There was a snippet to display a content of response in browser during debugging http://miniblog.glezos.com/post/3388080372/tests-browser . "One of the first issues you might face is seeing a style-less page. This happens becuase the test server isn’t really a web server, and you’re probably serv

Re: How to fill up the field with ForeignKey type (rendered by django Forms)

2012-05-05 Thread Dominis13
Thx for answer. I will can try it only at after few days, so cant instantly say solve it my needs or not. I look over link you get me, think it one i needed. /Dominis Dominis, you need to override the rendering of this field, to mek it a hidden field look at the answer of this question to hav

Re: jquery form post without refresh the page

2012-05-05 Thread Min Hong Tan
hi oscar, it works, but the problem in jquery load didn't refresh the page after I have loaded. it will always use the outdated html. I have tried to use ajaxsetup cache:false etc. but seems like once it loaded. if form return validation error, even we have close and call jquery load again. it wi

SATCHMO - Brand vs Brand category - difference

2012-05-05 Thread kooliah
I'm not english mother language, so I can't understand the difference from brand and brand category, i googled very much but i can't find a clear example. Can anyone make me a simple real example (shoes, books, hardware, wathever) of a product with brand and brand category, by words not by cod

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

2012-05-05 Thread Andy McKay
> A plumber is mostly manual labor which will take a toll on the body over the > years. Programming too takes its toll on the body over time (make sure you have a nice ergonomic setup). The relentless march of technology means that the length of a programmers career is shorter than many jobs, incl

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

2012-05-05 Thread Raphael
But don't forget => do not do your job too professional, keep in mind there should be some work left in the future ;-) Just kidding... I think another source of low developer-income (and there are multiples reasons) lies a bit in another way. Non IT people often do not know - that its quite a lot

models.py, xmlrpc, auth

2012-05-05 Thread .
Hi there, 1. There is a class in models.py which is a subclass of User. It should deal with non-human users. I want to override several User's methods to extend a procedure of an authentication for my class. What should I override? Should I override User's check_password? 2. I've been told that t

Re: How to fill up the field with ForeignKey type (rendered by django Forms)

2012-05-05 Thread Dominique Guardiola Falco
Dominis, you need to override the rendering of this field, to mek it a hidden field look at the answer of this question to have a good code example : http://stackoverflow.com/questions/621212/another-django-forms-foreign-key-in-hidden-field -- You received this message because you are subscrib

Passing template_context vars to the starproject command

2012-05-05 Thread Dominique Guardiola Falco
I have a working project template that I can use with the new "--template" option of the startproject management command Now Iwanted to pass more variables in the template_context, and the doc [1] says : The template context

How to fill up the field with ForeignKey type (rendered by django Forms)

2012-05-05 Thread domini...@yandex.ru
Hi, all. i am writing here first time, cause sorry if i make a mistake somwhere. As well, english not my mother language, so sorry me again. :) I am starter user of django, and i cant understand how to make one feature... now try to explain what i need. I have a model of data named as "Company In

Re: Tools for extending the admin?

2012-05-05 Thread Andy Baker
There's loads of interesting admin-related code on djangosnippets. -- 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/-/iunDY_f8tHUJ. To post to this group, send

Re: ajax call says: "NetworkError: 500 INTERNAL SERVER ERROR - http://127.0.0.1:8000/ajax/"

2012-05-05 Thread doniyor
great, thanks man. i didnot see it. Am Samstag, 5. Mai 2012 09:50:37 UTC+2 schrieb Alexandr Aibulatov: > > Your view should return an HttpResponse Object. Your view prints > 'test' and returns NoneType Object. > Yours view should be like this: > > from django.http import HttpResponse > > d

Re: ajax call says: "NetworkError: 500 INTERNAL SERVER ERROR - http://127.0.0.1:8000/ajax/"

2012-05-05 Thread Alexandr Aibulatov
Your view should return an HttpResponse Object. Your view prints 'test' and returns NoneType Object. Yours view should be like this: from django.http import HttpResponse def ajax(request): return HttpResponse('test', mimetype="text/plain") 2012/5/5 doniyor : > hi there, > i have a small pr

ajax call says: "NetworkError: 500 INTERNAL SERVER ERROR - http://127.0.0.1:8000/ajax/"

2012-05-05 Thread doniyor
hi there, i have a small problem. i googled a lot, but couldnot find anything which helps me. i have $.ajax call and before that i have included the js file where i have that csrf-protection code from djangodocs. here is my ajax call: http://dpaste.com/hold/743156/ but once i click on the e

Main app name with a startproject template (1.4)

2012-05-05 Thread Dominique Guardiola Falco
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 folder is named "project_name" and when the command is used, the name is replaced by the project name.