Thanks Karen...
My issue has been solved. I used Dojo widgets in my template instead of
Django widgets. Then those reprinted data were not displayed. But when I
removed Dojo widgets, it is working properly.
Can you suggest an efficient way to integrate Django and Dojo, any links or
tutorial?
On Thu, May 8, 2008 at 1:00 AM, leppy <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I have a model 'Person' in my application as follows:
>
> class Person(models.Model):
>name = models.CharField(max_length = 100)
>address = models.CharField(max_length = 800)
>phone =
Hi everyone,
I have a model 'Person' in my application as follows:
class Person(models.Model):
name = models.CharField(max_length = 100)
address = models.CharField(max_length = 800)
phone = models.CharField(max_length = 15)
Next, I have created a modelform,
class
I'm trying to write a custom bittorent tracker, and the one of the
main parameters (info_hash) is getting mangled in django, at least
from what I can see.
here is the URL for testing
On 07-May-08, at 9:48 PM, rcs_comp wrote:
> response. My question has to do with the code that runs the
> djangoproject.org website. It can be found in the django SVN
> repository. I am wondering if I could look at that code and assume
> that it was using "best practice" principles?
afaik,
Hi Tkm,
That did the trick!
I actually had a symlink in /usr/local/bin, but it wasn't correctly
formatted. I must have misread the `pwd` phrase in the symlink
command.
Many thanks,
LRP
On May 7, 8:21 pm, "Bruno Tikami" <[EMAIL PROTECTED]> wrote:
> Hello LRP,
>
> Your problem is not with
Hello everyone, I noticed that Django tagging uses a custom field
called TagField that allows you to insert tags directly relating to
your application you inserted TagField in. Is there an easier way of
accomplishing the same type of results that django tagging does with
Tagfield()? I want to be
> Three hours is not sufficient time to come to any conclusion about whether
> anyone on this list has input on the problem. Everyone here is responding
> in spare time, which may be precious little.
>
> Can you recreate this problem on newforms-admin? That's where any fix would
> be made, if
Thanks Doug,
I'm going to try to produce a sql copy-able file and get indexes/fkeys
later.
About debugging, i run the import script from the command line, but do
have DEBUG on in my settings file. Does this affect the postgresql
debug log?
Rahul
On May 7, 5:35 pm, Doug B <[EMAIL PROTECTED]>
Does django-admin.py have execute permissions? Does the #! line at the
top point to where your python interpreter lives?
On May 7, 6:46 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I'm setting up a dev environment on a co-worker's Mac running 10.5.2
>
> I have Django
I have a feeling we'll be rolling our own for this one. It's a lot of
extra work though :-/ Has anybody else run into this issue?
On May 7, 1:41 pm, "Jonas Oberschweiber" <[EMAIL PROTECTED]>
wrote:
> I'm at a very similar point in development. To me the only way seems
> to be to alter the user
I have a feeling we'll be rolling our own for this one. That's a lot
of time to invest though :-/ At least the admin will still be usable.
Has anybody else run into a similar scenario?
On May 7, 1:41 pm, "Jonas Oberschweiber" <[EMAIL PROTECTED]>
wrote:
> I'm at a very similar point in
I have to deal with something like this at work, what I did was just
ripped off the little magnifying glass thing the admin site uses when
you use raw_id_admin. It's not exactly what you're looking for, but it
has the same result.
On May 6, 12:12 pm, Dan Conner <[EMAIL PROTECTED]> wrote:
>
Julien wrote:
I'm using EmailMessage to send a newsletter. It works fine except that
some characters are escaped in the plain text version. For exemple,
"é" becomes "".
If you are using the django template engine to build the body of your
emails, you can either use the 'safe' template
On Wed, May 7, 2008 at 9:52 PM, metvop <[EMAIL PROTECTED]> wrote:
>
> ..maybe this weird FloatField floats vs. Admin Int thing has carried
> over without notice?
>
> Or maybe I have my wires crossed (Duh)?
>
> What, this rings no bells and I have file a ticket on this bee-otch?
>
Three hours is
On Wed, May 7, 2008 at 4:21 PM, Alessandro Ronchi
<[EMAIL PROTECTED]> wrote:
> I want to make the change of the password possible only for administrators
> and
> not the whole staff. Is it possible? How I can do that?
How do you currently allow staff to change password?
Ronny
On Wed, May 7, 2008 at 6:53 PM, marcoshernandez <[EMAIL PROTECTED]> wrote:
> I have a legacy database in mysql and i tried to create the models
> with the manage.py inspectdb --settings =path.to.settings command, but
> the script crashes and says MySQLdb module doesn't exists (literally
> it
On 07-May-08, at 12:50 PM, shabda wrote:
> Please take it for a spin. Feedback, patches welcome. :)
cool. s/dicussion/discussion/
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/code/
--~--~-~--~~~---~--~~
You received this message
..maybe this weird FloatField floats vs. Admin Int thing has carried
over without notice?
Or maybe I have my wires crossed (Duh)?
What, this rings no bells and I have file a ticket on this bee-otch?
--~--~-~--~~~---~--~~
You received this message because you
On Wed, May 7, 2008 at 3:29 PM, Florian Lindner <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have an Comment class that is part of an Entry class:
>
> class Comment(Model):
> blogEntry = ForeignKey(Entry, edit_inline=STACKED, num_in_admin=1)
> author = CharField("Name", max_length=100,
Hello LRP,
Your problem is not with yout PYTHONPATH but with your user's profile PATH.
If your Debian can't find django-admin.py it's because it's not on your
"bin" directory (which usually is /usr/bin but can also be in
/usr/local/bin). Synlink django-admin.py into /usr/bin (once you've already
Hello,
I've been trying to load the development version of django onto Debian
testing (lenny).
I've successfully loaded and tested postgresql. And I've successfully
downloaded django from subversion into my home directory:
[EMAIL PROTECTED]:~/django-trunk/django/bin$
Following this model in
.. using sqlite
--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
>
> It seems there is some recasting going on that makes all floats
that is, all floats ending in zero
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
checked the ticket tracker and didn't see anything as well asked on
#django..
Using Django 0.96 it seems that when I edit a table row using the
Admin any float ending in zero shows up in the form as an int. When I
save the thing and then check the history link, it shows that the
field has been
I have a legacy database in mysql and i tried to create the models
with the manage.py inspectdb --settings =path.to.settings command, but
the script crashes and says MySQLdb module doesn't exists (literally
it says: "Error loading MySQLdb module: %s" % e
I am using a old SVN version dated 11/2007 [VERSION = (0, 97, 'pre')].
I guess that does not matter any more.
Thanks for all these replys, which do make me feel better now. I am
not knowledgable enough for web security, so I am indeed thrilled when
our security guy tell me there is a "XSS"
Hello everyone,
I'm setting up a dev environment on a co-worker's Mac running 10.5.2
I have Django cehcked out from trunk, and symlinked into Python 2.5.2.
I can successfully import Django from within a Python terminal
session.
I have django-admin.py symlinked from the trunk checkout to
On May 6, 4:44 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> Well - there is one other way: the default argument on a field. For example:
>
> position = models.IntegerField(blank=True, default=1)
>
> You can also pass a callable:
>
> from datetime import datetime
> ...
> pub_date =
I think the tag you're looking for is "cycle":
http://www.djangoproject.com/documentation/templates/#cycle
That's most convenient when interfacing with CSS stuff, so you could
do something like:
> {% for menuitem in paginator.object_list %}
>
which would put your in a different class
I also recommend you to use Django's EmailMessage class and its
derivatives [1], as they handle unicode perfectly; they also reduce
your code for sending emails to a couple of lines, which is always
good.
[1] http://www.djangoproject.com/documentation/email/#e-mail-messages
On May 8, 3:26 am,
I think you may need to consider looking outside the ORM for imports
of that size. I was having trouble with only about 5 million rows,
and got a reasonable speed up doing executemany. It was still slow
though. I ended up redesigning to eliminate that table, but from what
I read in trying to
it was "sqlite3.bin" as the last thing I did was put in the same
directory as the settings.py file and it is a .bin extension
On May 7, 9:02 pm, Kevin Monceaux <[EMAIL PROTECTED]> wrote:
> Sebey,
>
> On Wed, 7 May 2008, sebey wrote:
>
> What do you have for your DATABASE_NAME in your settings.py
I have a template as such:
---
|
TITLE|
|--|
|| |
||
| Item 1
it was "sqlite3.bin" as the last thing I did was put in the same
directory as the settings.py file and it is a .bin extension
On May 7, 9:02 pm, Kevin Monceaux <[EMAIL PROTECTED]> wrote:
> Sebey,
>
> On Wed, 7 May 2008, sebey wrote:
>
> What do you have for your DATABASE_NAME in your settings.py
I'm at a very similar point in development. To me the only way seems
to be to alter the user database and roll my own login methods. This
would probably work, but just does not feel right. I'm pretty new to
Django, is there something I'm missing? Or is rolling your own really
the only way to
Yes, I see where you are going, but to be precise, and I think we
should so that people do not start saying 'Django is susceptible to
XSS!' it is the other site that would most likely be vulnerable to
XSS. You would have to go to that site and click a link imbedded
somewhere, and then for no
it was "sqlite3.bin" as the last thing I did was put in the same
directory as the settings.py file and it is a .bin extension
On May 7, 9:02 pm, Kevin Monceaux <[EMAIL PROTECTED]> wrote:
> Sebey,
>
> On Wed, 7 May 2008, sebey wrote:
>
> What do you have for your DATABASE_NAME in your settings.py
it was "sqlite3.bin" as the last thing I did was put in the same
directory as the settings.py file and it is a .bin extension
On May 7, 9:02 pm, Kevin Monceaux <[EMAIL PROTECTED]> wrote:
> Sebey,
>
> On Wed, 7 May 2008, sebey wrote:
>
> What do you have for your DATABASE_NAME in your settings.py
I had a similar problem. Adding basic.inlines to your installed apps
seems to fix things.
On May 6, 3:51 am, labtjd <[EMAIL PROTECTED]> wrote:
> I installed the basic blog app, and it works mostly fine, except that
> it is somehow connected to beautiful soup.
> I also downloaded beautifulsoup
As a follow up, is there a way to have django generate foreign keys as
alter table constraints (it does it for some constraints but not
others) rather than
inline 'references' in create table?
On May 6, 11:38 pm, RahulDave <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have an application which looks
Isn't it just a matter of session id cookie name? You should have
different session id cookies for java app server and django.
On May 7, 12:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Ahh, I figured it out. There was a java app server running on this
> machine before and I for some
I am building a very complex web app with django, filled with
ajax-calls and javascript widgets. I use a bit of jQuery, some YUI
and many extJs widgets. Other than adding classes to fields in my
forms, I do all of the widget stuff on the client side. Seems easiest
to me.
-richard
On 5/7/08,
On Wed, May 7, 2008 at 3:18 PM, Richard Dahl <[EMAIL PROTECTED]> wrote:
> If I said that this condition is indicative of an XSS attack vector I
> may as well say that Apache is vulnerable to a Denial of Service
> attack because 'after I ran apachectl stop, I could no longer get to
> my
Remember though, that the script came from the user in question,
entered into the address bar, the 'next' parameter (to my knowledge)
does not persist and cannot be sent to another user. Therefore, if
you want to go ahead and make sure the 'next' variable is escaped,
great, but it is not really
Also, for future reference, please remember that if you think you've
found a security problem in Django the correct action is to send email
to [EMAIL PROTECTED]
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
Sebey,
On Wed, 7 May 2008, sebey wrote:
What do you have for your DATABASE_NAME in your settings.py file?
> sqlite3.DatabaseError: file is encrypted or is not a database
It looks like it's pointed to an existing file that's not an SQLite file.
It should look something like:
DATABASE_NAME =
On Wed, May 7, 2008 at 2:51 PM, Richard Dahl <[EMAIL PROTECTED]> wrote:
> Excellent, good catch, when logged out it does indeed display the
> alert, I image it has to do with the 'next' property, which is not, I
> believe, escaped, as it is not entered into the DB or presented to any
> other
-richard,
On Wed, 7 May 2008, Richard Dahl wrote:
> I am not sure exactly what you mean by 'not step on each others toes'
> What exactly are you concerned with? You could very easily have a form
> with 4 phone number fields: home, office, mobile, fax; using jQuery's
> .class selector i.e.
Excellent, good catch, when logged out it does indeed display the
alert, I image it has to do with the 'next' property, which is not, I
believe, escaped, as it is not entered into the DB or presented to any
other user. So again, it begets the question: How is the XSS attack
possible?
WARNING!
ok so created my project for the tut and I am using SQLite and I have
tried to syncdb it but
"" sebastian-stephensons-computer:~/Sites/ubertester sebey$ python
manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File
I am not sure exactly what you mean by 'not step on each others toes'
What exactly are you concerned with? You could very easily have a
form with 4 phone number fields: home, office, mobile, fax; using
jQuery's .class selector i.e. $(".phone").mask("(999)999-");
you could find all of the
It does work, make sure you're not logged in.
$ lynx -source -dump
http://localhost:8000/admin/%22%3E%3Cscript%3Ealert%283939%29%3C/script%3E/
| grep alert
alert(3939)/" method="post"
id="login-form">
On May 7, 9:10 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Wed, May 7, 2008 at 1:45
I'm using 7510. Script is executed for me.
You need to be logged out, then it displays a log in window, with an
alert box.
On May 7, 12:10 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Wed, May 7, 2008 at 1:45 PM, mw <[EMAIL PROTECTED]> wrote:
> > It worked for me and I have one of the
Hello,
I have an Comment class that is part of an Entry class:
class Comment(Model):
blogEntry = ForeignKey(Entry, edit_inline=STACKED, num_in_admin=1)
author = CharField("Name", max_length=100, core=True)
authorMail = EmailField("E-Mail", blank=True)
creationDate =
I don't understand how this becomes an XSS vulnerability, XSS attacks
work by having malicious scripts executed by another user. Key word
being 'another'. If this works (it gives me a 404) this is an example
where you can XSS attack yourself, but there is no reasonable what to
necessarily
I haven't looked in to the project much myself, but Sphene Community
Tools seems to have a django-based wiki (http://sct.sphene.net/wiki/
show/Wiki/).
On May 7, 3:20 am, shabda <[EMAIL PROTECTED]> wrote:
> Wanted to announce Djikiki - A Django based wiki to the community.
> Looks like there is
On Wed, May 7, 2008 at 1:45 PM, mw <[EMAIL PROTECTED]> wrote:
> It worked for me and I have one of the fairly recent copies from SVN.
> (not like today up to date, but pretty up to date)
Visiting the precise URL he pasted, in current Django trunk (SVN
revision 7514), I get a 404.
And I can't
On Wed, May 7, 2008 at 2:06 PM, DuncanM <[EMAIL PROTECTED]> wrote:
> Would I have to create a template tag, or is there anyway of just
> sticking it straight into the template?
>
> Something similar to what the following php returns:
> date("F j, Y");
You probably want to read the list of
Hi there,
I'm wanting to display the durrent day, month and year on my site and
wanted to know the easiest way to do it.
Would I have to create a template tag, or is there anyway of just
sticking it straight into the template?
Something similar to what the following php returns:
date("F j,
It worked for me and I have one of the fairly recent copies from SVN.
(not like today up to date, but pretty up to date)
On May 7, 12:34 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Wed, May 7, 2008 at 12:31 PM, Chunlei Wu <[EMAIL PROTECTED]> wrote:
> >
This post[1] seems to have the same issue. Ticket 6063, which was
fixed at rev.6895.
Problem is that the whole project is written for 0.96.1. Any way this
can be fixed in 0.96.1?
[1]
On Wed, May 7, 2008 at 12:31 PM, Chunlei Wu <[EMAIL PROTECTED]> wrote:
> /admin/index.php/%22%3E%3Cscript%3Ealert%283939%29%3C/script%3E/
>
> I am surprised the passed javascript code is indeed executed. Can
> somebody verify that? Is it a big threat?
Which version of Django is this happening
We built a Django based website with default "/admin" turned on. But
our security guy points out the url at "/admin" has XSS issue, e.g,
through the link below:
/admin/index.php/%22%3E%3Cscript%3Ealert%283939%29%3C/script%3E/
I am surprised the passed javascript code is indeed executed. Can
we use this http://www.djangosnippets.org/snippets/285/ as a base and
made it work for us. templates are stored in the database so our users
can "edit" the html email and text email templates with a list of
"variables" they can use.
Works quite well .. and now even with out acii/unicode errors by
Django Fans,
Could someone point me at some examples of custom widgets that use
jQuery, or other javascript libraries if there's a better choice. For
example, if I wanted to create a phone number widget using jQuery's masked
input plugin, what would be the best way to go about it. I've just
Hi everybody!
I'm suffering a problem trying to use the Spanish localflavor fields,
but I think that it is not my fault. I'm using neforms-admin branch. I'm
using this source code in the admin.py file:
from django.contrib.localflavor.es import forms as es_forms
from django.contrib import
Eric/r.tirrell,
That worked like a charm. Thanks a bunch!
However, I did have to add distinct() at the very end of the call,
otherwise, I was getting back as many duplicates of a City as there
were Jobs in that city.
Any reason why?
On May 7, 9:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
I would look at James Bennet's applications(django-registration,
comment-utils, etc.) as good examples of reusable applications.
On May 7, 11:18 am, rcs_comp <[EMAIL PROTECTED]> wrote:
> Myles,
>
> Thanks for the reply, but I am not sure that I understand your
> response. My question has to do
Myles,
Thanks for the reply, but I am not sure that I understand your
response. My question has to do with the code that runs the
djangoproject.org website. It can be found in the django SVN
repository. I am wondering if I could look at that code and assume
that it was using "best practice"
I would suggest running from trunk but not doing a cron update. There
have been a few minor api changes that have screwed up some of my
applications.
---
Myles Braithwaite
[EMAIL PROTECTED]
Please consider the trees before print this email.
On 7-May-08, at 11:59 AM, rcs_comp wrote:
>
> Ok,
Ok, quick question about the Django website code: is it running the
latest development version of Django? I am not sure how to tell
that. 2nd, can I assume the website code would be a good source of
"best practice" examples?
If its not a good example, where could I find a good up-to-date
Cliff,
I just looked at my table and the type is varchar(100). Not sure why
the type is a varchar when the field is a DateTime. I tried changing
the table but wasn't able to change the type to date. I'll brush up
on my SQL and hopefully be able to change the type. I'll let ya know.
Thanks
On Wed, 2008-05-07 at 07:37 -0700, Greg wrote:
> Karen,
> Here is the error that I'm getting:
>
> //
> Enter a valid date in -MM-DD format.
> //
>
> I'm using SQLite
Go into the database shell using `manage.py dbshell` and type `PRAGMA
TABLE_INFO(your_table_name);`. If you're unsure what
yea, i never go as far to check html either.
ill take some of your thoughts and blend it into my process
as far as the strings go. thanks a ton, it all makes sense since
strings are immutable.
=)
On May 6, 11:51 am, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> phillc wrote:
>
> > first:
>
>
On Wed, May 7, 2008 at 10:37 AM, Greg <[EMAIL PROTECTED]> wrote:
>
> Karen,
> Here is the error that I'm getting:
>
> //
> Enter a valid date in -MM-DD format.
> //
>
This is from when you try to save it with a value of True?
> I'm using SQLite
>
> Not sure what version of django I'm
Christopher Mutel wrote:
> Hello all-
>
> I have tried a couple of tips found on the list to solve my problem
> with circular model imports, but with no lucks. Here is my basic
> schema:
>
> #foo/models.py
>
> from bar.models import Formula
>
> class Variable(models.Model):
> amount =
Karen,
Here is the error that I'm getting:
//
Enter a valid date in -MM-DD format.
//
I'm using SQLite
Not sure what version of django I'm using. I did an svnup about a
month ago
On May 7, 9:11 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Wed, May 7, 2008 at 10:00 AM, Greg
On Wed, May 7, 2008 at 10:00 AM, Greg <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I'm having a problem with the value of my DateField changing to 'True'
> from '-MM-DD' when I save my record. Below is my model file:
>
> ///
> class Test(models.Model):
>mytest = models.DateField()
> ///
>
>
As far as I know, that's fine. Michael J. could use
City.objects.exclude(jobs_isnull=True) to accomplish what he seemed to
be going for.
On May 7, 2:09 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote:
> I've been using something like:
>
> City.objects.filter(jobs__isnull=True)
>
> It seems to
Hello,
I'm having a problem with the value of my DateField changing to 'True'
from '-MM-DD' when I save my record. Below is my model file:
///
class Test(models.Model):
mytest = models.DateField()
///
When I add a new record in my admin and select 'Today' next to my
DateField then the
> Any thoughts on how to fix this?
It sounds like you already have it working, but I think the problem is
you're setting the MEDIA_URL with the 8000 port... Which won't hit
Apache (most likely running on 80), but instead the built-in Django
server. You could simply use 'http://localhost/media'
omg I am such a noob.
Thanks man. Your clutch email allowed me to complete another page
while on the train today =P
On May 7, 2:36 am, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On May 7, 4:34 am, Roboto <[EMAIL PROTECTED]> wrote:
>
> > I know the built in django server cannot host static
On 07-May-08, at 12:49 PM, oliver wrote:
> Now this all works fine till I get a non English PC using this (the
> error below is from our very basic contact form!)
>
> Exception Type: UnicodeEncodeError at /contact-opal-students/
> Exception Value: 'ascii' codec can't encode character u'\xb4' in
Hello all-
I have tried a couple of tips found on the list to solve my problem
with circular model imports, but with no lucks. Here is my basic
schema:
#foo/models.py
from bar.models import Formula
class Variable(models.Model):
amount = models.FloatField(null=True)
is_formula =
I'm building an application where each customer has an account in the
system. That account has multiple users in it, each with their own
username and password. Every account is a separate entity which will
have no knowledge of other accounts or their data.
Since each customer has their own
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I want to make the change of the password possible only for administrators and
not the whole staff. Is it possible? How I can do that?
- --
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net - Il mio blog
http://www.soasi.com -
How about result_set.count()>0, if it's a queryset object, or
len(result_set)>0 if it's a list?
On May 7, 5:05 pm, "Guillaume Lederrey" <[EMAIL PROTECTED]>
wrote:
> 2008/5/6 jwwest <[EMAIL PROTECTED]>:
>
> > What's the preferred method of checking to see if a result set is
> > empty in a view?
Hi Julien,
thanks for that! it solved it! but I still don't quite get why this
would trigger the error. As all the data should already be in
unicode?
thanks again!
o
On 7 May, 09:00, Julien <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The strings you are saving into database may need to be encoded to
Hi,
I'm using EmailMessage to send a newsletter. It works fine except that
some characters are escaped in the plain text version. For exemple,
"é" becomes "".
Do you know how I can avoid that?
Thanks a lot,
Julien
--~--~-~--~~~---~--~~
You received this message
Hi,
The strings you are saving into database may need to be encoded to
UTF-8 first, e.g: "A string".encode('utf-8')
Julien
On May 7, 5:21 pm, oliver <[EMAIL PROTECTED]> wrote:
> as an extra note, all Tables and Fields involved in this are set to
> Utf8 / unicode.
>
> On 7 May, 08:19, oliver
as an extra note, all Tables and Fields involved in this are set to
Utf8 / unicode.
On 7 May, 08:19, oliver <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am building a fairly large website but I have come a cross one very
> odd error.
> We build a simple email record model that has a custom def save()
Wanted to announce Djikiki - A Django based wiki to the community.
Looks like there is no Django wiki, well apart from [1]. I had this
done a few months ago, but I wanted to polish thing up a bit before I
announced it here, but I guess right now I am going to be sorta busy
for a long time with
Hi,
I am building a fairly large website but I have come a cross one very
odd error.
We build a simple email record model that has a custom def save()
function which when called creates a new Record and fires of the
email(s).
Now this all works fine till I get a non English PC using this (the
2008/5/6 jwwest <[EMAIL PROTECTED]>:
> What's the preferred method of checking to see if a result set is
> empty in a view? For instance, I'm writing blog software and have a
> view by year method. If there are no posts, I want to raise a http404.
>
> I've tried == {} and == [] to no avail.
On May 7, 7:45 am, David Zhou <[EMAIL PROTECTED]> wrote:
> It works for me. Here's the body of that post:
>
> * Support formod_wsgi: Setting up a default Django app withmod_wsgi
> is now an option in our one-click installer. So if you prefermod_wsgi
> over mod_python you will no longer have to
I've been using something like:
City.objects.filter(jobs__isnull=True)
It seems to work, but I'd really like to know if this is undesirable
for any reason.
On May 6, 2008, at 8:05 PM, Dmitriy Kurilov wrote:
>
> Hi.
>
> # models
>
> class City(models.Model):
># Fields...
>
> class
97 matches
Mail list logo