hack, I cannot set the multi_db to true otherwise.
for test in doctests._tests:
test.multi_db = True
# End of hack, which doesn't work anyway...
suite.addTest(doctests)
return suite
=
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.va
;ENGINE': 'django.db.backends.sqlite3',
'NAME': 'testunblobbed.db',
}
}
No special options, I'd say. The test database *used* to get created
when I last ran the tests a few weeks ago, now that I think about it.
I'll have t
thing that
1.2betasomething did right? Gotta drink wine with my wife now, I'll
test tomorrow :-)
Thanks,
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineer
ose lines, the tests would work again. I really should have
spotted that by running the tests before and after making that config
change...
Ok, now I'll have to figure out a different way of getting xml output
(for hudson) out of django's tests.
Thanks,
Reinout
--
Reinout van Rees
tings to use.
See
http://docs.djangoproject.com/en/dev/topics/settings/#designating-the-settings
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"
--
You re
ope server would have nowhere to print its console
output once an infrequent error occured. And it would die.
The wsgi stuff works differently, so this shouldn't be the problem.
Mentioning it anyway, perhaps it rings some distant bell :-)
Reinout
--
Reinout van Rees - rein...@van
etting closed? Watch your /tmp size, for
instance. Normally if you do it from views or so, the tempfile object
gets garbage collected and closed.
Anyway, you probably already know where to look :-)
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Progr
. And perhaps even a
search function.
On the template side you often only have to create a html table and tell
the javascript to do its job.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers
lem once, too. The reason was that the template is
rendered without the proper context. You'll need to pass along a
RequestContext:
from django.template import RequestContext
def your_view(request):
...
return render_to_response(
your_template,
{'some':
uot; searching: there are specialized databases
for that.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"
--
You received this message because you
for things that need customizing for the various sites.
Have you seen the "reusable apps" talk by James Bennett?
http://www.youtube.com/watch?v=A-S0tqpPga4 If not: 45 minutes of
highly recommended information that'll give you lots of ideas :-)
Reinout
--
Reinout van
POST form, use the csrf_token tag
inside the element if the form is for an internal URL, e.g.:
{% csrf_token %}
So just add that csrf_token tag and you're probably done.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-sch
log/2010/05/19/django-css-javascript-files.html
(http://tinyurl.com/377g9l9). Read it and you'll know if
django-staticfiles is what you're looking for.
Note: at djangocon.eu in Berlin, there were voices to make this
django-staticfiles solution standard in django 1.3.
Reinout
--
Rei
And my site can override
ui/base.html and fill in the logo block and the footer block (which are
normally not touched by the applications).
I hope I'm clear enough without a code example. The code, should you
want to take a look, is at http://pypi.python.org/pypi/lizard-ui
Reinou
n Django, but I've seen this happen
once elsewhere, so it might have bitten you too.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets&q
(big python CMS) also uses jquery tools because it
doesn't have its own css: the UI library doesn't fight your existing
css. That's a big difference with for instance jqueryui (which I also
use and like, btw :-)
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.
py, but that
it isn't available in views.py. Perhaps a missing import?
Tip: "easy_install pyflakes" and call "pyflakes views.py", it'll report
on missing (or extraneous) imports or variables.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.v
nobody
uses oracle+geo stuff on windows :-)
a) Do I really need that geos library? Or could there be something wrong
with the oracle installation (like missing geo templates whatever).
b) Where can I grab a windows installer for GEOS? I only see mentions of
binary packages for osx and linux, none
don't have access to the win2008 box
from home).
Thanks,
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"
--
You received this messag
guess...
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"
--
You received this message because you are subscribed to the Google Groups "Django
tance. I'm sure
windows also has a clicky-clicky installer.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"
--
You received this message
o I'm
interested in alternatives :-)
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"
--
You received this message because you are subscribed
alternative is for instance South (http://south.aeracode.org/) which
*can* do the database migration for you, also in the case of added fields.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build mis
obvious.
Alternatives are fine, too. But it has to be windows :-)
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"
--
You received this message
. Since my
application is heavily AJAX, that's not what I want -- I want to cache JSON
-- but it doesn't work!
Any hints how I can make it work?
Quick guess: difference in RequestContext between regular html pages and
ajax views?
Reinout
--
Reinout van Rees - rein..
coordinates?
Normally, searching by coordinates would mean clicking on a map which
results in a DB query with a location plus a margin around that location.
=> Can you work with a "search radius" in your query?
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinou
thon path is in your windows'
path.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"
--
You received this message because you are subscri
) calculations are lightning fast. Indexes
optimized for it. So if you can keep the calculation inside the DB it
ought to be fast enough.
I agree however that it's best not to have to work around this issue.
So your fix-it-with-javascript idea might be best.
Reinout
--
Reinout van Rees -
for [] over and over again without caching it :-)
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
You received this message because you are subscribed to the Google Group
y who system as I have a few
web projects running from it all ready, so if anyone has come across
this or has a fix, please let me know
Could you paste the database part of your config (with user/password
obfuscated, of course)?
Reinout
--
Reinout van Rees - rein...@van
; followed by a "print sys.path".
That'll tell you where python is looking for code.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
You received this message
On 08/26/2010 05:01 AM, Sam Lai wrote:
On 25 August 2010 20:09, Reinout van Rees wrote:
I normally deploy everything on linux, but a customer requires windows. I
have a working setup with apache and mod_wsgi, but I wonder about the
efficiency.
I see hints like "mod_wsgi, daemon
le for 1.0, too. Otherwise, a
template tag that hacks this is quick to make yourself, I'd guess.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
You received this message
p to prevent errors. It
mucks about with the content-length, that's why.
By the way: have you already optimised the non-django-view parts of your
application? Combined js; combined css; static hosting of media files
by apache/ngnix; perhaps a varnish cache; etc.
Optimizing *there* might b
quot; :-)
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to
right?
I'd put a slash in front of "media".
Even better would be:
(Note the lack of a slash after {{ MEDIA_URL }}, btw).
For those {{ MEDIA_URL }}-like urls to work you need to use the
RequestContext, see http://tinyurl.com/yllym5h
Reinout
--
Reinout van Rees - rein...
On 08/27/2010 12:43 PM, Alessandro Ronchi wrote:
2010/8/27 Reinout van Rees mailto:rein...@vanrees.org>>
I don't know about performance, but at least the GZipMiddleware
documentation says it has to be right at the top to prevent errors.
It mucks about with the con
still have to follow up on that tip: that'll be on monday.).
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
You received this message because you are subscribed to the Go
ed
to add to your proj4 or whatever files to enable proper transformations.
Just a brainstorm to get you started ;-)
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
You rece
x27;s 900913 instead of 900973 (google written in characters
that look a bit similar).
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
You received this message because you are
hat's probably something you configured yourself.
Anyway, in development you can uncomment any CACHE_BACKEND in your
settings.py and no caching will happen.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature i
r.gif".
And: you're apparently not using {{ MEDIA_URL }} in your template, which
is intended precisely to get the url right (and absolute).
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyur
at fires off queries to both
databases, so within the same request. Anyone got any hints on where to
look? How to debug? How to fix it?
Reinout (who dislikes the amount of handy debug info he's got...)
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Col
On 09/01/2010 02:00 PM, Reinout van Rees wrote:
Hi,
I'm deploying a site on windows with oracle (and I don't know either of
them well). Simple apache+wsgi setup for now.
I'll have to test it out tomorrow when I'm near the windows machine
again, but I might have foun
On 09/01/2010 11:54 PM, Reinout van Rees wrote:
On 09/01/2010 02:00 PM, Reinout van Rees wrote:
Hi,
I'm deploying a site on windows with oracle (and I don't know either of
them well). Simple apache+wsgi setup for now.
I'll have to test it out tomorrow when I'm near the w
sus
django's own wsgi handling:
http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html
I haven't figured out yet what's wrong. I'm using buildout's
djangorecipe to set it all up and djangorecipe's wsgi file does most of
the tricks
n my settings.py. I'm by
now convinced that "settings.py only gets loaded once so that's a nice
place to put it" is wrong. So I'm probably better off adding lines I
want run only once to one of my django applications' __init__py? I *do*
want to be sure they
e of the python libraries (pdb and so), but I couldn't check
every detail. And the c-level libraries were beyond me.
In the end I got it working (that is, "not actively dying") by telling
apache to run with just one single thread... That's some solution...
This is the firs
and the end of the main
call in your django.wsgi?
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
You received this message because you are subscribed to the Google Groups "
s: firebug (lets you inspect the headers). Or just "wget" in
a pretty verbose mode.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
You received this message becau
.
I can't any mention of an upper limit for fixtures and this really has
me stumped.
Any ideas?
Duplicate primary keys is the only thing I can think off right now. So:
it added 32k objects, but 12k of them were duplicates. Worth a quick check.
Reinout
--
Reinout van Rees - rein...@van
quot;URL dispatching". This frees your
method to just do their actual job instead of also having to figure out
on which object to do their work.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht:
etically you should
then only have to run the buildouts and symlink the various apache
configs into your /etc/apache2/sites-available/.
Anyhow, make sure their projects look a bit similar. A setup.py and an
apache config, for instance. Hook it up with virtualenv or buildout.
Reinou
o the MIDDLEWARE_CLASSES thingy in the docstring.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
You received this message because you are subscribed to the Google Groups &quo
;
PIL = 1.1.6<<<
[python]
recipe = zc.recipe.egg
interpreter = python
eggs = ${buildout:eggs}
[django]
recipe = djangorecipe
version = 1.1.1
project = myproject
projectegg = myproject
settings = testsettings
test = myproject
eggs = ${buildout:eggs}
Reinout
some more
google inspiration.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer/advisor at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"
--
You received this message because you are subscribed
iness.
There's not too much room in open source land for such elaborate
full-fledged business apps. I'm happy one of them is in python, at least :-)
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer/advisor at http://www.nelen-schuurmans.nl
"Mili
virtually empty anyway).
Again: pretty wild guess ;-)
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer/advisor at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"
--
You received this message because
On 01/20/2010 08:41 AM, Alex_Gaynor wrote:
http://djangocon.eu/ is the official website for djangocon.eu (the new
name).
Please mention the old eurodjango name somewhere on that page so that
google can find it. I was also searching in vain :-)
Reinout
--
Reinout van Rees - rein
django. If
I later need to apply it, I can look it up again in the book or, perhaps
more likely, I can google for it in the django documentation.
Reinout
--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer/advisor at http://www.nelen-schuurmans.nl
"Milit
;,
Just "sqlite3" by itself was fine in older django versions, so you might
have picked up an example from there.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what
token. It won't even hit your "else add csrf token" code.
The solution is simple: just add a {{ csrf_token }} somewhere in your
form. That ought to do it.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nele
not quite right.
In your geodjango case, do you perhaps miss django.contrib.gis in your
INSTALLED_APPS list?
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make
u spot something wrong with sys.path or so. Or the `#!`
python line at the top.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
s/middleware.py for debug purposes. So check the
django that your site is using and see if you have to beat someone with
a stout stick.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're
.
Only reason I can think of is that it might be safer on the server or
something like that.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- P
ystem python. "virtualenv -s" or something like that.
Perhaps you passed along that option? In that case, nothing in your
virtualenv can find the system python's matplotlib.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org
On 23-03-12 21:37, Reinout van Rees wrote:
On 23-03-12 18:51, darwin_tech wrote:
the weird thing is that matplotlib works fine on my system. If I have a
Django project running outside of virtualenv, there is no problem and
matplotlib is on the pythonpath.
One of virtualenv's options
thing like {{ my_dict.42 }}.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are
n }} or so?
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscribed to the Goo
*does* mean you must have all xyz-devel packages installed.
An alternative is to keep your global python clean and only install
specific packages with your OS that are best handled by the OS. Don't
"pip install" other stuff by hand.
Reinout
--
Reinout van Rees
that just provides a layout. Use that
in the apps.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this mess
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscribed to the Google Groups "Django
veral mistakes with them already
:-) Look at [1] for an example error.
Reinout
[1]:
http://reinout.vanrees.org/weblog/2011/11/18/django_unicodedecodeerror.html
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
&
s and returns a User.
You're right, I was wrong :-) I overlooked that create_user is a
special call and thought it was just a generic create statement.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.
ok.html
Most available books are quite old, so I'm doing my best to get this one
out so that there's a current book. I'm targetting Django 1.4 so that's
pretty current :-)
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org
iour for development.
The directory that collectstatic fills is just for your production
environment where you've got a proper webserver to serve that directory.
So... it is by design :-)
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org
ything *within* your project directory, nothing
beats the functionality of buildout. And it combines fine with tools
like fabric that can handle everything outside of the project directory.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org
hat treats points differently?
Wild guesses...
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message be
the following link:
http://www.caktusgroup.com/blog/2011/12/29/class-based-views-django-13/
You need to decorate the dispatch() method in the class-based-view case.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
&q
django-13/
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscribed to the Google Group
. That way you can also reuse them and be sure that everything
you need is included.
The core point is that setup.py's are "recursive" where buildouts are not.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org h
helper function, not returning its results.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message bec
inout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscribed to the Google Groups "Djan
them together too much.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscribed t
no problem: take a look.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscr
ticfiles.urls.staticfiles_urlpatterns
applies. You have to add that to your urls.py. But normally, you don't
have to.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure wha
ne of my messages something about "needing a
full path name '/tmp/' for saved pages". What did you mean by that?
Such a full path is different from a proper localhost:8000 url.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@van
t.org/schinckel/django-jsonfield/ on bitbucket.
I looked at it with a colleague and it seemed to have a bit more
validation than some others. Little things.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
&quo
r.
Make sure you've got example configurations on how to integrate it with
a webserver (apache/nginx).
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, m
entry.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscribed to the Google G
;disk
full" to "python syntax error".
Perhaps there's a difference that your first example is a POST to that
image? And means a GET request?
by putting in the
template a simple tag in the template
That src attribute again doesn't seem to match your original url.
Apparently the request is now a 'dict' object instead of a real django
request object.
Do you have some middleware or so that does something to the request?
Does your view modify the request, inadvertently modifying it into a dict?
Just brainstorming about possible ca
need to gain knowledge on what
mod_security actually does and how to configure it.
Personally, I've never heard of anyone using it for Django and I'd be
surprised if it is needed.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org
s secure even though Django protects
against that just fine ;-)
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this me
you can normally directly see
the 500 error text.
Seeing the traceback ought to show you the problem.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make som
DEBUG:" around where
the admin site is mounted in your urls.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You rece
roups/* *did* work?
Which ones don't? If it is for instance /admin/issues/*, look at that
issues app and see if there's an 'if settings.DEBUG' somewhere in there.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.n
efore the logging is actually configured.
Just as a simple test, put such a logging statement inside one of your
view methods and hit it in your browser. Just to make sure your logging
setup as such works.
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@
tems and then apply that to the first item. That's
the basic problem.
Best solution probably: just do the MYDICT[myform.somefield.value] in
your view and pass the value to the template?
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org
1 - 100 of 174 matches
Mail list logo