I have a "true" or "false" string coming in from an ajax call to my
view. I'm then turning around and directly assigning that string from
the front end to my model object and saving it.
Before the upgrade to django 1.0, the database happily accepted my
model object's value as 'true' or 'false' fo
You could try the template filter "unordered_list" too I believe
(haven't done it myself).
http://docs.djangoproject.com/en/dev/ref/templates/builtins/#unordered-list
Cheers
On Sep 11, 11:36 am, "Lance F. Squire" <[EMAIL PROTECTED]> wrote:
> Currently using Django version 0.96.3, on a Fedora 8
Hey all,
Wondering what the best technique would be to make sure that an entry
(such as a blog entry/story/etc...) with a datetime object 'pub_date'
does not show up on the front end if the pub_date is in the future. I
would assume using ".filter(...something...)" is the way to go but
what would
Ah, I figured it out.
class ProductImage(models.Model):
image = models.ImageField(upload_to='images', height_field='height',
width_field='width')
Example:
>>> p = ProductImage.objects.all()[0]
>>> p.image.height
250
>>> p.image.width
100
On Sep 12, 12:06 am, lingrlongr <[EMAIL PROTECTED]> w
Can someone explain how to use the height_field and width_field for an
ImageField as it would relate to this model:
class ProductImage(models.Model):
image = models.ImageField(upload_to='images')
The explanation in the documentation is:
Name of a model field which will be auto-populated with t
I've done this - not specifically with AS400 - but with a couple of
obscure databases.
Basically you need to work out ODBC part first. Get your basic
connection working. Once that is done I recommend mx.ODBC as a good
python interface that is the most robust I've found with commercial
support if
On Fri, Sep 12, 2008 at 2:36 AM, Lance F. Squire <[EMAIL PROTECTED]> wrote:
>
> Currently using Django version 0.96.3, on a Fedora 8 system.
>
> I've currently set-up models for 'Manufacturer' and 'System'. System
> has a Foreignkey to Manufacturer.
>
> I'd like to display a list like so:
>
> Manu
If you use a model form it will also be validated.
On Sep 11, 9:41 pm, "Chris Stromberger" <[EMAIL PROTECTED]>
wrote:
> Curious about using "unique" in a column definition of a model for a legacy
> db. My assumption is that "unique" only comes into play during db creation,
> to create the index
Is there a way to see if a filed changes between iterations?
That is, I pass the Systems list to the template sorted by
Manufacturer and name. The template then only displays the new
Manufacturer name when it changes?
I thought I saw something like that somewhere, but can't find it
now
Lanc
On Sep 12, 2008, at 6:05 AM, Malcolm Tredinnick wrote:
>
>
> On Thu, 2008-09-11 at 17:27 -0400, Steve Holden wrote:
> [...]
>> I've got some timings lying around somewhere that clearly show the
>> decorate/sort/undecorate implementation is way faster under normal
>> circumstances.
>
> True. That
2008/9/11 Chris Stromberger <[EMAIL PROTECTED]>:
> Curious about using "unique" in a column definition of a model for a legacy
> db. My assumption is that "unique" only comes into play during db creation,
> to create the index on the field, and thereafter uniqueness is enforced by
> the db? Or d
Thanks for the link, some good info in there. Not quite the "Django
Fancy Forms" framework I'm dreaming of, but definitely helps in a big
way... ;)
Ron
On Sep 11, 1:38 am, Dave <[EMAIL PROTECTED]> wrote:
> On Sep 11, 7:54 am, Ron W <[EMAIL PROTECTED]> wrote:
>
> > Trying to prevent some wheel-re
Thanks very much for the replies. I was really considering Vellum,
and I still am.
But, that was a very informative post from Kevin on zc.buildout. I'll
have to give
both a look.
Look forward to your blog post Dan!!
cheers
gene
On Sep 10, 9:58 pm, Dan Fairs <[EMAIL PROTECTED]> wrote:
> > I h
Curious about using "unique" in a column definition of a model for a legacy
db. My assumption is that "unique" only comes into play during db creation,
to create the index on the field, and thereafter uniqueness is enforced by
the db? Or does unique in a model affect creation of new model objects
On Sep 12, 10:35 am, "Chris Spencer" <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 11, 2008 at 6:16 AM, Graham Dumpleton
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > Be aware that Apache/mod_wsgi in embedded mode on UNIX is going to be
> > multiprocess. Thus where you think it is being loaded on every
> >
On 2008-09-09 at 22:46:52 -0700, Samuel Mathieson wrote:
> Date: Tue, 9 Sep 2008 22:46:52 -0700 (PDT)
> To: Django users
> From: Samuel Mathieson <[EMAIL PROTECTED]>
> Subject: validation inline
>
> Hello, I am trying to get some sort of validation inline for the
> admin:
>
>
> The validation
I had quite a bit of trouble with Apache/mod_python on Leopard as
well. I had to go back to using the default Apache 2 and stock python
2.5. I also had to rearrange things a bit in the path and ended up
putting a symlink in /Library/Python/2.5/site-packges/django to ~/src/
django-trunk/djan
I don't think Django can natively use unixODBC as it's ORM backend,
unfortunately. It would be great if it did!
You could Django without the ORM, of course. To connect from a Win
server (why would want to do that? ;), you could use ClientAccess. To
connect from Linux, you could use IBM's Li
On Thu, Sep 11, 2008 at 6:16 AM, Graham Dumpleton
<[EMAIL PROTECTED]> wrote:
> Be aware that Apache/mod_wsgi in embedded mode on UNIX is going to be
> multiprocess. Thus where you think it is being loaded on every
> request, it is more likely just the result of the various processes
> loading the
On Fri, Sep 12, 2008 at 7:35 AM, Denali Lumma <[EMAIL PROTECTED]> wrote:
>
> Hi There,
>
> I am trying to use the TestClient class to validate some of our
> pages. It seems to work OK for pages which don't require
> authentication.
It should work fine for pages _with_ authentication, too; you j
Hi There,
I am trying to use the TestClient class to validate some of our
pages. It seems to work OK for pages which don't require
authentication.
I am aware of the test database which is created and used in the
TestClient run, however, we have a special set up here. We are not
using any o
Probably not exactly what you are looking for, but check out:
https://pycon.coderanger.net/
-cjlesh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
Hi,
There was a django calendar app but it is in 'rewriting' right now
and will be released soon (from what i heard).
For now i built mine based on this snippest
http://www.djangosnippets.org/snippets/129/
Greg
On Sep 11, 5:59 pm, Marcus <[EMAIL PROTECTED]> wrote:
> Hi -- django newbie here put
Fantastic, thanks for the info.
On Thu, Sep 11, 2008 at 4:19 PM, Karen Tracey <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 11, 2008 at 3:32 PM, Chris Stromberger <
> [EMAIL PROTECTED]> wrote:
>
>> I'm wanting to use Django with a preexisting db. The db features a
>> linking table (Many to Many). I'
> Yeah, ... a super user could have all permissions that are defined
> in a project for example. Wait a moment -- that's already true today!
> (See the User has_perm method)
He will have all permissions that will exist in the future too.
--~--~-~--~~~---~--~~
You
On Thu, 2008-09-11 at 17:27 -0400, Steve Holden wrote:
[...]
> I've got some timings lying around somewhere that clearly show the
> decorate/sort/undecorate implementation is way faster under normal
> circumstances.
True. That's a very important point. Even in the good old days before
sort() dev
On Thu, Sep 11, 2008 at 3:32 PM, Chris Stromberger <
[EMAIL PROTECTED]> wrote:
> I'm wanting to use Django with a preexisting db. The db features a linking
> table (Many to Many). I'm wondering if I need to go ahead and define a
> model class for this table, or just add the ManyToMany field to o
Thanks Russ, I'm still abit confused about the first part, I
understand it prints 2008-01-01, because its printing the years with
entries in them, and 2008 is the only year with entries, but rather
than get it to show all the years with entries I want it to show all
the months with entries in.
I
On Thu, Sep 11, 2008 at 5:32 PM, David Durham, Jr. <
[EMAIL PROTECTED]> wrote:
>
> > I'm having the same need for nested inlines.
>
> Bump. I'm probably going to take the plunge and try to implement this
> if no one has beaten me to it.
>
You might want to take a look at this thread on the devel
That works! Thanks for the help.
On Thu, Sep 11, 2008 at 4:38 PM, Karen Tracey <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 11, 2008 at 5:20 PM, Chris Stromberger <
> [EMAIL PROTECTED]> wrote:
>
>> Oh, thanks. Ok, I just tried taking that out (so model now says "staff_id
>> = models.ForeignKey(User
On Thu, Sep 11, 2008 at 5:20 PM, Chris Stromberger <
[EMAIL PROTECTED]> wrote:
> Oh, thanks. Ok, I just tried taking that out (so model now says "staff_id
> = models.ForeignKey(User)"), but that gave this error:
> OperationalError: (1054, "Unknown column 'restaurant.staff_id_id' in 'field
> list'
> I'm having the same need for nested inlines.
Bump. I'm probably going to take the plunge and try to implement this
if no one has beaten me to it.
-Dave
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
Oh, thanks. Ok, I just tried taking that out (so model now says "staff_id =
models.ForeignKey(User)"), but that gave this error:
OperationalError: (1054, "Unknown column 'restaurant.staff_id_id' in 'field
list'")
?
On Thu, Sep 11, 2008 at 4:09 PM, Malcolm Tredinnick <
[EMAIL PROTECTED]> wrote:
Malcolm Tredinnick wrote:
>
> On Thu, 2008-09-11 at 15:36 +0800, Eric Abrahamsen wrote:
>> I'm fooling around with comparing instances of different models,
>> trying to make a unified stream of instances that can be sorted by
>> date according to a certain datetime attribute on each model. I
On Thu, Sep 11, 2008 at 4:15 PM, OliverMarchand
<[EMAIL PROTECTED]>wrote:
>
> Dear all,
>
> we are experiencing rather slow edit_inline admin forms, especially,
> when the inlined models contain foreign keys to "large tables" for
> which the select boxes must fetch *all* the tables data to be able
And if I comment out the staff_id line in the model class, my test in the
console works fine (Restaurant.objects.all()).
On Thu, Sep 11, 2008 at 4:20 PM, Chris Stromberger <
[EMAIL PROTECTED]> wrote:
> Oh, thanks. Ok, I just tried taking that out (so model now says "staff_id
> = models.ForeignKe
On Thu, 2008-09-11 at 22:16 +0200, Stephan Hoyer wrote:
> Hi All
>
> i want to store the add and changetime an user to some models, therefor
> i created a abstract class to inherit from:
>
> class DublinCore(models.Model):
> inserted= models.DateTimeField(auto_now_add=True)
> updat
On Thu, 2008-09-11 at 16:01 -0500, Chris Stromberger wrote:
> I would like to include a foreign key in a table that links to a user
> in Django's auth_user table. Or maybe this is a dumb idea--if so,
> interested in hearing why.
>
>
> So the table ("restaurant") with the foreign key includes (
Is it possible to connect to an as400 database using django
(preferably) or with python? I would like to build a product catalog
site using django and read in products and send orders to the as400.
Note that the site itself will not be on an as400 system. Just
wondering if anyone has done this be
Hi All
i want to store the add and changetime an user to some models, therefor
i created a abstract class to inherit from:
class DublinCore(models.Model):
inserted= models.DateTimeField(auto_now_add=True)
updated = models.DateTimeField(auto_now=True)
inserter= models.For
I am a new django user so please excuse my naive question.
I have a generic view function (see below) which is used to perform a
query on one of many tables (depending on the "model" argument) and
then render the results to a single template file (object_list.html)
def item_list(request, model='
I would like to include a foreign key in a table that links to a user in
Django's auth_user table. Or maybe this is a dumb idea--if so, interested
in hearing why.
So the table ("restaurant") with the foreign key includes (mysql):
staff_id int(11) NOT NULL,
foreign key(staff_id) references auth_us
Hi Oliver,
This feels completely off topic for a Django post, nevertheless ..
I don't see the problem. If your webserver contacts the application server via
port 80 or 443 then you should have your firewall between DMZ 1 and 2 allow
those ports. And allow only the source IP of the webserver to
Dear all,
we are experiencing rather slow edit_inline admin forms, especially,
when the inlined models contain foreign keys to "large tables" for
which the select boxes must fetch *all* the tables data to be able to
evaluate the __unicode__ method for each instance of the model.
* Are you experi
Anyone?
I'm really struggling with this.
As stated in my first post running the code creates a recursive loop.
Had a bit of a hack around with things, but can't figure anything
obvious out.
On Sep 11, 10:58 am, MikeHowarth <[EMAIL PROTECTED]> wrote:
> The model I'm using is very similar to tha
Dear all,
we are using Django as an application server. Now we want our website
server to be able to read from (and eventually write to) that
application server. Now the security question arises. The proposal is
to have
- the webserver in a DMZ 1
- the Django application server in a DMZ 2
- our i
Very nice site!
Just one point, I would recommend changing the default admin login page from
http:///admin to something random. This does not substitute a good
password but makes your site a little more secure.
James
P.S Post this website on djangosites.org
On Thu, Sep 11, 2008 at 7:41 AM, Jua
Hello,
I'm trying to install Django with Mod_Python on Leopard. I've been
through the process on Linux and Windows several times without many
issues, but on Leopard I've come up against a wall and I don't know
what else to check. OS X is the os I have least experience with.
I wanted to install t
I'm wanting to use Django with a preexisting db. The db features a linking
table (Many to Many). I'm wondering if I need to go ahead and define a
model class for this table, or just add the ManyToMany field to one of the
linked models. Or to put it another way, is there any way to define the
rel
I've been setting trying to set up a tumblelog using the sites
framework and the current site manager and I'm hitting a bug in either
my code or Django's not sure which.
Basically what's happening is the first time I save an object the
tumble item is created, but the site field is not populated s
On Thu, Sep 11, 2008 at 12:44 PM, bkev <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to set up this simple model in Django and I'm getting an
> "init got unexpected keyword argument 'raw_in_admin'" in Django 1.0
> release 9014 when doing a syncdb. I'm trying to get a non-dropdown
> ForeignKey
Thanks, created Ticket #9039
> I don't think the ModelForm validation should prohibit something the
> databases generally allow. I'd open a ticket (search first though to see if
> it's already been reported/decided on...I could be missing something).
>
> Karen
>
--~--~-~--~~-
Currently using Django version 0.96.3, on a Fedora 8 system.
I've currently set-up models for 'Manufacturer' and 'System'. System
has a Foreignkey to Manufacturer.
I'd like to display a list like so:
Manu A
System a
System b
System c
Manu B
System a
System b
System c
Etc...
[EMAIL PROTECTED] wrote:
> If we want to make a persistent TCP connection with a data queue, is
> django the best place (or even a possible place) for this connection
> layer to live? I see these options:
In a production environment, you need Django to run on Apache, so I think you
can't expect
On Thu, 2008-09-11 at 15:36 +0800, Eric Abrahamsen wrote:
> I'm fooling around with comparing instances of different models,
> trying to make a unified stream of instances that can be sorted by
> date according to a certain datetime attribute on each model. I
> thought I'd define a __cmp__
First of all, congratulations to the team on reaching 1.0. It looks
like a lot of good features landed in time.
One thing that I still find messy, though, is the whole user/profile
thing. Having separate models for users and profiles has a number of
drawbacks:
* extra DB hits
* having to tra
On Sep 11, 5:23 pm, Glimps <[EMAIL PROTECTED]> wrote:
> I would like to restrict users to the data they can see/modify/
> delete on a table. I have a Reservation table that holds reservations
> for multiple banners of Restaurant chain. I don't want the user from
> franchiseX to be able to see/
This is half design question, half technical question. I'm hoping
someone in this community may have experience to share.
I need to feed data to a proprietary system over a TCP connection
based on information entered into a web form. Currently I do this
using django, where the django page opens
On Sep 11, 8:22 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> unklbeemer wrote:
> > Thanks! That helped with that error...but now i get a new one lol
>
> > Exception Type: NoReverseMatch at /profiles/edit/
> > Exception Value: Reverse for 'profile_public' with arguments
> > '(u'username',)' and k
Hi,
I'm trying to set up this simple model in Django and I'm getting an
"init got unexpected keyword argument 'raw_in_admin'" in Django 1.0
release 9014 when doing a syncdb. I'm trying to get a non-dropdown
ForeignKey (or OneToOneField) field...am I doing something wrong or
was something changed
Hi,
I would like to restrict users to the data they can see/modify/
delete on a table. I have a Reservation table that holds reservations
for multiple banners of Restaurant chain. I don't want the user from
franchiseX to be able to see/confirm reservations from franchiseY.
Since all the add/e
On Thu, Sep 11, 2008 at 6:00 PM, ek_wals <[EMAIL PROTECTED]> wrote:
>
> What then is the point of 'is_superuser' or superuser's in general?
>
> Looking through the Django code, it seems that the only use for
> superusers is that a superuser is automatically a moderator.
>
> Could be so much more.
Hi -- django newbie here putting together a site for a client who
wants a calendar of events that users can register for. Before I
build one I thought I'd check with the community to see if something
similar already exists-- any suggestions? I think a general calendar
model, or something that al
What then is the point of 'is_superuser' or superuser's in general?
Looking through the Django code, it seems that the only use for
superusers is that a superuser is automatically a moderator.
Could be so much more.
On Sep 11, 8:27 am, "Matthias Kestenholz" <[EMAIL PROTECTED]> wrote:
> On T
On 11 Sep., 14:27, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
>
> Text in utf-8 is not unicode, this is bytestring (what we had in 0.96
> in __str__). From __unicode__ you have to return unicode ubjects, not
> utf-8 encoded bytestrings.
This is important to know, and that was the root of the pr
On Thu, Sep 11, 2008 at 7:40 AM, Elizabeth Kellner <[EMAIL PROTECTED]>wrote:
>
> Hi. I have a UnicodeDecodeError error that I can't seem to get rid
> of. My model has utf-8 text, which is being returned in the model's
> __unicode__ function. However, I can't seem to use the expression
> ("%s" %
Wow, Thanks everyone!!! These are really helpful tips!
Dave
On Sep 11, 1:42 am, Dave <[EMAIL PROTECTED]> wrote:
> On Sep 11, 9:15 am, Benjamin Buch <[EMAIL PROTECTED]> wrote:
>
>
>
> > find /path/to/the/directory/ -type f -name "*.pyc" -exec rm -f {} \;
>
> > Use it with caution, I'm no wizard wi
On Thu, Sep 11, 2008 at 5:22 PM, ek_wals <[EMAIL PROTECTED]> wrote:
>
>
> And I can see exactly how to do it --
> copy contrib/admin/views/decorators.py:staff_member _required and
> change
> 'request.user.is_staff' to 'request.user.is_superuser'
>
> Sure seems repetitive (non-DRY) (wet?)
> Its
And I can see exactly how to do it --
copy contrib/admin/views/decorators.py:staff_member _required and
change
'request.user.is_staff' to 'request.user.is_superuser'
Sure seems repetitive (non-DRY) (wet?)
Its seems so easy that I can't help but think that I'm overlooking
something. Why would
On Sep 11, 2008, at 11:07 AM, ek_wals wrote:
> How should I restrict a page to a superuser only??
>
> There's a 'staff_member_required' decorator, wht not a
> 'superuser_required'?
It'd be simple enough to write your own decorator to check for
required permissions. I usually do so anyway, in
How should I restrict a page to a superuser only??
There's a 'staff_member_required' decorator, wht not a
'superuser_required'?
Karl
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
nice dude :)
On Fri, Sep 12, 2008 at 9:59 AM, Rock <[EMAIL PROTECTED]> wrote:
>
> Very interesting. Nice work.
>
> That scrolling calendar widget near the bottom right of the home page
> needs a reset button.
> Once you scroll a bit, it fills up with so many events that finding
> your way back to
On Thu, Sep 11, 2008 at 8:14 AM, krylatij <[EMAIL PROTECTED]> wrote:
>
> You can create only one model with empty 'other' field.
> If you could create one more, field 'other' will not be unique more.
> That's why validation fails.
>
This is not generally true at the database level, as Nathaniel
Very interesting. Nice work.
That scrolling calendar widget near the bottom right of the home page
needs a reset button.
Once you scroll a bit, it fills up with so many events that finding
your way back to today is tough.
(Or maybe that thing is supplied by Google and so you are hosed as
they alm
In some way.. it seems to, does anybody knows if its posible to add
mod_python to XAMPP ???
I dont like the risky only for development way to show media !
On Thu, Sep 11, 2008 at 6:01 AM, Matthias Kestenholz <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> On Thu, Sep 11, 2008 at 9:41 AM, msagas <[EMAI
Dear all,
We just released a new website for the International Year of Astronomy
2009 (http://www.astronomy2009.org). It's based on the improved
versions of the django applications we used for www.iau.org. We are
still working towards decoupling the core applications from the rest
of the site, so
Hi,
This same error materialized in another way in my case. It said:
Caught an exception while rendering: Tried change_stage in module
django.contrib.admin.views.main. Error was: 'module' object has no
attribute 'change_stage'
I spent half a day figuring this out with the help of this thread.
>
> The L in Inline should not be capitalized. Is it in some doc you are
> working from?
>
> Karen
The docs are correct!
I'm so dumb, it is the first time I notice the L is not capitalized!
I was sure of the opposite!
Thanks a lot Karen!
--~--~-~--~~~---~--~~
You
On Thu, Sep 11, 2008 at 9:29 AM, TeenSpirit83
<[EMAIL PROTECTED]>wrote:
>
> I'm trying to upgrade my skills from django 096 to 1.0 so I started a
> new app and tried to create an admin class for a class within its
> model.
> I got the error I specified in the subject. I paste down the
> traceback
I'm trying to upgrade my skills from django 096 to 1.0 so I started a
new app and tried to create an admin class for a class within its
model.
I got the error I specified in the subject. I paste down the
traceback .Can you help me?
Environment:
Request Method: GET
Request URL: http://localhost:8
unklbeemer wrote:
> Thanks! That helped with that error...but now i get a new one lol
>
>
> Exception Type: NoReverseMatch at /profiles/edit/
> Exception Value: Reverse for 'profile_public' with arguments
> '(u'username',)' and keyword arguments '{}' not found.
That means that you don't have a
I was reading the Django definitive guide and practicing on 0.96.2
*but* caching is seriously broken on that version. I mean seriously.
Almost all of my issues were gone with a simple upgrade. I switched
from the book to the docs but still have questions. I would really
appreciate any help at all
On Wed, Sep 10, 2008 at 4:31 AM, djandrow <[EMAIL PROTECTED]> wrote:
> I just get 2008-01-01, i guess thats cos I only have entries in 2008
> and the date is formatted wrongly, so my question is how can i get a
> list of months, like you find on any archive links; September 2008,
> October 2008 e
Wiadomość napisana w dniu 2008-09-11, o godz. 14:16, przez ekellner:
> Coding cookie has nothing to do with bytestring literals decoding,
> it's only for unicode literals. If you try to coerce bytestring with
> unicode, decoding will be done using default system encoding, if
> encoding is not sp
On Thu, Sep 11, 2008 at 5:28 PM, Petar Marić <[EMAIL PROTECTED]> wrote:
> Unfortunately I was unable to participate on DjangoCon because of my
> Master thesis. Will there be a video of some/all the talks?
I saw this at http://twitter.com/djangocon/statuses/917078011:
"DjangoCon videos will be
2008/9/11 Jarek Zgoda <[EMAIL PROTECTED]>
>
> Coding cookie has nothing to do with bytestring literals decoding,
> it's only for unicode literals. If you try to coerce bytestring with
> unicode, decoding will be done using default system encoding, if
> encoding is not specified explicitly.
>
Inde
You can create only one model with empty 'other' field.
If you could create one more, field 'other' will not be unique more.
That's why validation fails.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django u
Hi,
I've quickly put together a small app that allows you to attach
already uploaded images to a text you are actually writing. Moreover,
you can upload new images as well.
For the moment it exclusively uses the markdown[1] syntax to insert
the image.
You can check it out at http://code.google.
Wiadomość napisana w dniu 2008-09-11, o godz. 13:40, przez Elizabeth
Kellner:
> Hi. I have a UnicodeDecodeError error that I can't seem to get rid
> of. My model has utf-8 text, which is being returned in the model's
> __unicode__ function. However, I can't seem to use the expression
> ("%s"
Hi. I have a UnicodeDecodeError error that I can't seem to get rid
of. My model has utf-8 text, which is being returned in the model's
__unicode__ function. However, I can't seem to use the expression
("%s" % object) to coerce my utf-8 into a string, without it tring to
decode the string as asc
Vaya, se resolvió el problema aparentemente pero me sigue dando
problemas través la shell:
In [59]: Mymodel.objects.all()
Out[59]:
---
UnicodeDecodeErrorTraceback (most recent call
last)
/home/user/my
Hi,
I´m using a ManyToManyField to link some posts to different
categories.
However, these categories doesn´t come in a sorted order in the Django
admin-interface.
Is there an extra argument I can give ManyToManyField to choose a
field to sort from (eg. "ORDER BY category_title ASC") or can I ad
On 11 Sep 2008, at 11:45 am, lingrlongr wrote:
> The Formwizard gave me MANY problems. What exactly is happening?
> Here's what I was experiencing:
> http://groups.google.com/group/django-users/browse_thread/thread/
> 764ddb2d1b5d92d8/7ae5c2633564bd49#7ae5c2633564bd49
The actual wizard is wo
The Formwizard gave me MANY problems. What exactly is happening?
Here's what I was experiencing:
http://groups.google.com/group/django-users/browse_thread/thread/764ddb2d1b5d92d8/7ae5c2633564bd49#7ae5c2633564bd49
keith
On Sep 11, 4:46 am, David Reynolds <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I am
Hi everybody,
Unfortunately I was unable to participate on DjangoCon because of my
Master thesis. Will there be a video of some/all the talks?
Regards,
--
Petar Marić
*e-mail: [EMAIL PROTECTED]
*mobile: +381 (64) 6122467
*icq: 224720322
*jabber: [EMAIL PROTECTED]
*web: http://www.petarmaric.com
On Sep 11, 3:24 pm, Chris <[EMAIL PROTECTED]> wrote:
> I have an application that uses some large packages, such as Wordnet,
> and the imports can take awhile. Is there a mechanism in Django to
> persist imported package across requests? I'm running Django viamod_wsgi, and
> it seems to re-impo
Hi, Wishi,
1. Make sure that django fcgi process is running at all.
$ ps ax | grep manage
2. Lighttpd config looks a bit weird for me. Why to have two fcgi processes
- one for admin and other for regular site?
Mine looks like this:
===
fastcgi.server = (
"/django.fcgi" => (
"djangoloc
The model I'm using is very similar to that of Satchmo's
Model basically looks like this:
class Product(models.Model):
name = models.CharField(_("Full Name"), max_length=255, blank=False,
slug = models.SlugField(_("Slug Name"), blank=True,
related_items = models.ManyToMan
Karen Tracey wrote:
> It's not trying to limit you to just one project. It's just trying to
> prevent confusion by not letting you create and attempt to work with a
> new project when you're running in an environment already set up to
> manage a different project. In those cases, simply unset
My django version is 1.0-final-SVN-9013
--~--~-~--~~~---~--~~
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 em
1 - 100 of 117 matches
Mail list logo