ycopg_green()
> worker.log.info("Made Psycopg Green")
> post_fork = def_post_fork
>
>
> This is making me worried of using the Gunicorn+Gevent+psycopg2 combo.
>
> Cheers,
> Daniel
>
> On Friday, January 20, 2012 3:46:47 PM UTC+1, j_syk wrote:
>>
&g
I have a Linode VPS. Best decision I've made. I had tried A Small Orange
and Webfaction, was happy with the customer/tech service from both (ASO
isn't really setup for easy Django setup), but eventually you may run into
situations were you wish you had full access to the server.
I use Nginx &
One to One is the right type for linking a user to a profile in the Django
world. However I think you may be mixed up on the many to many.
How you have it setup would lead to a User being connected to multiple
License objects, each with a nra and ccl attribute. If I didn't realize
what those st
This Gist https://gist.github.com/1027898 is an example of a location Model
which calls on a helper function when saved to find the lat & long of the
address when it is saved.
The original snippet of the function is here-
http://djangosnippets.org/snippets/2399/
On Wednesday, July 11, 2012 2:
Hello-
On Friday afternoon I migrated a project from sqlite to postgres.
Everything went smoothly and I was able to go home for the weekend and
be happy. Yay.
This morning I was informed that the sort order is different. I have a
DateField for a due date that is set as not required, however leaving
Found a similar post
http://groups.google.com/group/django-users/browse_thread/thread/4edf7a4a94c65c17/2dfbc193845d4383?lnk=gst&q=sort+null#2dfbc193845d4383
The main difference is that mine is a DateField. So I can't just make
it 0 instead of None.
--
You received this message because you are su
> You can control the order of how nulls sort with pgsql (at least, 8.3
> and above) by appending 'NULLS FIRST' or 'NULLS LAST' to the 'ORDER
> BY' clause of a select query.
Good to know. I am using 8.4, I may look into adding the order by into
a .extra() call.
Thanks
Due to the urgency, I went w
I'm looking to build a site to plan events for a small convention.
I've been looking around for an
Here's what I'm looking for:
-Users can sign up to host an event at a given location
-User can pick event length in hour or 30min increments
-There can't be more than one event at the same location a
I have a Model with a ForeignKey and I'm using a vanilla ModelForm, so
it's using the standard ModelChoiceField widget. I'm looking to add a
'+' icon with a link to popup and new window to add a new foreign key
that is not already in the dropdown list. Yes, exactly like the admin
forms.
I've done
This a good application for named urls with passing arguments.
for example, given a urls.py containing
url(r'^edit/(?P[0-9]+)/$', edit_item, name="edit_item"),
in your template you can do this:
{% for item in item_query %}
Edit
{% endfor %}
Hope that helps! Named urls are the preferr
This isn't really an answer to your question, but here's my 2 cents.
I'm in the reverse situation as you, Macs at work and Windows at home.
I wasn't too interested in figuring out Django development on either
after quickly disliking macports and never having the desire to
develop on windows without
On Jan 16, 10:31 am, Javier Guerra Giraldez
wrote:
> it's a pity that MacOS is going the same route (i think 10.4 still
> included XCode in the optional installers DVD), so there's some demand
> for binary distribution for Mac too.
mac osx 10.7 (Lion) includes Xcode for free from the app store. A
I was testing one my apps today with a form that features a drop-down
field that initiates a json lookup for additional detail. You choose a
location, it populates address fields. It's been working for weeks.
Today, when I clicked an entry, the target detail field didn't change.
I have debug off,
I just tried it and it returned about 3500 results. Did you really want
that many results?
running "pip search --help" shows that you can set a --timeout flag, and
the default is 15 seconds
try:
pip search --timeout=30 Django
On Wednesday, January 9, 2013 8:34:41 AM UTC-6, Matias Montenegro
It's not a problem with wsgi. The problem is incorrect syntax in line 29 of
your views.py file. Check that line and make sure that each line is at the
same indentation or is properly indented (4 spaces). If you can't figure
this out, post a couple lines from that area of your views.py file and w
I'm working on a project that requires a RSVP form for an event.
The first step of the form would ask first & last name, e-mail,
attending (yes/no/unsure), and total number of guests attending.
Currently I have this form correctly working and submitting to the
database.
The second step of the for
Hello-
I only develop django on osx and lunix (ubuntu), but I've looked into
options for installing it on my windows desktop- even though I've
never gotten around to it...
I've found http://www.instantdjango.com/ which has all the common
files you need to develop in one package. According to the si
17 matches
Mail list logo