On Mar 28, 4:07 pm, "Michael" <[EMAIL PROTECTED]> wrote:
> In the mean-time, another method which seems to be used by the admin
> interface is to create your own template tag (using simple_tag).
Actually, just found what looks like a better method here:
http://www.b-list.org/weblog/2006/06/14/dja
In the mean-time, another method which seems to be used by the admin
interface is to create your own template tag (using simple_tag).
If you take a look at the template tag used by the admin interface to
create the {{ admin_media_prefix }} tag, it might give you some tips:
For your issue, I thin
On 3/23/07, Scanner <[EMAIL PROTECTED]> wrote:
>
> On Mar 22, 5:50 pm, "Matthew Flanagan" <[EMAIL PROTECTED]> wrote:
> > I'm definitely interested in the results. Why don't you apply to get
> > check-in permissions on the per-object-permissions branch? That way it
> > can be accessible to the whole
This Website is designed for you to learn how to write a resume on
your own. Hiring someone to do a resume is not enough learn how to do
it on your own. If you do hire someone to help you write a resume this
will help you guide the resume writer to put in the correct
information for you to increas
On Mar 27, 10:26 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
>
> > That's way I _need_ the function name :-(
>
> Understod. There are lots of similar cases where making sure you get the
> real function name is useful. So, it's something that will be solved
> soon-ish. You just can't have i
On Wed, 2007-03-28 at 02:22 +, Mario Gonzalez wrote:
> On Mar 27, 9:09 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
> wrote:
> >
> > This is a known mini-problem and something we need to / will sort out
> > prior to 1.0. There are a *lot* of places in Django that wrap views up
> > and then expos
On Tue, 2007-03-27 at 19:11 -0700, Alex Dong wrote:
> Hi Folks,
>
> I'm wondering are there any "parse_FOO_display" method for the django
> models?
>
> For example: {{{
> class Transaction(models.Model):
> STATUS = (
> (1, 'Canceled_Reversal'),
> (2, 'Completed'),
>
On Mar 27, 9:09 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
>
> This is a known mini-problem and something we need to / will sort out
> prior to 1.0. There are a *lot* of places in Django that wrap views up
> and then expose them to the world. Once you get used to the idiom, it's
> not a bad
On 3/27/07, Michael Lake <[EMAIL PROTECTED]> wrote:
> So my question is if some consensus has developed or is there a 'proper'
> method for
> dealing with this?
The "url" template tag is the solution to this; instead of giving it a
URL, you give it the name of a view, and it looks through the UR
Hi Folks,
I'm wondering are there any "parse_FOO_display" method for the django
models?
For example: {{{
class Transaction(models.Model):
STATUS = (
(1, 'Canceled_Reversal'),
(2, 'Completed'),
(3, 'Pending'),
(4, 'Refunded'),
(5,
On 3/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> SetHandler python-program
...
>
> SetHandler python-program
The usual way to do this is to have virtual hosts and use the same
root URL on both.
Otherwise, consider having separate ROOT_URLCONF's for each to factor
ou
On 28-Mar-07, at 12:43 AM, James Bennett wrote:
> There are some workarounds: mod_python, for example, supports a
> "PythonAutoReload" directive which, if turned on, will tell mod_python
> to check the modification date of files and reload them. However, this
> again imposes a performance penalt
On Tue, 2007-03-27 at 17:13 -0500, Tim Chase wrote:
> I have a directory structure like
>
> app/templates/{various top-level templates}
> app/templates/help/help_base.html
> app/templates/help/particular_help.html
>
> In particular_help.html I have to use
>
> {% extends "help/help_base.html"
On 28-Mar-07, at 12:35 AM, David Zhou wrote:
>> Is that post correct? You have to restart the server whenever you
>> make
>> a change to the django code?
>
> I haven't needed to do so for template changes. I dunno about other
> parts.
you have to do so for changes in code - changes in templa
Hi all,
I'm running Debian Sarge and installed the 4suite debian package from
the stable branch (python-4suite-0.99cvs2005041).
By removing it and installing the latest version of 4suite from the
web site, it works like a charm.
Hope this helps someone
georges.
On Mar 19, 4:28 pm, "[EMAIL PROT
On Tue, 2007-03-27 at 11:18 -0700, Ben Stahl wrote:
> Aren't you duplicating information with the newforms, violating the
> DRY principle? What I mean is, aren't we separately creating most or
> all of the same fields for a form as for the model whose data will be
> bound to the form? Why can't a
On Tue, 2007-03-27 at 19:39 +, Mario Gonzalez wrote:
> On Mar 27, 2:13 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> > Also, keep in mind that writing a 'process_view' method instead will
> > give you access to the view function the URL resolved to, and will
> > execute *before* the view fu
On Tue, 2007-03-27 at 15:20 +, Kyle Fox wrote:
> This is just a guess, but could it be because you're calling .save()
> (defined in models.Model) before calling __init__() on the superclass?
This will certainly be it. Django sets up the attributes on the model
corresponding to fields in the M
On Mar 27, 3:24 pm, "Mario Gonzalez" <[EMAIL PROTECTED]> wrote:
> On Mar 27, 2:10 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
>
> > 'resolve' returns the actual callable function in all cases, so if you
> > want the string name of the function you might want to access its
> > '__name__' attribu
Hi all
Like other posts on this group I am trying to work out the best approach for an
app
that has a development version at / and a production version at /proteomics/pls/
My templates contain href="/detail/{{ some_variable }}" which works in test but
I
dont want to have to change them all t
Hello Malcoml. Here the copy and paste of the error:
FieldDoesNotExist at /animallib/
Section has no field named 'self'
Request Method:
GET
Request URL:
http://utopia-design.net/animallib/
Exception Type:
FieldDoesNotExist
Exception Value:
Section has no fie
hello there, thanks for your help.
by the way, i've been wondering what it means by
'...regardless of how many fields are in "ordering"
the admin site uses only the first field'.
the "first field" in my example is the 'lastname'
although it does not seem the data are ordered by the field.
whenev
> > As I did some other experiments, it seems to me, that there are
> > TWO '_thread_locals' objects, one filled in 'process_request' (which
> > has 'user' attribute set) and another one in 'get_current_user' which
> > does not.
The problem was in the fact, that i had
import middleware.threadloc
Can't I have a deploy like ASP or PHP apps that use the same port and
use a different directory for each app?
Thanks
Frank
On Mar 27, 2007, at 5:30 PM, risomt wrote:
>
> You have both virtual hosts connecting on the same port - switch
> mysite3 to something like :8081 and it should work
>
> O
On Mar 28, 5:13 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 3/27/07, walterbyrd <[EMAIL PROTECTED]> wrote:
>
> > Is that post correct? You have to restart the server whenever you make
> > a change to the django code?
>
> For templates, no. For changes to the actual Python code in use, ge
I have a directory structure like
app/templates/{various top-level templates}
app/templates/help/help_base.html
app/templates/help/particular_help.html
In particular_help.html I have to use
{% extends "help/help_base.html" %}
rather than a relative
{% extends "help_base.html" %}
Is there
I guess a simpler quesiton would be: How can I populate a text box
dynamically with information from the post from the same form? Or is
there maybe another way to accomplish this possibly with a custom
inclusion tag? Any help would be much appreciated. There must be
some easier way to do this.
You have both virtual hosts connecting on the same port - switch
mysite3 to something like :8081 and it should work
On Mar 27, 5:11 pm, "Frank" <[EMAIL PROTECTED]> wrote:
> mysite works
> mysite3 gives me a 404 error
> I guess I still have something wrong.
>
> Thanks
> Frank
>
> NameVirtualHost *
> The form_for_model and form_for_instance functions, which Tim Chase
> mentioned earlier in this thread, are not yet documented (or 100%
> complete).
Ouch...no wonder they're not documented yet ;) Glad I haven't
had any fiascoes. I guess I would deserve any abuse Django gave
me if there were p
Scratch that. Couldn''t see the wood for the trees. I was simply
missing the comma after Promotion.
MerMer
On Mar 27, 10:34 pm, Merric Mercer <[EMAIL PROTECTED]> wrote:
> Can somebody provide some guidance for how to use limit_choices in a
> Model. I am trying to
> only display the records
mysite works
mysite3 gives me a 404 error
I guess I still have something wrong.
Thanks
Frank
NameVirtualHost *
ServerName mysite
SetHandler python-program
PythonPath "['C:\djangoapps'] + sys.path"
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MOD
On 3/27/07, TaMeR <[EMAIL PROTECTED]> wrote:
> I been trying to figure this out too.
> In the admin site the forms show up automatically and if you set
> something like auto_now_add=True then the field is
> hidden which is nice. Why can't this be implemented on the frontend as
> well?
Patience,
On 3/27/07, walterbyrd <[EMAIL PROTECTED]> wrote:
> Is that post correct? You have to restart the server whenever you make
> a change to the django code?
It depends on the deployment strategy you use. If you use mod_python
efficiently, yes, you'll have to restart Apache between code changes.
If y
Can somebody provide some guidance for how to use limit_choices in a
Model. I am trying to
only display the records in the related field that contain 4.
I've tried a number of ways but keep getting a syntax error.
MerMer
promotion=models.OneToOneField(Promotion limit_choices_to={
'promo_ty
On 3/27/07, Jonas Maurus <[EMAIL PROTECTED]> wrote:
>
> On Mar 27, 7:58 pm, "jeffhg58" <[EMAIL PROTECTED]> wrote:
..
> > in the database. I am using a datetime field and when I insert the
> > record the milliseconds is being truncated.
>
> I find that strange, because Postgres doesn't natively sup
That did the trick! Thanks!
On 3/26/07 5:11 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
>
> You are so close! this is a very common question.
>
> you want something like:
> {% for school_emp in School.schoolpersonel_set.all %}
>
> But passing in the Model class 'School' is considered
Nevermind...figured it out:
users =
Loan.objects.filter(lender_id=lender_id).values("borrower_id").distinct()
On Mar 27, 3:43 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I have a table that is something like the following
>
> loan_id
> lender_id
> borrower_id
> ...other loan information
Heres what I have:
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonPath "sys.path + ['C:/web/html/projects/']"
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
PythonDebug On
With:
DocumentRoot "C:/web/"
If you dont correctly set the python path
On 3/27/07, Frank <[EMAIL PROTECTED]> wrote:
>
> Do I still need to so the Location setting in httpd.conf?
>
>
> SetHandler python-program
> PythonPath "['C:\djangoapps'] + sys.path"
> PythonHandler django.core.handlers.modpython
> SetEnv DJANGO_SETTINGS_MODULE mysite.settings
> PythonDebug On
>
Hi all,
I've taken over a project with a lot of models (112) so I've split
them into separate files to maintain my sanity (project/app/models/
ModelName.py, etc.) and everything works well...except doctest. My
doctests were working with the all-models-in-one-file setup but aren't
anymore--unit t
Do I still need to so the Location setting in httpd.conf?
SetHandler python-program
PythonPath "['C:\djangoapps'] + sys.path"
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
PythonDebug On
Thanks
Frank
- Original Message -
From: <[EMAIL PROTE
On Mar 23, 9:26 pm, "makebelieve" <[EMAIL PROTECTED]> wrote:
> Ok, from a previous post I've found that the best way to list items by
> a category is to use _set:
>
> {% for c in categories %}
> {{ c }}
> {% for i in c.item_set.all %}
> {{ v }}
> {% endfor %}
> {%
Generally I run multiple multiple django instances on different ports
- however the same should work within a location or folder (I think).
Just make sure the SetEnv reflects the other application:
SetEnv DJANGO_SETTINGS_MODULE myapp.settings
SetEnv DJANGO_SETTINGS_MODULE myapp2.settings
Sample f
In addition to what Kyle said I've also noticed I had to 'pop' custom
kwargs before passing to the super since it isn't expecting them.
try:
t = kwargs.pop('title')
except:
...
call super
... do stuff.
On Mar 27, 10:20 am, "Kyle Fox" <[EMAIL PROTECTED]> wrote:
> This is just a guess, but coul
I managed to get this working with these settings:
SetHandler python-program
PythonPath "['C:\djangoapps'] + sys.path"
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
PythonDebug On
I still need to be able to do
http://localhost/app1
http://localhost
http://www.ougo.com/setup.exe
http://dequba.com/signup.php?REF=22264
http://neterminator.com/signup.php?REF=12405
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
I have a form with 2 select boxes that I load into a template.
Initially the "mailing country" choice is loaded with all available
countries and the "mailing states" is empty because a country hasn't
been selected yet. When a user selects a "mailing country" choice, I
want all the states from tha
I thought the same thing at first, and ended up making my own class
that bound the forms and models together (a little like
form_for_model, but handles multiple 1-1 models). I thought it would
save me a lot of time, but looking back I've only been able to use it
on a few forms. I think the deci
On Mar 27, 7:58 pm, "jeffhg58" <[EMAIL PROTECTED]> wrote:
> I am using a postgresql database and was wondering if anyone knew how
> to store milliseconds
> in the database. I am using a datetime field and when I insert the
> record the milliseconds is being truncated.
>
> Thanks,
> Jeff
I find th
On Mar 27, 3:24 pm, "Mario Gonzalez" <[EMAIL PROTECTED]> wrote:
> On Mar 27, 2:10 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
>
> > Are you using any decorators on these views?
>
> no, I'm not using any decorators.
Now I found some weird for me
return HttpResponse(str( resolve(request.p
On 3/27/07, Orin <[EMAIL PROTECTED]> wrote:
> I'm coding dtests for django views. I'm using mock object as django
> request, but don't know how to emulate user session (session id).
> Because of login decorator I can't access the other parts of my
> function.
The built-in Django test client can s
Download Free Daily Horoscope Toolbar! - http://surl.in/HLFDH238206SVRAKSX-g
--~--~-~--~~~---~--~~
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
T
I have a table that is something like the following
loan_id
lender_id
borrower_id
...other loan information
I have a query that is by lender_id
loans = Loans.objects.filter(lender_id=lender_id)
My question is...from those loans...how do I retrieve a list of the
unique borrowers?
For example
On Mar 27, 2:13 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> Also, keep in mind that writing a 'process_view' method instead will
> give you access to the view function the URL resolved to, and will
> execute *before* the view function is actually called. That might be
I changed and I've go
Hi,
I'm coding dtests for django views. I'm using mock object as django
request, but don't know how to emulate user session (session id).
Because of login decorator I can't access the other parts of my
function.
If anyone know's how solve this problem, please give me some hints.
With best regard
On Mar 27, 11:00 am, "SlavaSh" <[EMAIL PROTECTED]> wrote:
> Is it any way to use session (django) on browsers without cookie
> support ?
No. See the following for why not:
http://www.djangoproject.com/documentation/sessions/#session-ids-in-urls
--~--~-~--~~~---~--~-
On Mar 27, 2007, at 2:24 PM, walterbyrd wrote:
>
> I found this post on another forum:
>
>>> I'd fallen in love with Django, but there were deployment issues,
>>> namely that the server has to be restarted every time you make a
>>> change to the code (this was a big deal for my hosting provid
On Mar 27, 2:10 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
>
> 'resolve' returns the actual callable function in all cases, so if you
> want the string name of the function you might want to access its
> '__name__' attribute.
>
> Are you using any decorators on these views?
>
no, I'm not us
On 3/27/07, walterbyrd <[EMAIL PROTECTED]> wrote:
> Is that post correct? You have to restart the server whenever you make
> a change to the django code?
For templates, no. For changes to the actual Python code in use, generally yes.
The reason for this is that, under both mod_python and FastCGI
>> django.newforms.models.form_for_model
>> django.newforms.models.form_for_instance
>
> Is there a example use for this somewhere? I am new ...
You can find some demo code at
http://www.djangosnippets.org/tags/form_for_model/
And as always, it's just Python, so you can read the code in
django
I forgot to say I am on Windows XP
On Mar 27, 2:36 pm, "frocco" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am new to Python and dJango.
> I am trying to get the tutorial gtd to run on Apache.
> I installed mod_python and placed gtd directory into htdocs directory.
> I do not understand how to reso
On Mar 27, 2:36 pm, Tim Chase <[EMAIL PROTECTED]> wrote:
> django.newforms.models.form_for_model
> django.newforms.models.form_for_instance
Is there a example use for this somewhere? I am new ...
--~--~-~--~~~---~--~~
You received this message because you are s
For some changes I do have to restart the server but I haven't figured
out which once yet
--~--~-~--~~~---~--~~
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@googl
Hello,
I am new to Python and dJango.
I am trying to get the tutorial gtd to run on Apache.
I installed mod_python and placed gtd directory into htdocs directory.
I do not understand how to resolve this.
I goal is to run multiple apps in apache.
ecample:
http://localhost/app1
http://localhost/app
I been trying to figure this out too.
In the admin site the forms show up automatically and if you set
something like auto_now_add=True then the field is
hidden which is nice. Why can't this be implemented on the frontend as
well?
--~--~-~--~~~---~--~~
You recei
> Why can't a form be instantiated automatically when passed a
> model (maybe with flags for which fields are enabled)? Or
> better yet, bind the form to a model (or model instance),
You mean like:
django.newforms.models.form_for_model
django.newforms.models.form_for_instance
I'm not sure where
I found this post on another forum:
>>I'd fallen in love with Django, but there were deployment issues, namely that
>>the server has to be restarted every time you make a change to the code (this
>>was a big deal for my hosting provider).<<
http://snook.ca/archives/php/cakephp_initial/
Is tha
Aren't you duplicating information with the newforms, violating the
DRY principle? What I mean is, aren't we separately creating most or
all of the same fields for a form as for the model whose data will be
bound to the form? Why can't a form be instantiated automatically when
passed a model (mayb
Hello coders,
I found this debug tool for Django at djangosnippets.org and was
wondering if I could get some help for that.
Even know I have DEBUG = True and TEMPLATE_DEBUG = DEBUG set in the
Django Settting.py in my template
this: {% if debug %}
or this: {% if DEBUG %}
is not set at all.
On 3/27/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote:
> class AuthorizedMiddleware(object):
>
> def process_request(self, request):
> return HttpResponse(str( resolve(request.path)[0].__name__ ))
Also, keep in mind that writing a 'process_view' method instead will
give you access to t
I ran into this problem as well. Specificly I changed the default
__str__ on user objects to use data in the profile extension and made
other changes for the BIO/etc. In the end I came up with the same
solution it looks like you have. I used a cache to cache the value. I
went so farr as to use the
On 3/27/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote:
> however always I've got a "_wrapped_view" name. Is there a way to
> find out, for example if my request.path is one/ to get app_one.idex
> as a string?
'resolve' returns the actual callable function in all cases, so if you
want the string
I am using a postgresql database and was wondering if anyone knew how
to store milliseconds
in the database. I am using a datetime field and when I insert the
record the milliseconds is being truncated.
Thanks,
Jeff
--~--~-~--~~~---~--~~
You received this message
Hello, I'm trying to know the callback name after a resolve process
from django.conf import settings
from django.http import HttpResponse
from django.core.urlresolvers import resolve
class AuthorizedMiddleware(object):
def process_request(self, request):
return HttpResponse(str( r
Hi Kamil,
Does the servers need to be in the UK or just the company?
Webfaction (www.webfaction.com) is a UK-based company but the servers
are based in the USA.
EXCELLENT host, by the way -- really have their head around Django
(and other types of) hosting.
Regards,
Cam
On 3/27/07, kamil <[EM
Bram - Smartelectronix wrote:
> 2. in the profile I'm generating some data, for example, the user's
> avatar filename will use self.user.username to create the avatars path,
> which will do yet another query (select ... from auth_user)!
Replying -partly- to my own message, this slightly lowers
Hi. Somebody knows if is there any hosting provider in UK who supports
django?
thanx.
Kamil
--~--~-~--~~~---~--~~
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@go
Hello everyone,
I've noticed that when I look at the queries output of my app, I'm
getting a LOT of repeating queries and a lot of queries that aren't
needed at all. For example, I have a list of users, ordered by a certain
property and paginated:
qs = User.objects.select_related().filter(..
This is just a guess, but could it be because you're calling .save()
(defined in models.Model) before calling __init__() on the superclass?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To po
Thanks... I think I can handle that. If not, I can always roll it
back.
On Mar 26, 6:36 pm, "Honza Král" <[EMAIL PROTECTED]> wrote:
> On 3/27/07, Jonas Maurus <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Mar 26, 11:10 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
> > > I apologize for the
Is it any way to use session (django) on browsers without cookie
support ?
--~--~-~--~~~---~--~~
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
I have tested using xmlrpclib and got connection refused.
Thank
--~--~-~--~~~---~--~~
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 unsubscrib
> I can do pretty much any part of the filtering by itself and it works,
> just not all together like I need it. What's the correct way to do
> this sort of a query/filter?
1. What does your model for Message look like?
2. Where in your code are you trying to add more filtering? In a
view?
-
On Mar 27, 2:10 pm, "Nathan Harmston" <[EMAIL PROTECTED]>
wrote:
> HI,
>
> Currently I am trying to store a "tree" in a database and want to use Nested
> Sets in order to do this. I was wondering if this exists within Django atm
> or if there are plans to add it in the future or has someone develo
I'd like to be able to "catch" when creating a new object... fix a
few things up then let the normal thing happen... for example...
class myObj(models.model):
def __init__(self, **kwargs):
t = kwargs['title']
t = "Offer:
Nathan Harmston wrote on 03/27/07 14:10:
> HI,
>
> Currently I am trying to store a "tree" in a database and want to use Nested
> Sets in order to do this. I was wondering if this exists within Django atm
> or if there are plans to add it in the future or has someone developed it on
> the side? I
> Currently I am trying to store a "tree" in a database and want to use Nested
> Sets in order to do this. I was wondering if this exists within Django atm
> or if there are plans to add it in the future or has someone developed it on
> the side? If the answer to these questions is "NO", is there
HI,
Currently I am trying to store a "tree" in a database and want to use Nested
Sets in order to do this. I was wondering if this exists within Django atm
or if there are plans to add it in the future or has someone developed it on
the side? If the answer to these questions is "NO", is there a re
On 26/03/07, David M. Besonen <[EMAIL PROTECTED]> wrote:
>
> are there any issues/caveats/problems around using django + fcgi?
>
> i'm guessing there might things to be wary of, given that
> mod_python appears more prominently in the installation
> instructions.
>
>
> thanks,
> david
I am using f
On 26/03/07, Gerard M <[EMAIL PROTECTED]> wrote:
>
> Hello dear django comunnity, Im having a bad time with my database in
> MySQL the problem is that when I try to store a word with some "rare"
> characters like á é í and many others, django shows this message to
> me
>
> OperationalError at /uplo
On Tuesday 27 March 2007 04:28, damacy wrote:
> hi, there.
>
> i have a problem with the django admin site.
>
> i have a table called 'players' which consists of the following
> fields;
> 'lastname', 'firstname' and 'lastmodified'.
> and i have defined the ordering of the table by
> ordering = ['l
On Tuesday 27 March 2007 10:28, Gilhad wrote:
> > the default value is a callable, its not a value... I use exactly this
> > and it work very well for me...
> > I agree that there is duplicity (why specify a default if you override
> > it in save() ), but that shouldn't matter
>
> The idea is, tha
>
> the default value is a callable, its not a value... I use exactly this
> and it work very well for me...
> I agree that there is duplicity (why specify a default if you override
> it in save() ), but that shouldn't matter
The idea is, that new object 'Vykon' came prefilled, but in the admin
93 matches
Mail list logo