Look here: http://code.google.com/p/sslauth/
:)
On 17 окт, 16:22, lmierzej <[EMAIL PROTECTED]> wrote:
> Is there a way to access apache/mod_python's SSL client certificate
> variables in django?
>
> I found only this:http://code.djangoproject.com/ticket/2938- is it
> really not possible without p
Hi, guys,
I met a problem on including external javascript file in template.
My form.html and jquery.js are put under /study/ajax/templates, (study is
the project name while ajax is the app name.)
In form.html, jquery.js is included by the following code:
But it didn't work. In console, I got t
Hello all,
I'm not for sure what this error is all about. I had django up and
running with out flaw for quite a while but last night I decided to
svn update my django source and that's when it seemed to flip out
giving me this error message. Also I have have a script that I run
from time to time t
Hi Django Users
All International Actress Lingerie in here from USA, Europe, Africa,
Rusia, Asia, Arab and Melayu
Get it from http://hotmodels.pussyfier.com
Cool Bro...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Send Big File Free and Easy
Send, Receive and Track files with YouSendIt.
apply for free. be urgent , there is the time limits.
Get Free Code: Limited Time Only!
http://www.tkqlhce.com/click-2667396-10501907
--~--~-~--~~~---~--~~
You received this message because
On 15-Nov-07, at 4:27 AM, Piru wrote:
> I don't know how to handle this thing...
1. django version - unicode django or something older, please specify
2. database backend - unicode database or not, please specify
3. paste the model which is causing the trouble
--
regards
kg
http://lawgon.liv
On 14-Nov-07, at 8:41 PM, sebey wrote:
> ok ok thanks love some more resurces
ok, one more resource, but this is the last one: Introspection, which
is the greatest python resource ever:
do this:
type 'python' in a console
type import os and press enter
type dir(os) and press enter
type help(o
Hi all,
it's my first post here;)
I have same issue -
...
UnicodeEncodeError
'ascii' codec can't encode character u'\u017c' in position 4: ordinal
not in range(128)
Exception Type: UnicodeEncodeError
Exception Value:'ascii' codec can't encode character u'\u017c' in
position 4:
You do not have the MySQLdb module installed and this can be tricky to
setup on a hosted site. If you do not have shell access, contact your
administrator and ask for this module. Otherwise either get the
package or source from here http://sourceforge.net/projects/mysql-python
and install it throu
I'm receiving this error as I work thru Tutorial 1 (http://
www.djangoproject.com/documentation/tutorial01/):
[EMAIL PROTECTED] mysite]# python manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 11, in ?
execute_manager(settings)
File "/usr/lib/python2.3/site-packa
Python does not have static/public/private objects like java does.
Whats happening is that self.date_form is referencing date_form and
that happens in the __init__ method
On Nov 14, 2:31 pm, johnny <[EMAIL PROTECTED]> wrote:
> I have seen forms without the "self" in front of the fields, eg. more
I have seen forms without the "self" in front of the fields, eg. more
like this date_from = forms.DateField() and never self.date_form
=forms.DateField(). If you include self.date_form, then date_form
becomes an attribute of an instance rather than a attribute of a
class.
What confusing me is th
Do a select statement on the values
> > i just use this code:
> > cursor = connection.cursor()
> > sql = "insert into popo_status( author_id , body , time, type ) VALUES
> > (%s, %s, now(), '2')"
> > cursor.execute( sql,(str(row[0]),msg) )
cursor.execute("select id from popo_status where author_i
I am not talking about replacing the whole builtin template system so
that framework wide requires changes. Django is the default rendering
system, but others should be enabled. Django should continue to ship
its template system, which is a great system and has loads practical
tools for web design
I'm generally with James on this, that users are already able to use
whatever they like; after all, it's just Python.
The one potential concern I have is, what about generic views? As far
as I can tell, if you want to change template systems, you'd have to
abandon the existing generic views. Eith
can somebody help me, thansk!
On 11月14日, 下午9时21分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> i just use this code:
> cursor = connection.cursor()
> sql = "insert into popo_status( author_id , body , time, type ) VALUES
> (%s, %s, now(), '2')"
> cursor.execute( sql,(str(row[0]),msg) )
> conn
On 11/14/07, justquick <[EMAIL PROTECTED]> wrote:
> These results mean that in some cases Django does not render templates
> the fastest. Developers should have the option to use whatever engine
> they want for their template system.
And they do ;)
(remember, folks, we're just talking about impo
Danke Jan! Ich mach mit.
CU, Oliver
On 13 Nov., 20:57, Jan Meier <[EMAIL PROTECTED]> wrote:
> Hi,
>
> there is a new Forum for django help/support in german, if you speak german
> check it out:
>
> http://www.django-resource.de/
>
> See you there,
>
> Jan
--~--~-~--~~~-
On Wed, Nov 14, Josh wrote:
>
> Hi Michael,
>
> > This should only be needed if you did not do what Malcolm called "Simple
> > backwards compatibility", i.e. to set {% autoescape off %}.
> >
> > So, am I right that you didn't put such a {% autoescape off %} tag in your
> > root template? Then y
Recently I have been in search of an alternative to the Django
templating engine. Sure the engine is well produced and has many
features, but it lacks certain functionality that other engines
provide, like direct python syntax and parameter passing. Allowing
Django to use these other engines would
I've found that the only problems I encountered on my first couple of
Django projects were the following:
1. Unix problems due to not being very experienced with Unix shell
stuff.
2. Spending way too long trying to customize the admin because I
didn't realise how easy it would be to write my own
I was just curious: has anyone fooled around with extending the admin
to do a sort of "bulk modify"? For example: update update multiple
entries (like an article) in the database to now have the same
author ?
I know that making the application/html and such wouldn't be too bad
for each particular
that's a very bold move.
I'd say that if you can't estimate the time required, you're not ready
to take on that project. But you've got to start somewhere, good luck
with it.
and once you guess about the time, be sure to at least triple it.
-h
On Nov 14, 10:39 am, Sun Wukong <[EMAIL PROTECTED]
I don't know about the Instant Django on OSX, but Django itself is
very easy.
I use the python universal binary from http://www.python.org/download
then download Django, untar it, and go into the extracted Django directory,
run "sudo python setup.py install"
That's it, Django is installed and r
is there anyway to download the documentation on the django site?
On Nov 14, 3:11 pm, sebey <[EMAIL PROTECTED]> wrote:
> ok ok thanks love some more resurces
>
> On Nov 14, 2:10 pm, cjl <[EMAIL PROTECTED]> wrote:
>
> > Buy me a mac and I'd be happy to create an OSX version of Instant
> > Django f
Hi Michael,
> This should only be needed if you did not do what Malcolm called "Simple
> backwards compatibility", i.e. to set {% autoescape off %}.
>
> So, am I right that you didn't put such a {% autoescape off %} tag in your
> root template? Then you have to examine whether you use any html fr
Hi Josh,
On Wed, Nov 14, Josh wrote:
>
> Fixed it.
>
> New feature in django-dev is HTML escaping for any template tags (good
> against cross-site scripting problems).
>
> Had to apply the safe filter to any template tags I don't want auto-
> escaped.
>
> OLD: {{ block.super|safe }}
>
> NEW
Fixed it.
New feature in django-dev is HTML escaping for any template tags (good
against cross-site scripting problems).
Had to apply the safe filter to any template tags I don't want auto-
escaped.
OLD: {{ block.super|safe }}
NEW: {{ block.super|safe }}
Read more about it in django/docs/tem
Hello,
I may get my first Django-based project soon and that's quite an
exciting news. But besides tutorials and some tests, I'm still a newbie
willing hard to get the job done right.
And I'm running in a well-known problem : how to estimate the required
time to develop a Django based project ? A
block.super was working great before i did an svn up this morning..
All of my block.super template tags are returning the HTML character
codes instead of the actual HTML - so instead of getting proper HTML
links, i get the text of the HTML link.
Has anyone come across this? New bug?
- Josh
--
I think the best way now is to try and post specific question when you
encounter deadends.
I run django on a mac, but if you need help you better start by
yourself (and you will learn more).
It is easier if you use sqlite and to learn, sqlite is more than
enough.
So follow the instruction on the
Malcolm Tredinnick napisał(a):
>> In my app I have one pretty generic model that handles few (not so
>> different) types of content. One of the things that make these types
>> different is choice of possible states. I'd like to keep the choices
>> as choices, not as separate model. Currently I ha
ok ok thanks love some more resurces
On Nov 14, 2:10 pm, cjl <[EMAIL PROTECTED]> wrote:
> Buy me a mac and I'd be happy to create an OSX version of Instant
> Django for you!
>
> Just kidding, but there are many websites explaining Django
> installation on OSX. You can still follow along with my t
Hello,
I have just a really simple question:
i just want to add to a template I created in my app, a form like
this one:
Chemin
my first aim is to launch a python script (ingestion.py) which his
argument is the handling result of the input type="text" value of my
form
The problem is that d
I'm sorry, please disregard. It turns out I just needed to restart the
service. I have to remember that restarting the webserver does not
restart the service. Thanks.
On Nov 14, 9:25 am, Justin <[EMAIL PROTECTED]> wrote:
> After migrating a new site to it's future production server I seem to
> be
DO you have automatic daylight saving time?
We had the same problem here, using Java and Postgres.
It seems that this Windows feature have strange side-effects...
On Nov 14, 2007 11:25 AM, Justin <[EMAIL PROTECTED]> wrote:
>
> After migrating a new site to it's future production server I seem t
After migrating a new site to it's future production server I seem to
be experiencing a weird error. I have a windows service (in python)
that reads phone data in through the serial port, writes the data to a
file and sets up a Django environment to write that data to the
database. Here's the catc
Buy me a mac and I'd be happy to create an OSX version of Instant
Django for you!
Just kidding, but there are many websites explaining Django
installation on OSX. You can still follow along with my tutorial after
you have installed it.
Sorry I can't be of more help. I actually tried a 'hackintos
yes thats cool but one problem; I''m a mac guy so if anyone can find a
mac version of this please post
On Nov 13, 7:37 pm, cjl <[EMAIL PROTECTED]> wrote:
> Sebey:
>
> You may want to check out a tutorial I am working on:
>
> http://www.instantdjango.com
>
> It provides a 'newbie-friendly' introdu
i just use this code:
cursor = connection.cursor()
sql = "insert into popo_status( author_id , body , time, type ) VALUES
(%s, %s, now(), '2')"
cursor.execute( sql,(str(row[0]),msg) )
connection.commit()
it is successful, how can i get recoder id which i just inserted?
thanks
--~--~-~--
For everybody who updates frequently: revision [6671] -- which was
committed about five minutes ago -- contains a change that is possibly
more disruptive than most if you're displaying HTML via template
variables. So I'm taking the slightly unusual step of drawing your
attention to it.
So read th
On Wed, 2007-11-14 at 04:47 -0800, Jarek Zgoda wrote:
> Hello, all.
>
> In my app I have one pretty generic model that handles few (not so
> different) types of content. One of the things that make these types
> different is choice of possible states. I'd like to keep the choices
> as choices, n
Hello, all.
In my app I have one pretty generic model that handles few (not so
different) types of content. One of the things that make these types
different is choice of possible states. I'd like to keep the choices
as choices, not as separate model. Currently I have moved the choices
out of my
On 14-Nov-07, at 4:07 PM, Thejaswi Puthraya wrote:
>> file_data = {'mugshot': {'filename':'face.jpg'
>> ... 'content': }}
>
> f = open("somefile.jpg","r")
> image_data = f.read()
>
> file_data = {'mugshot': {'filename': 'face.jpg', 'content':
> image_data}}
yes, I got t
> file_data = {'mugshot': {'filename':'face.jpg'
> ... 'content': }}
f = open("somefile.jpg","r")
image_data = f.read()
file_data = {'mugshot': {'filename': 'face.jpg', 'content':
image_data}}
Cheers
Thejaswi Puthraya
--~--~-~--~~~---~--~--
On Wed, 2007-11-14 at 10:15 +0100, Jens Diemer wrote:
>
> I would like to escape the data from a model attribute...
>
> Here a example:
>
>
>
> Old model:
> -
> class Page(models.Model):
> ...
> name = models.CharField()
>
On Nov 14, 11:16 am, "jhon.bowl" <[EMAIL PROTECTED]> wrote:
> On Nov 13, 2:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> >http://www.verticity.com
>
> > On Nov 13, 2:26 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > Verticity is currently hiring software eng
I would like to escape the data from a model attribute...
Here a example:
Old model:
-
class Page(models.Model):
...
name = models.CharField()
...
-
I have
Hello Malcolm,
thank you for your reply.
Sorry, that I explained my problem too bad. In the meantime I found
the solution for my problem and It's really simple.
And it's a embarrassing situation for me, because the solution is
documented:
http://www.djangoproject.com/documentation/templates_pytho
49 matches
Mail list logo