Excelent work! Well done!
--~--~-~--~~~---~--~~
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 P
Hi,
I've been checking geodjango and it looks very well, but I have some
questions about it.
If I have two models like:
class UserProfile(models.Model):
location = models.PointField(srid=2062)
objects = models.GeoManager()
class Places(models.Model):
Djangonauts - to boldly go where no man has gone before!
--~--~-~--~~~---~--~~
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 th
On 4 sep, 02:07, "James Bennett" <[EMAIL PROTECTED]> wrote:
> The Django team is pleased to announce the release of Django 1.0 this evening:
Champagne !-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
James Bennett escribió:
> The Django team is pleased to announce the release of Django 1.0 this evening:
>
> Download: http://www.djangoproject.com/download/
> Release notes: http://docs.djangoproject.com/en/dev/releases/1.0/
>
> Have fun with it, and we'll see you in a few days for DjangoCon.
>
Hi Adrián,
Regarding your SRS questions you need to be aware that if you use different
SRS for different tables that unless you reproject to a common one distance
computations make no sense. Likewise if you are computing the distance in an
e.g. lat/long projection your distance will be not be in ki
I modified the 'get_main_section' method in this way..
def get_main_section(self):
try:
sections = list(self.id_section.all().order_by('order'))
if (len(sections) > 1):
section_name = sections[1]
else:
section_name =
Hi,
Can I include my Model's or AdminModel's method into AdminModels
list_filter?
I don't want to store the value in database, since that value is
calculatable on the fly.
Thanks in advance and congratuation on 1.0 release.
--~--~-~--~~~---~--~~
You received thi
Thank you all for the great work done! Django is the best web
framework ever written, it's really time to spread the word and use it
everywhere!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Thank you Ludwig!
> Regarding your SRS questions you need to be aware that if you use different
> SRS for different tables that unless you reproject to a common one distance
> computations make no sense.
So I guess I have to use the default srid in both models. Right?
If I set the default srid,
trunk - http://code.djangoproject.com/svn/django/trunk/django/
1.0 tag - http://code.djangoproject.com/svn/django/tags/releases/1.0/
since i'm using subversion for my sites in svn:externals i have django
trunk and now i'm switching to 1.0 tag.
so what i'm actually asking is if i'm using 1.0 tag i
On Thu, Sep 4, 2008 at 4:28 AM, Aljosa Mohorovic
<[EMAIL PROTECTED]> wrote:
> since i'm using subversion for my sites in svn:externals i have django
> trunk and now i'm switching to 1.0 tag.
> so what i'm actually asking is if i'm using 1.0 tag in svn:externals
> does it mean that i'm guaranteed t
>
>
> When i use wrong dates in a query and execute that directly on the
> database,
> then i get the same error message.
> Judging from the error message, it seems as if the date is in a different
> format than expected by the database.
>
The expected date format is a per-connection level setting
With the release of Django 1.0, we're pleased to announce the release
of a completely updated version of our highly popular Django Cheat
Sheet which is crammed with a whole host of useful Django information:
http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/
We welcome any ideas for im
With the release of Django 1.0, we're pleased to announce the release
of a completely updated version of our highly popular Django Cheat
Sheet which is crammed with a whole host of useful Django information:
http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/
We welcome any ideas for im
Mike Hansen wrote:
> I apologize if this already showed up on the list. I originally posted this
> from google groups, and I think it ate it.
>
> I'm new to Django. As a small Django project, I'm making a internal purchase
> request form. One section has user information and another section has
I am trying to migrate a project to 1.0 and I'm currently updating the
admin system. When I try to load the /admin/ URL I get this error:
Exception Type: TemplateSyntaxError
Exception Value:Caught an exception while rendering: No module named
admin_urls
The error is coming from l
On Sep 4, 2:07 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> The Django team is pleased to announce the release of Django 1.0 this evening:
>
> Download:http://www.djangoproject.com/download/
> Release notes:http://docs.djangoproject.com/en/dev/releases/1.0/
>
> Have fun with it, and we'll see
I am using MySQL at the moment, so I cannot really help you with the
distance calculations, but the documentation at
http://code.djangoproject.com/wiki/GeoDjangoDatabaseAPI#DistanceLookupssuggests
that your distance calculations should work at least if your SRS is
in meters/km etc.
I you mean defa
Hi!
Playing with the wonderful mptt code:
http://code.google.com/p/django-mptt/
I would like to ask if someone knows how to do this:
(I play with some kind of navigation for websites)
I have a tree where some nodes are marked "inactive"
or "deleted". Furthermore, some nodes are to be
displayed
Guys,
I have the following model :
from pypo.contracts.models import job_id
from pypo.suppliers.models import Company
##Create your models here
class ponum(models.Model):
contract = models.ForeignKey(job_id)
supplier = models.ForeignKey(Company)
Description = models.
dankelley wrote:
> In other words, should I (or typical users) download the official 1.0
> version, or will it still be advised to track the development version?
Nothing can stop you from using trunk :-)
I'm not a core developer so don't take it as an official advice. But I
do think that living
Great achievement, congratulations from Belgium!
We already celebrated on our own release trip. Check out the original
Django museum and his place of birth:
http://www.think-wize.com/nl/django-10-celebration
On Sep 4, 2:07 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> The Django team is plea
Thanks for the great work!
James Bennett wrote:
> The Django team is pleased to announce the release of Django 1.0 this evening:
>
> Download: http://www.djangoproject.com/download/
> Release notes: http://docs.djangoproject.com/en/dev/releases/1.0/
>
> Have fun with it, and we'll see you in a fe
Hi Rodolfo, thanks for the feedback. I've just finished the v1 version,
once it is uploaded to Vimeo etc I'll announce it here. I'm glad you liked
Chrome, I figured it'd make for a change from Firefox or Safari :-)
Cheers!
Ian.
2008/9/4 Rodolfo <[EMAIL PROTECTED]>
>
> Man, nice video!
> Go for
Love 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 group, send email to [EMAIL PROTECTED]
For
On Thu, Sep 4, 2008 at 4:55 AM, MakotoSatoh <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Can I include my Model's or AdminModel's method into AdminModels
> list_filter?
>
> I don't want to store the value in database, since that value is
> calculatable on the fly.
>
> Thanks in advance and congratuation
Hello,
I just moved to Django 1.0 and I am facing a weird error when Django
sessions tries to save the session into the PostgreSQL DB.
A traceback is given below:
2008-09-04 17:30:55: (mod_fastcgi.c.2534) FastCGI-stderr: Traceback
(most recent call last):
File "/var/lib/python-support/python2.
Thank you all, yet again, for making it feel like the past decade or
so that I've been using other languages/frameworks was completely
wasted :-) Keep it up, please.
-Jeff
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
You can use an extra select to get additional parameter 'main_section'
This is for MySQL and it's only sample
you need to test it in your DB to make sure, that it works
sub_select = """SELECT section_name
FROM %(table_section)s as sc, %
(table_section_story)s as st
On Thu, Sep 4, 2008 at 7:04 AM, simong <[EMAIL PROTECTED]> wrote:
>
> I am trying to migrate a project to 1.0 and I'm currently updating the
> admin system. When I try to load the /admin/ URL I get this error:
>
> Exception Type: TemplateSyntaxError
> Exception Value:Caught an exce
sorry, you need
story = Story.objects.filter(pk=1).extra(select={'main_section':
sub_select }).values('main_section', 'other_field1', 'other_field2' )
[0]
because we get here list of dictionaries
Good luck!
--~--~-~--~~~---~--~~
You received this message because
I've amended yesterday's preview release to reflect the new v1 Django site,
the finished 'Django in Under a Minute' screencast is available, I trust
it'll help spread the word to potential new Django users, feel free to embed
in blog posts:
http://www.vimeo.com/1665004
http://showmedo.com/videos/vi
Hi Jay,
Thanks for the patch, I need to spend more time on this but I had
pushed your correction. Any feedback is really appreciated.
Best,
David
Le 2 sept. 08 à 18:22, shadfc a écrit :
> To fix the corrupt images error, add
> content.open()
> to the top of _save() on the S3Storage class (or
Hi all!
Trying the fallowing:
from django.db.models import signals
print dir(signals.post_save)
gives:
['__class__', '__delattr__', '__doc__', '__getattribute__',
'__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__',
'__repr__', '__setattr__', '__str__']
and
print signals.post_save
i can't figure out what's the problem (i also used re with same
results). how should i replace a pattern with non-ascii char?
working as expected:
In [27]: s
Out[27]: 'asd'
In [28]: s = s.replace("s", "š")
In [29]: s
Out[29]: 'a\xc5\xa1d'
not working on model fields:
In [30]: p = Page.objects.al
Hi,
I'ld like to put an "add another" kind of button at the admin inline
form, but with InlineModelAdmin classes I can only put extra, min_num
and max_nun. How could I do to add another instance dynamically
without saving?
Thanks in advance.
--~--~-~--~~~---~--~~
> I just moved to Django 1.0 and I am facing a weird error when Django
> sessions tries to save the session into the PostgreSQL DB.
Problem solved guys :) It was an old Django process which was still
running and throwing the error.
Congratulations on 1.0 and keep up the great work.
Regards,
BG
2008/9/4 Aljosa Mohorovic <[EMAIL PROTECTED]>
>
> i can't figure out what's the problem (i also used re with same
> results). how should i replace a pattern with non-ascii char?
>
> working as expected:
> In [27]: s
> Out[27]: 'asd'
> In [28]: s = s.replace("s", "š")
> In [29]: s
> Out[29]: 'a\xc5
On Sep 4, 2:02 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 4, 2008 at 7:04 AM, simong <[EMAIL PROTECTED]> wrote:
>
> > I am trying to migrate a project to 1.0 and I'm currently updating the
> > admin system. When I try to load the /admin/ URL I get this error:
>
> > Exception Type:
> We welcome any ideas for improvements, corrections, or any other
> feedback.
Nice work, much appreciated. One thing did jump out at me though... In
the Model fields section, USStateField and PhoneNumberField have been
moved into localflavor:
http://code.djangoproject.com/wiki/BackwardsIncompat
On Sep 4, 4:00 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> In the working case your initial string is a bytestring, in the non-working
> case the initial string is unicode. The error comes from trying to replace
> into a unicode string a bytestring containing non-ascii chars:
>
> >>> s = u'as
Hey, I am having the same problem running the updated version. The
error is 'adminapplist' is not a valid tag library: Could not load
template library from django.templatetags.adminapplist, No module
named adminapplist. There is a adminapplist, but from post I need to
replace it with a old one.
W
Hello Django world, I am having a problem running the updated
adminapplist version. The error is 'adminapplist' is not a valid tag
library: Could not load template library from
django.templatetags.adminapplist, No module named adminapplist. There
is a adminapplist, but from a post here I need to r
W00t! :)
(i've been patiently waiting :))
--~--~-~--~~~---~--~~
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
On Thu, Sep 4, 2008 at 10:30 AM, KillaBee <
[EMAIL PROTECTED]> wrote:
>
> Hello Django world, I am having a problem running the updated
> adminapplist version. The error is 'adminapplist' is not a valid tag
> library: Could not load template library from
> django.templatetags.adminapplist, No modu
On Sep 4, 12:36 pm, [EMAIL PROTECTED] wrote:
> Guys,
>
> I have the following model :
>
> from pypo.contracts.models import job_id
> from pypo.suppliers.models import Company
>
> ##Create your models here
>
> class ponum(models.Model):
> contract = models.ForeignKey(job_id)
> sup
True but I wanted to organize my folder a bit because there's not just
one photo per pet, there could be quite a lot more than one photo per
pet. First, I'd rather not have a million _ at the end of a file
because everyone named their file cute1.jpg. Anyway, I got it to work,
code below. (It's not
Hello,
After upgrading from Django version 1.0-beta_1-SVN-unknown to the Django 1.0
stable, I am getting this error:
Exception Type: TypeError Exception Value:
'NoneType' object is not callable
Exception Location: /usr/lib/python2.5/site-packages/django/forms/models.py
in __init__, line 197
On Thu, Sep 4, 2008 at 10:00 AM, simong <[EMAIL PROTECTED]> wrote:
> It might have been in part a caching problem in Firefox: to clarify,
> I'm testing this on my laptop running Ubuntu 8.04 using apache2 with
> local name resolution using names against localhost, which is fairly
> non-standard but
I am wanting to show all blog entries written by certain authors..how
would I go about doing this in my templates.
In my Blog model I have an author variable.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
I am attempting to use modelform_sets and AFAIK I have implemented it
correctly. The problem is that the first time the form is submitted
without any data in the form fields, the is_valid() function validates
these fields as being valid and then stores empty values in the
database, even though my
Hi.
I'm using newforms to upload a file in my project.
I want to check the mime type of the uploaded file.
Let's say my field name is "file", and check_uploaded_file() is a
function that takes the content type and checks it.
file = request.FILES['file']
check_uploaded_file(file.content_type)
S
Le 4 sept. 08 à 12:20, Fraser Nevett a écrit :
>
> http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/
>
> We welcome any ideas for improvements, corrections, or any other
> feedback.
Any chance to get a printable copy without colors, just a white
background?
My printer will thank you
Hi,
First, let me start by explaining what my goals are:
- Have a django project & its apps in version control
- Have all of the templates the apps will use in the same version
control
- Have all static content (images, css, etc) in the same version
control.
So far, this is the directory structu
>From http://www.djangoproject.com/documentation/testing/
"4. Looking for unit tests and doctests in the models.py and tests.py
files in each installed application."
Next to models.py I have forms.py which does exactly what the filename
suggests: it defines forms. I've put some doctests in these
On Thu, Sep 4, 2008 at 10:46 AM, Genis Pujol Hamelink <[EMAIL PROTECTED]
> wrote:
> Hello,
>
> After upgrading from Django version 1.0-beta_1-SVN-unknown to the Django
> 1.0 stable, I am getting this error:
>
>
You get the error when you do?
> Exception Type: TypeError Exception Value:
>
>
Hi all !
I'm new in Django and start install Django 1.0 on IIS 6.0 via PyISAPIe
1.0.4.
I stop on this :
AttributeError at
'PyISAPIeRequest' object has no attribute 'path_info'
Request Method: GET
Request URL:http://127.0.0.5
Exception Type: AttributeError
Exception Value:
'PyISAPIeRequest'
On Thu, Sep 4, 2008 at 11:13 PM, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
>
> From http://www.djangoproject.com/documentation/testing/
> "4. Looking for unit tests and doctests in the models.py and tests.py
> files in each installed application."
>
> Next to models.py I have forms.py which does
A couple of questions about forms.
If I have a model form for a model which has a ManyToMany Relationship
with itself, can filter the choices that will appear in the multiple
choice field that will be created
i.e. if I users can befriend each other, how can I remove from the
choices users who ar
I did not know it would post like that.
It seem like it is going backwards, less instead of more things. This
is one of the most important things to see all your Django apps.
So, if there is no adminapplist in django, Do you know if some one
else has put to pieces back together, and made a simila
Problem solved there
http://groups.google.cz/group/pyisapie/browse_thread/thread/3f2f8d3fe14644a8/7c76332a571858ed?lnk=st&q=PyISAPIeRequest#7c76332a571858ed
On 4 Zář, 17:21, rasto <[EMAIL PROTECTED]> wrote:
> Hi all !
>
> I'm new in Django and start install Django 1.0 on IIS 6.0 via PyISAPIe
> 1
I went on to the IRC channel and Magus- helped me solve the problem.
Centos has permissions on the user folder I had the SVN trunk in that
was set to 700. /home/username/django-trunk is where I symlinked
django from.
To solve this problem all I had to do was set the permissions to 711
and it
OK sorry about that...
Traceback: http://dpaste.com/75912/
models.py: http://dpaste.com/75913/
gforms.py: http://dpaste.com/75914/
views.py:http://dpaste.com/75915/
After logging in the user is redirected to a page which basically is the
punts_form function defined in views.py.
regards,
Ge
> If your looking for an example to follow, the code for
> django.test.simple isn't too hard to tear apart and customize for your
> own purposes.
OK. Here's how I solved it:
from django.test.simple import *
from django.test.simple import run_tests as orig_run_tests
# my app is called 'classes'
On Thu, Sep 4, 2008 at 11:31 AM, KillaBee <
[EMAIL PROTECTED]> wrote:
>
> I did not know it would post like that.
> It seem like it is going backwards, less instead of more things. This
> is one of the most important things to see all your Django apps.
> So, if there is no adminapplist in django,
thanks that index worked, I must have overwritten the good one.
sorry for assuming.
On Sep 4, 11:06 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 4, 2008 at 11:31 AM, KillaBee <
>
> [EMAIL PROTECTED]> wrote:
>
> > I did not know it would post like that.
> > It seem like it is going
On Thu, Sep 4, 2008 at 11:41 AM, Genis Pujol Hamelink <[EMAIL PROTECTED]
> wrote:
> OK sorry about that...
>
> Traceback: http://dpaste.com/75912/
> models.py: http://dpaste.com/75913/
> gforms.py: http://dpaste.com/75914/
> views.py:http://dpaste.com/75915/
>
> After logging in the user is r
Thanks again for the huge amount of awesome that you guys have brought
to web development.
On Sep 3, 8:07 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> The Django team is pleased to announce the release of Django 1.0 this evening:
>
> Download:http://www.djangoproject.com/download/
> Release n
Thank you very much for making our jobs fun again with this fantastic
framework!
On Thu, Sep 4, 2008 at 9:37 AM, Wes Winham <[EMAIL PROTECTED]> wrote:
>
> Thanks again for the huge amount of awesome that you guys have brought
> to web development.
>
> On Sep 3, 8:07 pm, "James Bennett" <[EMAIL PR
I like it. Thank you for enabling me to convert my friends to Django in one
minute!
On Thu, Sep 4, 2008 at 6:04 AM, Ian Ozsvald <[EMAIL PROTECTED]> wrote:
> I've amended yesterday's preview release to reflect the new v1 Django site,
> the finished 'Django in Under a Minute' screencast is availabl
In the admin, I just get a trace of errors yayks!
On Sep 3, 5:28 pm, [EMAIL PROTECTED] wrote:
> In the admin, or on the site in a view?
>
> On Sep 3, 12:12 pm, David <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > when setting (for example)
> > name = models.CharField('Name', max_length=50, unique
Thanks! and i second David's request.
On Thu, Sep 4, 2008 at 8:09 AM, David Larlet <[EMAIL PROTECTED]> wrote:
>
>
> Le 4 sept. 08 à 12:20, Fraser Nevett a écrit :
> >
> > http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/
> >
> > We welcome any ideas for improvements, corrections, or an
Thanks for your reply, I haven't described the tables (or how) as I am
still trying to rationalise the best approach. Perhaps if I describe
to you want I want to do you'll see the best approach.
Consider the case of a shop (for example) and items can be added to
the shop and their prices continua
On Thu, Sep 4, 2008 at 12:52 PM, David <[EMAIL PROTECTED]> wrote:
>
> In the admin, I just get a trace of errors yayks!
>
>
What level of Django are you running? Code was added to admin fairly
recently to properly check unique constraints:
http://code.djangoproject.com/ticket/8209
If you ar
I am using Basic Blog from the Django-Basic-Apps released by Nathan
Borror if that helps.
On Sep 4, 9:44 am, unklbeemer <[EMAIL PROTECTED]> wrote:
> I am wanting to show all blog entries written by certain authors..how
> would I go about doing this in my templates.
>
> In my Blog model I have an
Django 0.96 / mySQL / Apache2 / Ubuntu 8.04
I have created a "wizard" for data input. Rather than have one huge
form I have spread it out over a number of views/templates. After the
user submits data and it has been validated, each view places the
"new_data" into the request.session and redirects
I think your question is mostly about table design for relational databases.
The best design follows certain 'normalization' rules which ensure that
information is kept once and only once to ensure integrity.
One table per item is certainly the wrong approach, as it will mean that you
constantly h
Thanks for all the feedback both on list and via email.
Our plan is to wait a day or two to see if there are any further
corrections required and then to release an updated edition early next
week. At this time we'll also produce a alternative version which will
be more suited for non-colour prin
On Thu, 2008-09-04 at 06:25 -0700, Webchemist wrote:
> Hi all!
>
> Trying the fallowing:
>
> from django.db.models import signals
> print dir(signals.post_save)
> gives:
> ['__class__', '__delattr__', '__doc__', '__getattribute__',
> '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex
what kind of screencast software did you use?
I found the django screencast to be moving too quickly between steps,
not enough time to absorb the message in each step.
Thanks,
-B
On Sep 3, 2:07 pm, "Ian Ozsvald" <[EMAIL PROTECTED]> wrote:
> I've created a 57 second screencast showing 'Django
I am working on migrating an Django app to 1.0.
I am running into problems getting my models registered with the
admin. I am following the info here:
http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Mergednewforms-adminintotrunk
I have updated my main urls.py:
-
from dja
I have two templates, one called via a Generic View and one via my own
View. They both extend a base.html view that has {{MEDIA_URL}} in it.
When the generic view is hit, the base.html template gets it's value,
http://rtdev.apple.com/media/
, but when my own View hits MEDIA_URL blanks.
I t
Ronny,
Thank you so very much for your input; it has helped this newbie user
a great deal. The one outstanding problem I'm having here (and it's
the last field in my model...) is that I'd actually like to use a
FloatField to save my data, but it's failing validation for that type
of field ("enter
Take a look here:
http://www.djangoproject.com/documentation/shortcuts/#render-to-response
keith
On Sep 4, 2:44 pm, Cortland Klein <[EMAIL PROTECTED]> wrote:
> I have two templates, one called via a Generic View and one via my own
> View. They both extend a base.html view that has {{MEDIA_URL
fyi
I think I tracked this down.
I had this Admin def:
--
class BookVersionAdmin(admin.ModelAdmin):
fields = (
("Book", {'fields':('title', 'book', 'language', 'version',
'license', 'is_release', 'is_public')}),
("Contributors", {'fields':('authors', 'con
Are now available according to their homepage:
http://mediatemple.net/webhosting/gs/django.html
Was anyone in the beta? I've not used them, so I'm wondering what the
experience was like.
---
David Zhou
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received th
I was in beta, just checked my acct and it's already setup with the
Django Pro Containers, I better not get charged the $40/month :) I
really disliked the containers while they were in beta, they look
better now, but to me WebFaction is much better...
I'm considering this weekend doing it with a
>
> However, when I try to go to the admin I get either one of two errors
> (if I keep refreshing, the errors change between the two randomly.
>
> Either
> ---
> TypeError at /admin/
>
> dict objects are unhashable
It seems that one of your errors is in books/data/admin.py and not in
the adm
On Sep 4, 10:10 am, Robert Dailey <[EMAIL PROTECTED]> wrote:
> Hi,
>
> First, let me start by explaining what my goals are:
> - Have a django project & its apps in version control
> - Have all of the templates the apps will use in the same version
> control
> - Have all static content (images, css
hi all
please, due to http://www.djangoproject.com/weblog/2008/sep/02/security/
i would like to know, when there will be security patch for debian
etch version
thank you
pavel srb
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
Pavel, you should get in touch with the Debian package maintainers for
Django. You can find their contact information here:
http://packages.debian.org/etch/python-django.
-- Scott
On Thu, Sep 4, 2008 at 3:29 PM, pavel srb <[EMAIL PROTECTED]> wrote:
>
> hi all
> please, due to http://www.django
On Sep 4, 3:53 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 4, 2008 at 10:00 AM, simong <[EMAIL PROTECTED]> wrote:
> > It might have been in part a caching problem in Firefox: to clarify,
> > I'm testing this on my laptop running Ubuntu 8.04 using apache2 with
> > local name resol
I like to symlink my 'static' folder to the DocumentRoot of apache, then
you can update your svn repo and the static files are serverd.
Gremmie wrote:
> On Sep 4, 10:10 am, Robert Dailey <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> First, let me start by explaining what my goals are:
>> - Have a
Hello !
I have a problem installing django. I followed the instructions but then :
# ./django-admin.py
Traceback (most recent call last):
File "./django-admin.py", line 2, in ?
from django.core import management
ImportError: No module named django.core
I am running SUSE Linux Enterpris
Is there a way to determine whether the model´s save()-method
performs an insert or an update?
I want to do something like this:
create modelA_Instance --> create modelB_Instance.
So my plan is to do this in the save() from modelA.
--~--~-~--~~~---~--~~
You r
I usually keep it like this (but note, that I've recently switched to git):
myproject.com
|-myproject
|--app1
|---templatetags
|---templates
|--app2
|--app3
|--templates
|--...
|-static
Some people tend to keep the actual apps in some other directory
(repository) and then symlink to the myprojec
Recent changes in Django have broken diango-tagging, and it looks like
the django-tagging project isn't very actively maintained. Is there a
alternative module with equivalent functionality?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
I'm using django-tagging trunk version and it's ok. The last changes
were made 6 days ago, so it looks like it's still maintained.
Matic
On Thu, Sep 4, 2008 at 10:01 PM, Delta20 <[EMAIL PROTECTED]> wrote:
>
> Recent changes in Django have broken diango-tagging, and it looks like
> the django-tag
Hi,
> I'm using newforms to upload a file in my project.
> I want to check the mime type of the uploaded file.
>
> Let's say my field name is "file", and check_uploaded_file() is a
> function that takes the content type and checks it.
>
> file = request.FILES['file']
> check_uploaded_file(file.co
1 - 100 of 145 matches
Mail list logo