Re: when I pip-installed django-debug-toolbar, the latest version of Django was installed automatically.

2014-02-17 Thread jmindview
Hi Charly, But django-debug-toolbar is uninstalled. How does that affect? Please. Jun 2014年2月18日火曜日 15時21分35秒 UTC+9 Charly Román: > > Latest django-debug-toolbar isn't compatible with django 1.3 > El feb 17, 2014 11:56 PM, escribió: > >> hi Frank, >> >> I appreciate it but

Re: when I pip-installed django-debug-toolbar, the latest version of Django was installed automatically.

2014-02-17 Thread Charly Román
Latest django-debug-toolbar isn't compatible with django 1.3 El feb 17, 2014 11:56 PM, escribió: > hi Frank, > > I appreciate it but seem that this situation is so unusual that people do > not understand. > I have done those already. > > > So I do > 1) pip uninstall django

Re: when I pip-installed django-debug-toolbar, the latest version of Django was installed automatically.

2014-02-17 Thread jmindview
hi Frank, I appreciate it but seem that this situation is so unusual that people do not understand. I have done those already. So I do 1) pip uninstall django 3) pip uninstall django-debug-toolbar 2) pip install django==1.3 then it says: Downloading/unpacking django==1.3 Running

python path in webpage error message not virtual environment's

2014-02-17 Thread knowledge_seeker
I understand the importance of doing projects in virtual environments, but I am hitting one snag. When I have an error in django, and I get the generated webpage with an error message, it shows the 'normal' python path, site packages installed, etc. For example, I have jinja on my main

Re: when I pip-installed django-debug-toolbar, the latest version of Django was installed automatically.

2014-02-17 Thread Frank Bieniek
Hi Jun, to get your old django back 1) pip uninstall django 2) pip install django==1.3 3) pip uninstall django-debug-toolbar 4) pip install --no-deps django-debug-toolbar line 1 - remove existing django whatever version line 2 - install django 1.3 line 3 - remove the django toolbar line 4 says:

Re: is this (online tutorial) code calling a view from a view?

2014-02-17 Thread Russell Keith-Magee
On Sat, Feb 15, 2014 at 10:47 PM, Andrew Taylor wrote: > Hi, > > I've been following an online tutorial but been debugging. I've traced my > issue to this line in the view function below: > > return category(request, category_name_url) > > > Is this view effectively calling

Re: when I pip-installed django-debug-toolbar, the latest version of Django was installed automatically.

2014-02-17 Thread jmindview
Hi Frank, Thank you for your advice but the version is still 1.6. I straggle with getting it back to the version 1.3. pip install --no-deps django-debug-toolbar may help when the version become 1.6, right? by the way, I tried pip install --no-deps django==1.3 did not help Jun 2014年2月18日火曜日

Re: when I pip-installed django-debug-toolbar, the latest version of Django was installed automatically.

2014-02-17 Thread Frank Bieniek
Hi, pip install --no-deps django-debug-toolbar might help. --no-deps = no dependencies I highly recommend you pip freeze your current environement and then just do a pip install --no-deps new_component_name, thisway you know what is in your environment and no component can seek stuff in...

when I pip-installed django-debug-toolbar, the latest version of Django was installed automatically.

2014-02-17 Thread jmindview
Hello, when I pip-installed django-debug-toolbar, the latest version of Django was installed automatically. Not my intention. I got warning as below. WARNING! You have just installed Django over top of an existing installation, without removing it first.

Re: what is the Fastest django application server?

2014-02-17 Thread Carlos Daniel Ruvalcaba Valenzuela
I have actually made some benchmarks between gunicorn and uwsgi and I can tell you that uwsgi is a tad faster only, is not going to make a lot of difference, however, they both differ on features, if you want something simple and quick to deploy gunicorn is simple to get going. Uwsgi however has a

Re: what is the Fastest django application server?

2014-02-17 Thread Javier Guerra Giraldez
the fastest server is the one that doesn't do anything useful. as soon as you've got an application to handle requests, the magnitude of any difference between all these (and others) drops below random noise levels. -- Javier -- You received this message because you are subscribed to the

what is the Fastest django application server?

2014-02-17 Thread Daryl Baugh
Unicorn,wsgi or gwan? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to

Re: Newbie Question - Where to store application constants?

2014-02-17 Thread C. Kirby
I would suggest that your example, the price of gold, isn't a constant. If you want to treat it as such then I agree with the above answers. However, you could also look around for APIs that publish commodities values and actually pull the real values in real (or semi real) time. -- You

Re: Form that includes one2many relation

2014-02-17 Thread C. Kirby
I would suggest reading up on inline formsets: https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#inline-formsets You can also look at this stackoverflow question regarding how to use them to create instances, as the docs only talk about editing (and expect you to map those idea to

Re: Login at the end of form wizard

2014-02-17 Thread parnigot
Thanks Camilo, I've tried to use that method but I was having a lot of problems. In in end I've decided to manually copy the cookie with the data with something like this (simplified version): ... form_data = request.session.get_signed_cookie("wizard_cookie_name") login(request, user)

Re: Recently set up a project in Aptana 3 to work with Git. All worked, but today I have errors.

2014-02-17 Thread Charly Román
This isn't related with django. El feb 17, 2014 6:46 AM, "Віталій Лисенко" escribió: > Recently set up a project in Aptana 3 to work with Git. > Generated ssh-key. Worked 'push', 'pull', 'import project', 'comit' and > other instructions. > All worked, but today I have

Browser-based automated testing with a separate test DB

2014-02-17 Thread Peter Kehl
If you're interested in convenient, browser-based automated testing, you may want to look at SeLite. It extends Selenium IDE. It allows your tests to access (read and write to) a test DB (isolated from the DB of the tested application). It's especially good for Django applications, which can

Recently set up a project in Aptana 3 to work with Git. All worked, but today I have errors.

2014-02-17 Thread Віталій Лисенко
Recently set up a project in Aptana 3 to work with Git. Generated ssh-key. Worked 'push', 'pull', 'import project', 'comit' and other instructions. All worked, but today I have errors. ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository.

Re: Digging Up Django Class-based Views

2014-02-17 Thread Leonardo Giordani
You are welcome! I'm glad to know that it was useful. I hope to post soon some tips with real world examples. Cheers, Leo Leonardo Giordani Author of The Digital Cat My profile on About.me - My GitHub

Re: caching django querysets, debug toolbar shows queries still running on page load

2014-02-17 Thread Tom Evans
On Sun, Feb 16, 2014 at 6:56 AM, Levi McDonough wrote: > > Hey everyone, I'm having problems with caching a queryset and storing the > results of the query in the cache so the queries don't run when the page > loads. I am caching and pickling the queryset, however I keep

Re: Django TodayArchiveView showing the date for next day

2014-02-17 Thread Tom Evans
On Sat, Feb 15, 2014 at 5:29 PM, wrote: > I just followed instructions on django website > https://docs.djangoproject.com/en/dev/ref/class-based-views/generic-date-based/ > DayArchiveView was working and TodayArchiveView was showing the date for the > next day. Set your

Re: is this (online tutorial) code calling a view from a view?

2014-02-17 Thread Tom Evans
On Sat, Feb 15, 2014 at 2:47 PM, Andrew Taylor wrote: > Hi, > > I've been following an online tutorial but been debugging. I've traced my > issue to this line in the view function below: > > return category(request, category_name_url) > > > Is this view effectively calling