you might want to check out hugo's dbtemplate loader (which I
updated to work with the current trunk)
http://svn.zyons.python-hosting.com/trunk/zilbo/common/dbloader/
that way you can store the templates themselves in a database, which
might make life a bit more easier.
regards
Ian
::https, open-uri and the rio library."
> (http://www.juretta.com/log/2006/08/13/ruby_net_http_and_open-uri/)
>
> I would like django to connect to gmail via HTTPS and get the contact
> list of a user. I used to do it with PHP+Curl. Is there a library in
> django like curl?
>
t the code involved, I'm not sure why
you'd be getting an error, but you should be okay if you leave the
validation out.
ImageFields automatically have isValidImage added to their validator
list when the upload form is processed, so you don't need to specify
it expli
call.
>
> Regards,
> Dirk
> --
>
>
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>
> >
--
Ian Holsman
[EMAIL PROTECTED]
http://economy-chat.com It's what the economists ta
//www.atmarkit.co.jp/flinux/special/webdav03/webdav01a.html
describes something similar to what you want by the looks of the
pictures (but in japanese)
>
> That said, Googling "python webdav server" gives me http://
> sandbox.xerox.com/webdav/, which at first glance might be what yo
you might want to check out FeedJack http://www.feedjack.org/
it's done a lot of stuff in that area.
regards
Ian
On 24/08/2006, at 5:42 PM, a wrote:
>
> hi guys how do i import opml file in django
> using syndication
>
> i m tryin to build an rss reader
> thanks
&
x27;[EMAIL PROTECTED]') and register.
It does that already.
it uses your secret-key as part of the crypt string.
--
Ian Holsman
[EMAIL PROTECTED]
http://VC-chat.com It's what the VC's talk about
--~--~-~--~~~---~--~~
You received this message becau
ll have to do it all in python, rather than sql, but you'll at
least have the full power of django's orm :)
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
gt;
> The old school solution was to surround the url with angle brackets
> <>. Intelligent mail readers would recognize this and display the url
> correctly.
>
> http://www.w3.org/Addressing/URL/5.1_Wrappers.html
>
> Why do people put angle brackets around :
>
> http:/
opies.
regards
Ian
On 28/08/2006, at 6:21 AM, Cole Tuininga wrote:
>
> Hi folks - I'm setting up Django with mod_python and I've come across
> a little problem. When using the admin area, I get an error in my
> apache logs. Here's an example:
>
> [Sun Aug 27 16:15:59 2006
this time, it does stop hundreds
of spams a day.
could you please.
a. post your patch to the developers list
b. email jacob to get your IP# white listed
Thanks for your understanding
the Django team
?
regards
Ian
On 02/09/2006, at 3:12 PM, Kenneth Gonsalves wrote:
>
>
> On 02-
it looks like it is on the cheese shop.
http://cheeseshop.python.org/pypi/PyCAPTCHA/0.4
with the download here
http://cheeseshop.python.org/packages/2.4/P/PyCAPTCHA/PyCAPTCHA-0.4-
py2.4.egg#md5=cd6a31191c0dd3afee219886c936fcac
regards
Ian.
On 04/09/2006, at 8:18 PM, Aidas Bendoraitis wrote
he web browser.
>
> Can the HttpResponse returned by a View object contain an image? are
> there any examples?
> Is this possible and the best way to do it?
>
> thanks in advance
>
--
Ian Holsman
[EMAIL PROTECTED]
http://garden-gossip.com/ -- what's in your garden?
I started thinking of writing one, and have got the basic data model
and how I think it would operate worked out.
it's just a matter of getting enthused enough to actually sit down
and write it.
regards
Ian
On 07/09/2006, at 2:50 PM, Sean Schertell wrote:
>
> I wonder how man
o root required.
(It also uses mod-python)
regards
Ian
>
>
--
Ian Holsman
[EMAIL PROTECTED]
http://car-chatter.com/ where car fanatics meet
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django u
experience... use the standard auth app, and
possibly use some add on's
like http://svn.zyons.python-hosting.com/trunk/zilbo/common/
accounts/ to help manage the students
lost passwords etc.
regards
Ian
> That
> means that they would technically anonymous users, but with with a
&
I've nearly got something together now.
I just need to add some basic templates for it.
Give me a day or two to get it up ;-)
regards
Ian
On 11/09/2006, at 12:52 PM, Sean Schertell wrote:
>
> Okay then, let's do it :-)
>
> I can get started in October putting this to
the list of projects, so they
can find what they need.
regards
Ian.
> regards
>
> charles.
>
> - Original Message
> From: Marc Fargas <[EMAIL PROTECTED]>
> To: django-users@googlegroups.com
> Sent: Monday, September 11, 2006 1:26:25 PM
> Subject: Re: How abou
g a different version of
expat than what apache was... and the backtrace
helped as was segfaulting in a XML area.
regards
Ian
On 14/09/2006, at 1:42 AM, Richard Phelps wrote:
> Michael ,
> Some obscure (to me anyhow) tests failed for django. A fresh build
> (with the compiler used
why not build mod-proxy into the apache13 ?
that would be the simplest option.
regards
Ian
On 15/09/2006, at 2:50 PM, [EMAIL PROTECTED] wrote:
>
> Hi guys,
>
> I need to install a django app onto a client's cpanel box. I have root
> access and can install whatever's n
n (3) after 24 hours or so (so that
> they have to keep an attacking page up longer).
in my experience, this isn't needed. most splogs just use
rel=nofollow on the link.
>
> Cheers,
> Malcolm
>
regards
Ian
--
Ian Holsman
[EMAIL PROTECTED]
<http://car-chatter.com/> where car
o\core\meta\__init__.py", line 1181, in
_throw_bad_kwarg_error
#raise TypeError, "got unexpected keyword argument '%s'" %
kwarg
#TypeError: got unexpected keyword argument 'place__exact'
Originally, I was going to ditch the use of OneToOne because I thought
I was simply using it incorrectly in my design... but after seeing
Mark's post and whipping up this example, I believe there is a bug.
I also hope my post clarifies not confuses Mark's post... because I
believe they are related issues.
regards,
-ian
'one_to_one' module: API test raised an exception
=========
Code: 'w'
Line: 42
Exception: File "C:\www\downloads\trunk\tests\doctest.py", line 1243,
in __run
compileflags, 1) in test.globs
File "", line 1, in ?
w
Nam
...
And I watching this ticket...
http://code.djangoproject.com/ticket/527
thanks!
Ian
Checkout:
http://www.djangoproject.com/documentation/django_admin/
You want the 'sqlclear' option which gives you the SQL needed. I just
copy and paste it into my mysql session or you could dump it into a
file and run that.
good luck!
ian
On 9/23/05, [EMAIL PROTECTED] <[EM
website:
http://clepy.org/
For meeting details, including a link to directions:
http://www.clepy.org/meetings/2005_10_06_mtg_details
regards,
Ian Maurer
The presentation and the zipfile containing my project can be found at my site:
http://itmaurer.com/blog/?p=1
Thanks to all who attended!
Ian
On 9/25/05, Ian Maurer <[EMAIL PROTECTED]> wrote:
> I am going to be doing a presentation on Django at the Cleveland Area
> Python In
nd the other related question i have is it possible for 2 different
apps to share a 'reference' table.
for exampel a product table which is used for editorial reviews in one app,
as well as a app which uses it to hold the latest prices from multiple
shops in another.
regards
(and thanks fo
I have created a simple write-up on how I am preparing my Django unit
tests to leverage sqlite's in-memory database:
http://itmaurer.com/blog/?p=2
Comments and suggestions welcome...
ian
and
form processing features of Django across multiple objects until this
ticket is finished?
thanks...
ian
That's a pretty slick implementation, I'd like to try it out... some questions:
Is it in a usable format?
Are there any directions for pulling this branch down to my local environment?
What happens if the main branch gets updated?
thanks...
ian
On 10/13/05, Robert Wittams <[EM
Easy enough. I will let you know if I run into any problems...
thanks again,
ian
On 10/13/05, Robert Wittams <[EMAIL PROTECTED]> wrote:
>
> Ian Maurer wrote:
> > That's a pretty slick implementation, I'd like to try it out... some
> > questions:
> >
>
I didn't get very far with the new branch. My template is failing to
render right off the bat... I haven't had a chance to investigate
this, but my templates were/are working just fine under the main
branch. Below is the end of my traceback... any thoughts?
-ian
return render_t
That fixed that bug. Thanks. Now I can move forward and test the rest.
I will provide more info the next time I run into a problem...
-ian
On 10/15/05, Robert Wittams <[EMAIL PROTECTED]> wrote:
>
> Ian Maurer wrote:
> > I didn't get very far with the new branch. My
is it possible?
or should I just 'explode' it out into sepearte classes (2 one to many
links to a seperate table)
regards
Ian.
--
[EMAIL PROTECTED] -- ++61-3-9877-0909
If everything seems under control, you're not going fast enough. -
Mario Andretti
hi.
I have a many to many table in django, which I'm having troubles updating.
class Keyword( meta.Model ):
URL = meta.URLField(core=True)
pagetype = meta.ForeignKey( PageType, verbose_name="the type of page")
regex = meta.CharField(maxlength=250)
to_match = meta.BooleanField()
the many to many has a custom update method which I
am calling in _post_save and not in the actual field's manipulator..
Is this correct?
is it as simple as just moving the code into tags manipulator???
regards
Ian.
On 10/17/05, Ian Holsman <[EMAIL PROTECTED]> wrote:
> hi.
>
>
Hi Qiangning
it has something to do with how django creates it's model classes.
if you look closer at the excpetion, you might be able to add the
import statements into the framework class itself.
personally I like boring.. boring doesn't call you in the middle of
the night ;-)
r
nit__.py is probably a good place ;).
thanks-
Ian
On 9/19/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 9/19/05, Ian Maurer <[EMAIL PROTECTED]> wrote:
> > But, I have a multitude of problems that I don't believe I had before
> > the recent model overha
Have you tried modifying/copying the file
$SRC//django/contrib/admin/templates/admin/base.html
if you modifiy your project settings file you can override this by
simply placing a file called
admin/base.html into your own template directory (before the standard one)
Cheers
Ian
On 10/28/05
The original english version is here:
http://itmaurer.com/clepy/htdocs/media/presentation/presentation.html
I am going to try and update it for the new settings stuff this
weekend. If anyone notices any other inaccuracies please send me an
email at [EMAIL PROTECTED]
thanks-
ian
On 10/28/05
is anyone else interested in joining? I was thinking of similar to
what phpBB does.
If so I propose we open up a sourceforge project, or perhaps we could
even host it on code.djangoproject.com if they let us ;-)
any volunteers?
regards
Ian
--
[EMAIL PROTECTED] -- ++61-3-9877-0909
If
m? ;) What can we offer by
> using Python/Django that the PHP-based boards don't have? Stuff like
> that :)
>
> Regards,
> Jeff
>
> On Oct 31, 2005, at 7:16 PM, Ian Holsman wrote:
>
> >
> > is anyone else interested in joining? I was thinking of similar to
for this would be for me to write applications like
mp3.com and tv.com.
On 11/1/05, Luke Plant <[EMAIL PROTECTED]> wrote:
>
> On Tue, 1 Nov 2005 11:16:14 +1100 Ian Holsman wrote:
>
> >
> > is anyone else interested in joining? I was thinking of similar to
> > what
I would like to volunteer to help wherever I can.
-ian
On 11/3/05, Waylan Limberg <[EMAIL PROTECTED]> wrote:
>
> On 11/3/05, Ian Holsman <[EMAIL PROTECTED]> wrote:
> >
> > Hi Luke.
> >
> > my aim is not to do a drop-in replacement for a phpBB. but more
/18/django-custommanipulators
where it adds a custom field to the manipulator to populate another
relationship. this might help.
regards
Ian
On 11/5/05, sarahwithanx <[EMAIL PROTECTED]> wrote:
>
> The generic views seem very limiting. Is there a way to include
> multiple objects i
Hi Adrian.
would it be too hard to just stick the 'user login' views in the main codebase?
regards
ian
On 11/13/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 11/12/05, Bryan Murdock <[EMAIL PROTECTED]> wrote:
> > How do I limit access to a generic view
Hi Colin.
as a point of reference I use Apache2 + mod-python on my OS/X box and
it works like a charm.
I would recommned people investigate this option as well.
regards
Ian.
On 11/16/05, Colin Howlett <[EMAIL PROTECTED]> wrote:
>
> Georg,
>
> I wasn't really complain
'site' is taken
into account?
regards
Ian.
--
[EMAIL PROTECTED] -- ++61-3-9877-0909
If everything seems under control, you're not going fast enough. -
Mario Andretti
couldn't we do something similar to get_active_site() call on the sites table?
that way people who need the 'request' object could just call it and
it wouldn't impact the api of anything else?
On 11/18/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 11/17/05, plisk <[EMAIL PROTECTED]> wrot
> Full information is here:
>
> http://snakesandrubies.com/event/
Is the site written in Django or Rails?
Just curious :P
hi David.
do you have a SVN url?
I'd love to replace moinmoin with a django wiki (i don't need much
from a wiki, so even a 20 minute one might be ok ;-)
regards
Ian
On 11/18/05, David Ascher <[EMAIL PROTECTED]> wrote:
> After watching the TurboGears 20 minute wiki screenca
Hi Patrick.
At the moment Django can not talk to 2 different databases.
If you need this, you might be able to get the data out of the 2nd
database via custom functions
which handle the db calls directly, or possibly futz with django/core/db
regards
Ian
but I would wait 12-24 hours until the
gery prevention compoent here:
http://lukeplant.me.uk/resources/csrfmiddleware/
regards
Ian.
On 11/26/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> hi,
> have been talking to some php folk about switching to django, but
> they have raised a serious concern: Django website
shouldn't a warning/informational message be generated in this case.
something like
$ django-admin install markup
INFO: no models found to install.. skipping markup
?
On 12/3/05, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On Dec 3, 2005, at 5:13 AM, James Bennett wrote:
> > While setting
Ha! Congressional voting by astrological sign!
The app overall is great ... nice work!
ian
On 12/6/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 12/5/05, Tom Tobin <[EMAIL PROTECTED]> wrote:
> > BTW, is there any particular reason the Recent Votes feed is in
from my understanding there is only way to get at it in the presave,
and that is to either set the field in middleware, or in the custom
manipulator before the object gets 'saved'
I blogged about it here
http://feh.holsman.net/articles/2005/12/07/some-basic-audit-functionality
and provided some c
personally I'm all for ease of use, and multiple versions of things,
and I'm REALLY happy if it is easy for someone to go and write their
own blog software.
for example.. I've been slowly getting a phpBB-like forum software up
and running for my own uses. and was planning to 'announce/release'
ne
infrastructure bit
- distributed login via a OpenID system.
The point I was trying to make it that django framework should
concentrate on building the common components that apps use, and then
concentrate on the full fledged applicaitons after that.
regards
Ian
On 12/14/05, Jeroen Ruigrok van
wouldn't you also need a cache-key as a parameter?
regards
Ian
On 12/15/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 12/13/05, oron <[EMAIL PROTECTED]> wrote:
> > coming from ROR where it's easy to cache partials (parts of templates)
> > I could
If you mean user as a regular user in the users table in the DB I
would hack up a mod_python handler to look at the hostname, and adjust
the session cookie accordingly.
see http://svn.zilbo.com/svn/django/snippets/modpython_apacheauth.py
for an idea on how to approach this.
if you are talking abo
if your view uses DjangoContext (which the generic views do I belive)
than the user is just
{{ user }}
so something like
{% for group in user.get_group_list %}
{{ group }}
{% endfor %}
should work.
regards
Ian
On 12/22/05, patrick k <[EMAIL PROTECTED]> wrote:
>
> while trying to
you to build a eCommerce
site are available.. you just need to build the app.
regards
Ian.
On 12/22/05, Michael Hipp <[EMAIL PROTECTED]> wrote:
>
> Jacob Kaplan-Moss wrote:
> >
> > On Dec 21, 2005, at 10:24 AM, Michael Hipp wrote:
> >
> >> How suitable i
hmm..
have you 'init'ed your database ? ( $ django-admin.py init)
also.. check out http://www.djangoproject.com/documentation/authentication/
and more specifically the get_profile() call.
regards
Ian
On 12/31/05, Andreas Neumeier <[EMAIL PROTECTED]> wrote:
>
> Hello Djan
hi Roy.
you should probably be trying the 4 tutorials and create the 'polls'
application first.
the django_website is not really designed for newbies, but more as a
reference on how to do things.
regards
Ian.
On 1/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> an
you can implement this with custom views.
just put a where clause when you retreive the object list, and check
the user-id when you retrieve it
and error out if it isn't the owner.
(or you haven't got the 'admin' flag set on your user)
regards
Ian.
On 1/6/06, [EMAI
Hi Feiyu.
the problem is the captcha validation is the manipulator out of scope
when the the validation is run.
there are 2 choices.
1. the captcha view should throw a validation error (not a 404)..
thats my bug, and I will fix it shortly. This will mean you will get
the error message on your
s from a
pager is not fun.
c) admins to dislike you even more than they would normally ;-)
regards
Ian
On 1/8/06, Eric Walstad <[EMAIL PROTECTED]> wrote:
>
> On Saturday 07 January 2006 02:17, WSobczuk wrote:
> > I'm not saying I wnat to send information to users, I'm
he, and creates the
user in django if it doesn't exist.
HTH
Ian
On 1/8/06, Brian Ray <[EMAIL PROTECTED]> wrote:
>
> Anouther issues with Authenticating this way, the Django user is still
> Anonymous although the REMOTE_USER is not:
>
> path:/Login/,
> GET:,
> P
On 1/6/06, FX <[EMAIL PROTECTED]> wrote:
>
> Hi Ian,
> Thanks for the prompt reply. (which time zone are you in?)
I live in Melbourne Australia.
>
> I made some modifications to your Django Captcha that might be useful,
> so I'm attaching the patch (generated by svn
That sounds like a great idea (working together), and personally I'm
not too hung up about which AJAX library I use, as long as it can do
the job (which most seem too for my simple things)
I like the idea of having one way of doing this across frameworks, it
makes them all simpler to learn and in
Hi Jason.
Your scenario only covers a very basic scenario, where 1 user can do
anything to a particular record.
It kind of falls down when you need to assign rights to actions.
ie..group/user X can add a new invoice, but only 'group/user Y' can
modify an existing invoice.
So while a constrained
If you are not really familiar with django, I would suggest you use the trunk.
it is better documented, and more people can help you out.
It is also painful debugging your code, only to find out it is a bug
in the framework which happened since the last SVN checkout..
On 2/9/06, ToddG <[EMAIL P
doesn't something like:
class TopTagsNodeUser(template.Node):
""" what is the root of this application """
def render(self, context):
user = context.get('user', None)
if user.is_anonymous():
return ""
return "User Prefs"+str(user)+"
"
work?
On 2/15/06,
Pick a application which is done nicely in some other language, and
try implementing it in django.
you could always help out with the django-forum project
or possibly a CRM like vtiger or sugarcrm would be nice as well.
regards
Ian
On 2/16/06, oggie rob <[EMAIL PROTECTED]> wrote:
>
&g
f you could email me your template (privately if you wish) I can try
to reproduce it on my setup.
Regards
Ian.
On 3/2/06, syhpoon <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I've tried django captcha
> (http://feh.holsman.net/articles/2005/12/15/django-captcha-app) but got
> str
there is no 'functionality' inside of django which does scheduling
automatically, or helps you with scheduling.
what people are doing is just writing python scripts and then
scheduling them via cron.
you could possibly also use the event scheduler in mysql 5.1 as well
if you like.
r
your setting file looks a bit funny.
> SetEnv DJANGO_SETTINGS_MODULE
> .home.Projects.django.myproject.settings
it should probably look like
> SetEnv DJANGO_SETTINGS_MODULE myproject.settings
regards
Ian.
On 3/15/06, Frank Miles <[EMAIL PROTE
et(cache_id)
if not value:
value = self.nodelist.render(context)
cache.set(cache_id, value, float(self.expire_time))
return value
Obviously you need to have cache enabled for this to work:
http://www.djangoproject.com/documentation/cache/
--
Ian Maurer
-
l from the field that I'm just missing? Or
is this this really the easiest way to do this?
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&quo
t; line if there's
nothing else in the class. That should be enough to get model into the
admin screens.
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
the admin index uses the verbose_name_plural attribute,
rather than verbose_name.
Bryan's right, you don't generally have to specify verbose_name, if
it's the same as your class name, but until version 2593, you had to
specify verbose_name_plural.
Update your local copy of m-r, and it should w
last week for both ways of doing this:
http://groups.google.com/group/django-users/browse_thread/thread/93c024f1523f5323/6bea5b407797e597
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
in Python 2.4:
>>> g = (x**2 for x in range(10))
>>> g
>>> g.next()
0
>>> g.next()
1
>>> g.next()
4
Check out http://www.python.org/dev/peps/pep-0289/ (Generator Expressions)
--
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~--
eral purpose
library that has no Django dependencies.
Maybe we can model (or at least learn from) the Perl OnlinePayment
library that is here:
http://420.am/business-onlinepayment/
I have also collected a few other links here:
http://del.icio.us/imaurer/creditcards
-ian
--~--~-~--~~-
that and it should work.
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.
you have
constructed yourself would be to have a template loader which searched
some sort of dictionary of previously-build template objects, but I
don't think that's available in django right now.
I'd love to be proven wrong, however. That would come
ld save other implementers some time.
Well, this thread likely won't stay active on the mailing list for
very long; you should look at creating a node on the Django cookbook
(at http://code.djangoproject.com/wiki/CookBook) with some sample
code.
Reg
r is just to pass. The save method has
to take the fields from the new_data dictionary, assign them to fields
in the original object, and call original.save().
Alternately, I think you could subclass yourmodel.ChangeManipulator,
and override the methods in there that you need to change, but I'v
ect_key)
original = manipulator.original
if request.POST:
# code here exactly like for AddManipulator
else:
errors = {}
new_data = original.__dict__
# generate and present form just like AddManipulator
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~--
Hi.
I did something similar to this a while back
I did it via a template tag.
you can read about it here:
http://feh.holsman.net/articles/2006/03/08/cross-tab-tag
regards
Ian.
On 4/25/06, Sam Tran <[EMAIL PROTECTED]> wrote:
>
> On 4/24/06, Malcolm Tredinnick <[EMAIL PR
to the handling of the 500 error template, or possibly indicates
another error in your application settings.
Ian
On Tue, Feb 21, 2012 at 10:36 AM, rabousha wrote:
> I am using django 1.1, with DEBUG = False, and
> TEMPLATE_CONTEXT_PROCESSORS is missing commas, all nonexistent URLs
> dis
to upgrade. Django 1.3 is almost a year old,
and is still the current version -- if you can wait a couple of weeks,
you'll see 1.4 released as well.
> With the commas missing, all requests to nonexistent URLs returned a
> 500 error.
>
>
> On Feb 22, 12:31 am, Ian Clelland wrote:
django-admin.py, rather than manage.py? manage.py knows
how to fund your settings files, and import all of your apps and check all
of your template dirs.
Try first running "manage.py makemessages -l fr" (since I suspect that your
site is already in French, you won't have to actually do
name attribute. That is why you are getting None when you try to retrieve
it from the POST dictionary -- the browser never sent it to the server.
I'm certain that you have additional issues with your view function, but
this is the reason for the error that you are seeing right now.
Ian
> *
our INSTALLED_APPS setting contain the apps that should be translated?
--
Regards,
Ian Clelland
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this
; To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
--
Ian
http://www.ianlewis.org/
oerce it into the ASCII range before you put it in the database.
As long as you remember to encode the data on save, and decode it (once!)
before displaying it, you should be able to get it to work.
Ian
> I may be forced into doing that it seems
> to make django even work. I tried t
jangoproject.com/ticket/16494, and
you can see the changes that were made for 1.4 here:
https://code.djangoproject.com/changeset/16829)
--
Regards,
Ian Clelland
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
t
handle Unicode well. In fact, it's one of the first things mentioned in the
docs:
http://docs.python.org/library/csv.html
Further down that page, though, is a snippet of code that you should be
able to use (search the page for "unicode_csv_reader")
If that doesn't work,
401 - 500 of 638 matches
Mail list logo