Re: How to integrate django forms with django.

2011-12-16 Thread Praveen Krishna R
*Integrating jQuery and jQuery UI have nothing to do with django, that means you don't write anything in django to get it working. They will be considered as static files, they will be included in your html templates as usual. * * * *If you know how to include jQuery and jQueryUI into an html file,

Re: Website Documentation Search broken?

2011-12-16 Thread kenneth gonsalves
On Thu, 2011-12-15 at 08:30 -0600, Jacob Kaplan-Moss wrote: > On Wed, Dec 14, 2011 at 8:36 PM, kenneth gonsalves > wrote: > > it is using the default sphinx search which is limited to one word > > searches. > > That's true of the documentation you build locally, but the search on > docs.djangopro

Re: Creating websites like Amazon/Ebay using Django

2011-12-16 Thread Alec Taylor
I'm great at design, at the level of i.e. Balsamiq Mockups. It just takes me too long to build it from scratch in CSS+HTML+JS to get from wireframe to proper design. I am building it from satchmo as base, but am looking for other libraries to integrate in order to be DRY-er. Reuse FTW! But I th

GMail/Hotmail style checkbox drag-and-drop for Satchmo product groups

2011-12-16 Thread Alec Taylor
Good afternoon, I am considering building a GMail/Hotmail style checkbox drag-and-drop for Satchmo product groups. e.g.: http://i42.tinypic.com/110kwfk.png What do you think of this design? How would I go about building this in Satchmo? Thanks for all suggestions, Alec Taylor FYI: I'd be hap

Re: How to integrate django forms with django.

2011-12-16 Thread Ganesh Kumar
Sorry typo How to integrate django forms with jquery Did I learn something today? If not, I wasted it. On Sat, Dec 17, 2011 at 10:39 AM, Ganesh Kumar wrote: > Hi guys, > > I am beginner of django, I have created django from, How to add with > jquery and jqueryUI stuff, to my from , please gui

How to integrate django forms with django.

2011-12-16 Thread Ganesh Kumar
Hi guys, I am beginner of django, I have created django from, How to add with jquery and jqueryUI stuff, to my from , please guide me. -Ganesh. Did I learn something today? If not, I wasted it. -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Successful login to go back to the page login was initiated from

2011-12-16 Thread Furbee
Thanks for sharing the answer, I was sort of wanting to figure this out long term, just haven't gotten to it, yet. Furbee On Fri, Dec 16, 2011 at 4:33 PM, bazaarsoft wrote: > Never mind, found the answer: > > http://efreedom.com/Question/1-806835/Django-Redirect-Previous-Page-Login > > My Googl

Re: Successful login to go back to the page login was initiated from

2011-12-16 Thread bazaarsoft
Never mind, found the answer: http://efreedom.com/Question/1-806835/Django-Redirect-Previous-Page-Login My Google-fu must be off today. On Dec 16, 6:00 pm, bazaarsoft wrote: > I have what appears to be an odd case - I have a login link on a bunch > of pages (logout if you're already logged in).

Successful login to go back to the page login was initiated from

2011-12-16 Thread bazaarsoft
I have what appears to be an odd case - I have a login link on a bunch of pages (logout if you're already logged in). What I want is to use the built-in contrib.auth stuff to handle the login, but I want it to take me back to the originating page once the user gets logged in correctly. Unfortunatel

Duplicate translation strings in project/app1/locale and project/locale

2011-12-16 Thread Stodge
I'm reworking my translations, but I'm having a problem with duplicate strings. I'm running make messages in the project directory and also in each applications's directory, I'm seeing strings used in an application (found in project/app1/locale) duplicated in project/ locale. This seems counter in

Re: Django + ajax waiting page, can not redirect to result page

2011-12-16 Thread yun li
thanks for Denis' suggestion, I can see errors now. looks like there is an AttributeError. here is the error information: ### AttributeError at /run_DHM 'dict' object has no attribute 'status_code' Request Method: GET Request URL:http://127.0.0.1:8000/

Problem re-creating SQLite database with manage.py...

2011-12-16 Thread J. Marc Edwards
I'm trying to re-create my SQLite database from scratch. I am now receiving the following error message from: *(foobarr)jmarcedwards@jmelinux:~/git/django-nimbis/projects/dev$ python ./manage.py syncdb Syncing... Traceback (most recent call last): File "./manage.py", line 11, in execute_ma

Re: Confused by STATICFILES_DIRS not working

2011-12-16 Thread Jeff Blaine
On Friday, December 16, 2011 11:18:09 AM UTC-5, Tom Evans wrote: > > On Fri, Dec 16, 2011 at 4:17 PM, Tom Evans wrote: > > > > 1) Is staticfiles in INSTALLED_APPS ? > Yes, django.contrib.staticfiles is in INSTALLED_APPS > > 2) Is DEBUG=True? > Yes > > 3) What is the output of: > > python

Re: Django + ajax waiting page, can not redirect to result page

2011-12-16 Thread yun li
I will try it 在 2011年12月16日 上午12:25,Denis Darii 写道: > You can view your js errors by pressing CTRL+SWIFT+J in Firefox but i > highly recommend you to install Firebug addon which allow you to view also > the received data from your ajax request. > > > On Fri, Dec 16, 2011 at 5:24 AM, yun li wrote

Re: Confused by STATICFILES_DIRS not working

2011-12-16 Thread Ivo Brodien
Hi, I am not trying to understand what you did but just tell you how t works for me: PROJECT_PATH = os.path.realpath(os.path.dirname(__file__)) STATIC_ROOT = os.path.join(PROJECT_PATH, 'static') STATIC_URL = '/static/‘ INSTALLED_APPS = ( ... 'django.contrib.staticfiles’, ) I have no STATIC

Re: Confused by STATICFILES_DIRS not working

2011-12-16 Thread Tom Evans
On Fri, Dec 16, 2011 at 4:17 PM, Tom Evans wrote: > > 1) Is staticfiles in INSTALLED_APPS ? > 2) Is DEBUG=True? > 3) What is the output of: >  python manage.py findstatic bootstrap.css > > Cheers > > Tom Sorry, and: 4) Are you using runserver? Cheers Tom -- You received this message because

Re: Confused by STATICFILES_DIRS not working

2011-12-16 Thread Tom Evans
On Fri, Dec 16, 2011 at 4:08 PM, Jeff Blaine wrote: > I'm having a heck of a time getting STATICFILES_DIRS working.  If anyone > could shed some light on this or just point me to the "All of your Django > STATIC* Settings Clarified Completely Once and For All" blog post or > somesuch, I would real

Confused by STATICFILES_DIRS not working

2011-12-16 Thread Jeff Blaine
I'm having a heck of a time getting STATICFILES_DIRS working. If anyone could shed some light on this or just point me to the "All of your Django STATIC* Settings Clarified Completely Once and For All" blog post or somesuch, I would really appreciate it. STATIC_ROOT = '' # DEFAULT STATIC_URL =

Re: MyISAM vs InnoDB; was Django 1.2.1 strange problem

2011-12-16 Thread Joey Espinosa
Right, thanks for the correction! -- Joey "JoeLinux" Espinosa Software Developer http://about.me/joelinux On Dec 16, 2011 9:15 AM, "Tom Evans" wrote: > On Fri, Dec 16, 2011 at 1:44 PM, Joey Espinosa > wrote: > > I think it's also worth noting that MyISAM doesn't support foreign keys, > > which

Re: MyISAM vs InnoDB; was Django 1.2.1 strange problem

2011-12-16 Thread Tom Evans
On Fri, Dec 16, 2011 at 1:44 PM, Joey Espinosa wrote: > I think it's also worth noting that MyISAM doesn't support foreign keys, > which would make the object relationships that Django creates impossible. > MyISAM supports foreign keys just fine, it just doesn't enforce referential integrity. Ch

Re: MyISAM vs InnoDB; was Django 1.2.1 strange problem

2011-12-16 Thread Masklinn
On 2011-12-16, at 14:44 , Joey Espinosa wrote: > I think it's also worth noting that MyISAM doesn't support foreign keys, > which would make the object relationships that Django creates impossible. That's not correct, the relationships are there (it's just tags between two columns), they're just c

Re: MyISAM vs InnoDB; was Django 1.2.1 strange problem

2011-12-16 Thread Joey Espinosa
I think it's also worth noting that MyISAM doesn't support foreign keys, which would make the object relationships that Django creates impossible. -- Joey "JoeLinux" Espinosa Software Developer http://about.me/joelinux On Dec 16, 2011 8:40 AM, "Sells, Fred" wrote: > Thanks for such a clear and h

MyISAM vs InnoDB; was Django 1.2.1 strange problem

2011-12-16 Thread Sells, Fred
Thanks for such a clear and helpful response. I'll begin the upgrade migration immediately. I noticed that a newer project does use InnoDB, yet I don't see anything in settings.py which specifies the engine in either project. It's been a while but the original project was built with Dj 1.2 and

Re: Creating websites like Amazon/Ebay using Django

2011-12-16 Thread Andre Terra
I'll refrain from repeating what the others have said, so I'll just say I wholeheartedly agree. Having said that, a project like this requires *extensive* knowledge of HTML/JS/CSS in order to be successful, as someone pointed out. With that in mind, I recommend you find a partner with front end ex

Re: Decorator aware Django

2011-12-16 Thread Andre Terra
On Thu, Dec 15, 2011 at 8:17 PM, Bernardo wrote: > I still need to see how to combine multiple Class based views to treat > my data. > The idea here is to use Mixins, i.e., classes that implement a few methods and can be mixed with one of your main classes. # --

Re: Creating websites like Amazon/Ebay using Django

2011-12-16 Thread Tom Evans
On Fri, Dec 16, 2011 at 12:17 PM, abhay hegde wrote: > Great ! Thanks everyone for the response. Django is the way to go then. > > @ionic drive :- Not sure as it's just in the initial stage. I will have to > set aside time for this one. > Not that Django is a bad choice - it's not, its a great ch

Re: Creating websites like Amazon/Ebay using Django

2011-12-16 Thread ionic drive
Cata as also Denis told you I just wanted to make sure, that you know this will be some hard years for you. I wish you good luck on your product. Maybe you first go with satchmo learn and improve than you can start off with configuring things to your needs. Would be great to welcome you at satc

Re: Creating websites like Amazon/Ebay using Django

2011-12-16 Thread abhay hegde
Great ! Thanks everyone for the response. Django is the way to go then. @ionic drive :- Not sure as it's just in the initial stage. I will have to set aside time for this one. Thanks Cata On Fri, Dec 16, 2011 at 3:49 PM, Denis Darii wrote: > You can consider to use django-lfs: http://www.getl

Re: Creating websites like Amazon/Ebay using Django

2011-12-16 Thread Denis Darii
You can consider to use django-lfs: http://www.getlfs.com/ or satchmo: http://www.satchmoproject.com/ but without basic knowledge of django, it's going to be very hard for you. On Fri, Dec 16, 2011 at 8:06 AM, Cata wrote: > Hello everyone, > > I am basically working on creating a website on th

Re: Creating websites like Amazon/Ebay using Django

2011-12-16 Thread ionic drive
Hi cata, Sounds great your plans. Django is exactly suitable for your needs. How many years are you going to investigate into the project? Best wishes ionic On Fri, 2011-12-16 at 22:07 +1100, Alec Taylor wrote: > Also satchmo http://www.satchmoproject.com/ > > On Fri, Dec 16, 2011 at 9:43 PM, I

Re: Creating websites like Amazon/Ebay using Django

2011-12-16 Thread Alec Taylor
Also satchmo http://www.satchmoproject.com/ On Fri, Dec 16, 2011 at 9:43 PM, Ivo Brodien wrote: > and keep in mind, that you don’t have to reinvent the wheel. There are > open source solutions for shops: > > Like: http://www.getlfs.com/released-06-beta-1 > > cheers > > On Dec 16, 2011, at 11:17

Re: Creating websites like Amazon/Ebay using Django

2011-12-16 Thread Ivo Brodien
and keep in mind, that you don’t have to reinvent the wheel. There are open source solutions for shops: Like: http://www.getlfs.com/released-06-beta-1 cheers On Dec 16, 2011, at 11:17 , Joey Espinosa wrote: > Cata, > > Yes, Django is exactly suited for this scenario. The structure of Django

Re: Creating websites like Amazon/Ebay using Django

2011-12-16 Thread Joey Espinosa
Cata, Yes, Django is exactly suited for this scenario. The structure of Django allows you to create scalable, flexible sites with the freedom to expand the database as needed without having to worry about messing with the code so much in order to do so. That being said, I'd HIGHLY recommend you g

Creating websites like Amazon/Ebay using Django

2011-12-16 Thread Cata
Hello everyone, I am basically working on creating a website on the lines of Amazon/ Ebay wherein user can browse/buy/sell items. I intend to make a basic website first then build on top of it. Till now i have been mostly programming in C/C++ & used Python as an automation tool . I am not famili

Re: Django + ajax waiting page, can not redirect to result page

2011-12-16 Thread Denis Darii
You can view your js errors by pressing CTRL+SWIFT+J in Firefox but i highly recommend you to install Firebug addon which allow you to view also the received data from your ajax request. On Fri, Dec 16, 2011 at 5:24 AM, yun li wrote: > Since I am really know nothing about ajax, I am not sure if

Re: Iterable check boxes

2011-12-16 Thread Daniel Roseman
On Thursday, 15 December 2011 14:16:00 UTC, CrabbyPete wrote: > > According to the documentation I can iterate radio buttons > {% for radio in myform.beatles %} > > {{ radio }} > > {% endfor %} > > I want to do the same for checkboxes, but get > TemplateSyntaxError > Exception Value: > > Caug