Hi Malcolm,
On Mon, Jul 21, 2008 at 10:45 PM, Malcolm Tredinnick <
[EMAIL PROTECTED]> wrote:
>
> On Mon, 2008-07-21 at 21:23 -0700, s wrote:
>
> I'm trying to create a dynamic export mechanism (pretty simple) but
> > also trying to export a schema file for the parties wishing to re-
> > import,
Hi James,
That was a quick replyExcluding the field helped.
Thank you soo much
On Jul 21, 5:49 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Mon, Jul 21, 2008 at 4:09 PM, Django_newbie <[EMAIL PROTECTED]> wrote:
> > This save() fails because the form.is_valid() is not true, and the
It won't be in 1.0. It's only really been kicked off recently, so you'll
have to wait a while :-)
2008/7/21 CPF_ <[EMAIL PROTECTED]>:
>
> Ben Ford wrote:
> > Hi There,
> >
> > It has been possible in the past to use multiple databases with
> > django. There was a branch for it and about a year
I believe you can override get_form and have it create a new modelform
for each request, you'd probably have to look into the source to see
what the method and signature look like.
On Jul 21, 8:04 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> Doh! You're absolutely right Malcom. Sorry, don't
On 21-Jul-08, at 6:14 PM, Amirouche wrote:
> On 21 juil, 11:11, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>> On 21-Jul-08, at 1:53 PM, Hussein B wrote:
>>
>>> Well, I know this question isn't related to Django but I hope it
>>> is ok
>>> to ask.
>>> What are your favourite Python
On 21 juil, 11:11, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 21-Jul-08, at 1:53 PM, Hussein B wrote:
>
> > Well, I know this question isn't related to Django but I hope it is ok
> > to ask.
> > What are your favourite Python resources?
>
> diveintopython -
how is that book outdated ?
On Mon, 2008-07-21 at 21:23 -0700, s wrote:
> Okay, I know this _should_ be easy but I'm in my all-too-familiar mode
> of "mental block" with a little frustration peppered in.
>
> I'm trying to create a dynamic export mechanism (pretty simple) but
> also trying to export a schema file for the
Okay, I know this _should_ be easy but I'm in my all-too-familiar mode
of "mental block" with a little frustration peppered in.
I'm trying to create a dynamic export mechanism (pretty simple) but
also trying to export a schema file for the parties wishing to re-
import, said-export, with better
Lakh =100,000.
Answer is yes
On Mon, Jul 21, 2008 at 8:42 PM, madhav <[EMAIL PROTECTED]> wrote:
>
> Hello guys, I am just confused with a fundamental db problem. I have
> table which has got 48 lakh rows(each row has got 8 fields, all
> INDEXED) and I just need to fetch 500 rows from it. Would
try admin.site.unregister(FlatPage) befor register it
--~--~-~--~~~---~--~~
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
If you search this list for likely keywords like the book you are using and
the app you are trying to get working you will find that other people have
hit the same problem, and I believe they have described solutions. I don't
have time to look up specific posts right now, but I know I have seen
I can't seem to find any password reset form for Trac, or an
administrator email address.
There has to be some way I can avoid creating a new account, no?
-Justin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On Jul 21, 7:52 pm, "Andre Meyer" <[EMAIL PROTECTED]> wrote:
> hi again
>
> so, auto_now is deprecated and can be replaced by overriding the
> save()method. but what about
> auto_now_add?
>
> how to distinguish between creation and update in save()???
>
You can tell whether or not it's a new
Uhm, the solution was to delete the database and recreate it. Now it
runs correctly.
2008/7/21 Florencio Cano <[EMAIL PROTECTED]>:
> Hi,
> After viewing the new documentation for the admin interface and
> modifying, properly I think, the files when I try to access
> http://localhost:8000/admin/
On Mon, Jul 21, 2008 at 10:59 AM, Florencio Cano <[EMAIL PROTECTED]>
wrote:
>
> Uhm, the solution was to delete the database and recreate it. Now it
> runs correctly.
>
Note this sort of thing (delete/recreate database) IS NOT generally
necessary for updating to the newforms admin code, which is
Hallöchen!
I wanted to have those neat Javascript functions with my
DateTimeField that Django's admin facility offers. However, the
only way I found to achieve this was:
class MyModelForm(ModelForm):
def __init__(self, data=None, **keyw):
super(MyModelForm, self).__init__(data,
Brian and I looked briefly at testing for the modules existence using
the imp module, and that may yet happen, but for know, be aware of
your own code.
On Jul 21, 5:47 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Mon, Jul 21, 2008 at 4:12 PM, Amit Ramon <[EMAIL PROTECTED]> wrote:
> >
On Tue, Jul 22, 2008 at 2:21 AM, eka <[EMAIL PROTECTED]> wrote:
>
> On Jul 21, 6:11 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>> On 21-Jul-08, at 1:53 PM, Hussein B wrote:
>>
>> > Well, I know this question isn't related to Django but I hope it is ok
>> > to ask.
>> > What are your
El lun, 21-07-2008 a las 12:10 -0500, James Bennett escribió:
> You will not be able to follow along with the book using the Django
> 0.96 release (as stated in the opening chapters). You will need to
> instal a dev version from SVN.
>
Thanks, I just got version 0.97 from svn.
I've just find out, that explicit transaction.commit() in my view
eliminates the problem. But i want django to commit pending
transactions automatically.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
I'm writing a website for a newspaper; each day, the website will have
a different current issue, and the site will display articles based on
the current issue. What I was wondering was the best way to go about
storing the current issue. I was thinking a global / site-wide
variable, but I
On Mon, 2008-07-21 at 15:41 -0700, bhunter wrote:
> Ahh, never mind. Looks like it IS a bug, but a very new one:
>
> http://code.djangoproject.com/ticket/7791
I haven't had a chance to look at that bug yet, except to reproduce it
(and to remove Ivan from my Christmas card list for this year).
Since loading the most recent updates from svn, the one piece that is
broken for me is where I had a datetime field split into two on a form
using generic update.
I had basically copied the method from the old admin area which used
oldforms. For a datetime field called "date," the date field
On Mon, 2008-07-21 at 15:46 -0700, Brandon Taylor wrote:
> Hi everyone,
>
> I'm trying to enforce a customer permission on Add/Update. In my
> model, I have defined the permission:
>
> permissions = (
>('can_approve_stories','Can Approve Stories'),
> )
>
>
>
Ahh, never mind. Looks like it IS a bug, but a very new one:
http://code.djangoproject.com/ticket/7791
On Jul 21, 6:27 pm, bhunter <[EMAIL PROTECTED]> wrote:
> I have a perfectly legal query into my database. When I add
> 'order_by' some field, it gives the results just fine. But when I
Ticket 7861 created for this.
John
On Jul 20, 1:25 pm, "Chris H." <[EMAIL PROTECTED]> wrote:
> On Jul 20, 3:21 pm, John M <[EMAIL PROTECTED]> wrote:
>
> > Given that the group has figured out that you need to run
> > autodiscover() and register any models you want to show in NFA Admin
> > page,
Is there a better way to do this? In a model, perhaps with some new
magic from qs-rf?
http://www.djangosnippets.org/snippets/902/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
I have a perfectly legal query into my database. When I add
'order_by' some field, it gives the results just fine. But when I add
distinct() to it, it dies:
>>> res.order_by('blk__name')
[, , ,
Correct, but it will also be empty if the user doesn't fill out any of
the fields in the form(or whatever), and in that case you'd want to
return the page with the appropriate errors.
On Jul 21, 6:10 pm, "Juanjo Conti" <[EMAIL PROTECTED]> wrote:
> 2008/7/21 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
2008/7/21 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> The correct way to test is to do request.method == "POST", not test
> request.POST, because that could be empty even on a post request.
>
OK. But it will not have content if the view is reached via GET, right?
--
Juanjo Conti
The correct way to test is to do request.method == "POST", not test
request.POST, because that could be empty even on a post request.
On Jul 21, 5:53 pm, "Juanjo Conti" <[EMAIL PROTECTED]> wrote:
> I have used both ways in my views, now I am wondering know if one is
> wrong and why.
>
> Thanks
hi Daniel
cool, thanks
in combination, now it looks like this:
class MyModel(models.Model):
created = models.DateTimeField()
modified = models.DateTimeField()
parent = models.ForeignKey('self', related_name='children', null=True,
blank=True)
def save(self, **kwargs):
On Mon, Jul 21, 2008 at 4:09 PM, Django_newbie <[EMAIL PROTECTED]> wrote:
> This save() fails because the form.is_valid() is not true, and the
> Blog(foreignkey) field is missing from the post data, how can i make
> this save without letting user choose this blog field? Or is it
> necessary that
On Mon, Jul 21, 2008 at 4:12 PM, Amit Ramon <[EMAIL PROTECTED]> wrote:
> autodiscover() goes over INSTALLED_APPS and tries to import their admin
> modules. When such a module isn't present, ImportError is caught and
> consumed. However, if some admin module do exists, but for some reason it
>
The problem is
class FlatPageAdmin(admin.ModelAdmin):
inline = [
SearchKeywordInline,
]
its inlines instead of inline...
but still i have to unregister and the register flatpages and that
breaks some other things
any better solution?
On Jul 21, 5:53 pm, eka <[EMAIL
Hi all,
Is there another way to get the ModelAdmin registered for a specific
Model than to access the _registry of the AdminSite instance.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
Hi,
autodiscover() goes over INSTALLED_APPS and tries to import their admin
modules. When such a module isn't present, ImportError is caught and consumed.
However, if some admin module do exists, but for some reason it throws an
ImportError (e.g., it tries to load a non-existing module), it
It appears that the password value isn't printed for security reasons.
The problem remains that the form will not validate.
James wrote:
> I've confirmed that while I can send other fields via the Django test
> client, I can't send password fields.
>
> So for instance:
>
> print
Thanks guys, both viable solutions but took up Daniel's :)
Thanks again!
On Jul 21, 3:46 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Jul 21, 8:28 pm, truebosko <[EMAIL PROTECTED]> wrote:
>
>
> > {% if is_new_row forloop.counter %}
> > ...
> > {% endif %}
>
> You can't use a tag inside
On Jul 21, 10:28 pm, truebosko <[EMAIL PROTECTED]> wrote:
> if counter % 2 == 1: Output new row
>
> With this, every 2 items a new row is made so I have 2 items per row.
> Very simple right?
>
> So I tried making a template tag like so
> @register.simple_tag
> def is_new_row(counter):
> if
Hi,
Im reading the book 'Practical Django Projects', and trying to make it
work with latest changes in Django SVN
I'm trying to use edit inline (this is very new to me) with FlatPages
and when I do the following
from django.contrib import admin
from cms.search.models import SearchKeyword
from
On Sun, 2008-07-20 at 21:06 -0700, robin wrote:
[...]
> Should I submit a ticket or something?
Rewriting the i18n.txt documentation in a slightly different fashion is
already on a few TODO lists, so don't worry about a ticket.
I will note, however, that the warning is right at the top of the
On Mon, Jul 21, 2008 at 2:55 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> This is why i need to code a little mechanism to set the verbose_name
> property of Meta subclass of Model.
> I can't get it to work!
All of the options you're suggesting would work just fine if only Meta
ever got
On 8 Jul 2008, at 04:24, Leaf wrote:
>
> Does anyone know if there is such thing as a ColorField - something
> that stores a hex value and has a JavaScript-powered color picker
> beside it? If there is, where can I get it? If there isn't, how would
> I go about writing one?
I've uploaded a
Hey guys,
I don't suppose anybody has any ideas on this?
My current thinking is that I'm making the problem too complicated
perhaps and that I need to try another method. Does anyone have any
ideas of how I could achieve the same functionality another way?
For instance, although I'm
Hello everybody,
I subclassed AdminSite to allow setting several ModelAdmin per Model,
because of a bug of model inheritance of nfa (no flames please).
This is why i need to code a little mechanism to set the verbose_name
property of Meta subclass of Model.
I can't get it to work!
0) Set it in
Hey Graham,
Well... at the moment it targets mod_python, but there isn't any
reason for such deployment options not to be added so it calculates
the dependencies and configs based on those choices. I was trying to
make sure there was room for postgress, other httpd servers and other
kinds of
>> Heh, the USA has been stuck on version 50 since 1959 when Hawaii
>> was added to the union. There are some development branches
>> ("Puerto Rico" and "Virgin Islands" feature-branches are
>> potential release-candidates, if a merge ever becomes official)
>> moving towards version 51. Clearly
hi again
so, auto_now is deprecated and can be replaced by overriding the
save()method. but what about
auto_now_add?
how to distinguish between creation and update in save()???
is
Fernando Rodríguez wrote:
> Hi,
>
> I'm implementing the coltrane blog app in "Practical Django Projects"
> and when I try to syncdb I get this error and traceback.
>
> I'm using version 0.97 downloaded from svn.
> from tagging.managers import TagManager, TaggedItemManager
> File
Hi,
I'm implementing the coltrane blog app in "Practical Django Projects"
and when I try to syncdb I get this error and traceback.
I'm using version 0.97 downloaded from svn.
Any ideas? O:-)
PS Here's the traceback:
Traceback (most recent call last):
File "./manage", line 11, in
On Jul 21, 6:11 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 21-Jul-08, at 1:53 PM, Hussein B wrote:
>
> > Well, I know this question isn't related to Django but I hope it is ok
> > to ask.
> > What are your favourite Python resources?
>
> diveintopython - and the django book is
On Mon, Jul 21, 2008 at 2:13 PM, Tye <[EMAIL PROTECTED]> wrote:
>
> I've had this issue as well.
>
> Just restart.
>
Or, exit and re-open all your command prompts. Changing the PATH setting in
the System settings doesn't update the path for existing command prompts.
At least not on 2K/XP, I
Andrew D. Ball wrote:
Greetings.
I haven't found any good documentation yet on how Django
supports Unicode in version 0.96. The following webpage
has links for version 0.96 and 0.95, but those links don't
work. :-/ :
The header at the top is a generic header that gets added blindly to all
Any reason why you wouldn't just use the SVN version, given we're so
close to 1.0?
Also, not sure if they will update .96 anymore other than security
fixes. It's very behind in features compared to SVN version.
JOhn
On Jul 21, 11:09 am, "Andrew D. Ball" <[EMAIL PROTECTED]> wrote:
> Greetings.
Greetings.
I haven't found any good documentation yet on how Django
supports Unicode in version 0.96. The following webpage
has links for version 0.96 and 0.95, but those links don't
work. :-/ :
http://www.djangoproject.com/documentation/unicode/
Does anyone have some more information on
Hi,
I'm implementing the coltrane blog app in "Practical Django Projects"
and when I try to syncdb I get this odd error:
Error: Couldn't install apps, because there were errors in one or more
models:
coltrane: cannot import name ugettext_lazy
Anybody knows what this might mean?
Thanks in
On Mon, Jul 21, 2008 at 12:23 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Some news;
> I found an old trunk (0.97-pre-SVN-unknown ... ?!?!) and I downgraded
> the django version..
> Now all works well...
>
> It's a bug of the new versions..?
>
>
Not likely. It's more likely your code
On Jul 21, 2:39 am, "Gwyn Evans" <[EMAIL PROTECTED]> wrote:
> Just wondered if I'm missing something, or if it's just not been an
> issue to anyone...
>
> Looking at the DB testing docs, it seems that it tries to use a
> 'TEST_', for testing. This is a bit of a problem with Oracle,
> where a new
Some news;
I found an old trunk (0.97-pre-SVN-unknown ... ?!?!) and I downgraded
the django version..
Now all works well...
It's a bug of the new versions..?
Thanks
Davide
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On 21-Jul-08, at 6:32 PM, Amirouche wrote:
> On 21 juil, 14:48, cschand <[EMAIL PROTECTED]> wrote:
>> The django book is based on version 0.96 and it last updated on
>> December 2007.
>>
>> Now people are using latest SVN and Version 1.0 is at our door steps
>
> I know that, I'm wondering about
Am 18.07.2008 um 14:01 schrieb Rishabh Manocha:
> You could use "user profiles" which will allow you to store various
> user specific preferences.
At the Pinax project for example, we are using a language field in the
profile model [1] together with a custom middleware [2] to set the
I've been having that problem, too but with XP. My system and user
path are both set, but Windows isn't playing nice.
If you can't get it working, you really only need django-admin.py to
get a project up and running. So, if you must, you can call it
using:
python
On Jul 20, 4:22 pm, slav0nic <[EMAIL PROTECTED]> wrote:
> #admin.py
> from django.contrib import admin
> from profile.models import UserProfile
> from django.contrib.auth.models import User
>
> class ProfileInline(admin.StackedInline):
> model = UserProfile
> extra = 1
> max_num = 1
>
In the old version of the admin site the fields of the UserProfile could be
displayed "inline" on the corresponding User page of the admin site. This was
done by somthing like:
class UserProfile(models.Model):
...
user = models.ForeignKey(User, unique=True, edit_inline=models.STACKED)
How
Hi Eric. Take a look at Django's generic views (
http://www.djangoproject.com/documentation/generic_views/), especially the
List/Detail generic views and the Create/Update/Delete generic views on that
page. If these generic views suit your needs then you may be able to get
away with writing only
On Mon, Jul 21, 2008 at 2:20 AM, Chris Ovenden <[EMAIL PROTECTED]>
wrote:
>
> Hi All!
>
> My first post here, though I've been using Django for about 6 months.
>
> I am building a site that will appear in three different languages
> (maybe more, later), which means that every text field has to
The point is that i see this validation as tied to the model, not to a
specific form. For me this as an integrity check, something which
should be done at model level.
On Mon, Jul 21, 2008 at 3:20 PM, Jeff FW <[EMAIL PROTECTED]> wrote:
>
> Sounds like you're looking at the oldforms
I think the easyest way to see the difference is if you do a new
django-admin startproject, and check the comments in urls.py
then you can go on and have a look at the admin.site.root as well,
that is put in urls.py by default, but if you just want a basic admin
site, then probably you won't
Sounds like you're looking at the oldforms documentation--that's all
been deprecated. Read this instead:
http://www.djangoproject.com/documentation/newforms/
Especially this part:
http://www.djangoproject.com/documentation/newforms/#custom-form-and-field-validation
-Jeff
On Jul 21, 8:14 am,
Yes. I already have done that:
from django.conf.urls.defaults import *
from django.contrib import admin
import os
admin.autodiscover()
urlpatterns = patterns('',
# Example:
# (r'^seinhe/', include('seinhe.foo.urls')),
# Uncomment this for admin:
('^admin/(.*)',
Hi Scott,
Thank you reply,I'll read it
all the best
Eric
2008/7/21 Scott Moonen <[EMAIL PROTECTED]>:
> Hi Eric. Take a look at Django's generic views (
> http://www.djangoproject.com/documentation/generic_views/), especially the
> List/Detail generic views and the Create/Update/Delete
On 21 juil, 14:48, cschand <[EMAIL PROTECTED]> wrote:
> The django book is based on version 0.96 and it last updated on
> December 2007.
>
> Now people are using latest SVN and Version 1.0 is at our door steps
I know that, I'm wondering about diveintopython
> Satheesh
>
> On Jul 21, 5:44 pm,
The django book is based on version 0.96 and it last updated on
December 2007.
Now people are using latest SVN and Version 1.0 is at our door steps
Satheesh
On Jul 21, 5:44 pm, Amirouche <[EMAIL PROTECTED]> wrote:
> On 21 juil, 11:11, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> > On
Have a look a this http://code.djangoproject.com/ticket/4747 &
http://trac.woe-beti.de/
On 21 juil, 03:04, CPF_ <[EMAIL PROTECTED]> wrote:
> Ben Ford wrote:
> > Hi There,
>
> > It has been possible in the past to use multiple databases with
> > django. There was a branch for it and about a year
Quick background: I started a new project ("mpi") and app ("main"),
created a template folder and added its path to settings, and did
everything I needed to do with database work. Also fooled around with
Admin (which worked).
What happened: I created an html file from scratch, plopped it into
Hi,
First of all, I'm using trunk :)
I have a couple of models like:
class User(model.Model):
group = models.ForeignKey(Group)
Class Group(model.Model):
interest = models.ForeignKey(Interests)
Basically i want to be possible to change in the admin the interest of
a Group *only if*:
On 21 juil, 10:23, Hussein B <[EMAIL PROTECTED]> wrote:
> Hey.
> Well, I know this question isn't related to Django but I hope it is ok
> to ask.
> What are your favourite Python resources?
Python's interactive interpreter, the FineManual(tm) and
comp.lang.python.
> I'm a Java developer and
Did you add
admin.autodiscover()
in urls.py? I think the problem due to this
read
http://www.djangoproject.com/documentation/admin/#hooking-adminsite-instances-into-your-urlconf
Satheesh
Florencio Cano wrote:
> The problem is that in the last versions in the repository of Django
> the Admin
The problem is that in the last versions in the repository of Django
the Admin interface has changed. More info in:
http://www.djangoproject.com/documentation/admin/
I have read the documentation but now I have another error. Now the
error is with the template index of the admin interface:
This has been fixed in the latest SVN release.
J
On Jul 20, 8:42 pm, John M <[EMAIL PROTECTED]> wrote:
> Ticket 7861 created for this.
>
> John
>
> On Jul 20, 1:25 pm, "Chris H." <[EMAIL PROTECTED]> wrote:
>
> > On Jul 20, 3:21 pm, John M <[EMAIL PROTECTED]> wrote:
>
> > > Given that the group
Hi guys,
I have two models (A and B) that I want to intermix into a QuerySet. I
know this is not yet possible in Django, so I decided to work around
the problem using a third model C as a generic "wrapper" that posesses
a GenericForeignKey to either A or B.
Now, I'd also like to filter records
Hi all,
after I readed the djangobook,I found if I wrote following code and I
want to get some cool stuff.like auto generate the CRUD logic,I found that I
have to use the Django Admin tool.I mean if I use Rails Or Grail,it can auto
generate the code for me (both logic code and page code).but
On 21-Jul-08, at 1:53 PM, Hussein B wrote:
> Well, I know this question isn't related to Django but I hope it is ok
> to ask.
> What are your favourite Python resources?
diveintopython - and the django book is outdated, better you get
uby's practical django projects
--
regards
kg
Hi!
I have updated Django from svn, installed a new app and some new
models and now when I try to browse /admin/ I get this error:
ViewDoesNotExist: Tried index in module
django.contrib.admin.views.main. Error was: 'module' object has no
attribute 'index'
I have checked that my user is the
adding transaction.commit_unless_management() to the end of my move()
function solve the problem.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Never mind, newforms-admin works great. :)
I forgot that I had copied a custom version of the old admin templates
and it was parsing that instead.
Cheers!
Justin
On Sun, Jul 20, 2008 at 7:27 PM, Justin Wong <[EMAIL PROTECTED]> wrote:
> Well, I tracked down the admin/index.html page and I see
Hi, guys )
I'm expecting some troubles with performing custom SQL. Could you help
me please?
I'm using nested sets method to store tree in Postgres DB. So i've
wrote decorators for tree model manager to perform generic tree
functions like move, create, delete etc. It's strange, but when i'm
Just wondered if I'm missing something, or if it's just not been an
issue to anyone...
Looking at the DB testing docs, it seems that it tries to use a
'TEST_', for testing. This is a bit of a problem with Oracle,
where a new DB is a rather 'heavyweight' thing and may not be possible
if using
I would say I learned the most about python in one go when I started reading
through the django source code! Activestate's "python cookbook" is
invaluable, and the online books "Dive into Python" and "Thinking in python"
are great.
Cheers,
Ben
2008/7/21 Hussein B <[EMAIL PROTECTED]>:
>
> Hey.
>
Hey.
Well, I know this question isn't related to Django but I hope it is ok
to ask.
What are your favourite Python resources?
I'm a Java developer and currently learning Python.
I got "Learning Python, 3rd Edition" and "Beginning Python" and the
Django book.
Do you suggest a must have book or
On Sun, Jul 20, 2008 at 8:14 PM, zippers24 <[EMAIL PROTECTED]>
wrote:
>
> I am completley new to this and am installing it for the first time, I
> am trying to create my first project in a file called djprojects. The
> windows command prompt says that django-admin.py is not recognized
> even
I am completley new to this and am installing it for the first time, I
am trying to create my first project in a file called djprojects. The
windows command prompt says that django-admin.py is not recognized
even though I added its location: C:\Python\Lib\site-packages\django
\bin to both the
On Sun, 2008-07-20 at 21:35 +0200, Bernd Donner wrote:
> In the old version of the admin site the fields of the UserProfile could be
> displayed "inline" on the corresponding User page of the admin site. This was
> done by somthing like:
>
> class UserProfile(models.Model):
> ...
> user =
Hi All!
My first post here, though I've been using Django for about 6 months.
I am building a site that will appear in three different languages
(maybe more, later), which means that every text field has to have
three text fields with the text for each language. After toying with
various
Hey all,
In order to deploy multiple django based websites I've created a set
of scripts which build the setup.py and debian directory for deb based
deployment of django websites. At the moment it handles apache
configuration, mysql database creation (with random passwords) and
setting up the
hi Julien
that makes perfect sense and looks much better than auto_now. always good to
avoid deprecated stuff.
thanks a lot
André
On Mon, Jul 21, 2008 at 6:26 AM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> The declarative attribute 'auto_now' (as well as 'auto_now_add') is
>
97 matches
Mail list logo