Hi James,
I'm hoping you have a bit of time to describe your success at
getting django to work on BlueHost, perhaps by describing the
differences between the DreamHost document and what you
had to do.
I've been trying to set up django on my new BlueHost account.
While I've gotten django to do th
Yes, that's what I meant. I just use a generic view and template to
generate an XML file, and then pull that into my Flash component.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
Oh yeah: I upgraded to 0.95, but the old django-admin.py comes up first
in my $PATH, so my project got created a little wonky.
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
oh hell - sent to the wrong place - list, pl ignore this
On Thu, May 4, 2006 8:38 am, Kenneth Gonsalves said:
>
> I am a django developer from India. My skills are more in programming than
> in web design. My sites are my cv:
>
> http://szjuniorgolf.org.in/szdb/
> http://keystone-foundation.net/w
On 5/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> ImproperlyConfigured at /test/
> Error importing template source loader
> django.core.template.loaders.filesystem: "No module named
> template.loaders.filesystem"
Sounds like somehow your project's settings.py has gotten corrupted;
the
I am a django developer from India. My skills are more in programming than
in web design. My sites are my cv:
http://szjuniorgolf.org.in/szdb/
http://keystone-foundation.net/web/
the servers on which these sites run are also setup and maintained by me
In both, the content is fully done by the c
Hi, I'm just getting started with Django (0.95), and views with
templates aren't working.
Here's my very simple test:
from django.template import Context, loader
from django.http import HttpResponse
def test(request):
t = loader.get_template('test.html')
return HttpResponse(t.render()
On 5/3/06, falcon <[EMAIL PROTECTED]> wrote:
> By users I meant users of the Django framework, not end-users. Since
> my last post I came across a few models (the ones you suggested) that
> do have a great deal more logic than I expected. I still believe that
> many 'developers' could benefit fr
On 5/3/06, Scott Benjamin <[EMAIL PROTECTED]> wrote:
> I too just ran across this. It's nice to go searching and find that I'm
> not the only one. ;)
Ticket #1583 [1] covers this, but hasn't been resolved. The
'get_thumbnail_url' function wasn't and shouldn't be part of Django,
so this needs to b
I think you're right, Richie. I applied the patch just in case I used
threads at some point, like maybe if I used Django's database layer in
some context other than a web server.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
falcon wrote:
> I still believe that
> many 'developers' could benefit from defining simple to moderately
> complex models on the web. If code needs to get more complex,
> developers can just switch back to using models.py.
>
I have gone in a different direction. I have written a tool to parse
Hi,
I'm based in Sydney, Australia and I need to hire a django developer to
complete a smallish project for a client. (Our Django developer has
gone on holidays in europe - Hi Peter hope you are enjoying yourself).
Please contact me by email if you are available to take on this project
with c/v a
On 5/3/06, JHeasly <[EMAIL PROTECTED]> wrote:
> I fixed it by adding
>
> 'django.contrib.comments',
>
> to the INSTALLED_APPS of my settings.py.
>
> So, 1.) is this the right-and-proper fix? And 2.) if so, when you make
> a generate a new project with the current (0.95 post-magic-removal,
> rev. 2
I too just ran across this. It's nice to go searching and find that I'm
not the only one. ;)
Scott
gabor wrote:
> hi,
>
> (actual from-svn-trunk django)
>
> let's have the following model:
>
>
> ==
> class Image(Model):
> name = CharField(maxlength=50)
> pi
Thanks for the replies. The reason why I'm a little uncomfortable with
manually editing the slug is that I am releasing the django admin to an
editor who will create categories and edit submitted stories, she
doesn't need to know what a slug is. My solution is just setting the
template tag to al
On Wed, 2006-05-03 at 15:43 -0700, Sean Perry wrote:
> Following the new tutorial this morning I ran into a few problems:
> * tutorial and other docs go back and forth between Poll and Blog apps.
It's a rewrite in progress.
> Choosing one would be nice.
>
> * __str__ vs __repr__
> The tutorial
On Thu, May 4, 2006 4:26 am, Luke Plant said:
>
> On Wednesday 03 May 2006 17:51, Kenneth Gonsalves wrote:
>
>> when making major upgrades, sometimes old .pyc files remain giving
>> errors like this. Nuking subversion is the best solution
>
> Or, if you use *nix this will be a bit less drastic an
On Thu, May 4, 2006 12:19 am, James Bennett said:
>
> On 5/3/06, conspirisi <[EMAIL PROTECTED]> wrote:
>> Can Django be integrated with Flash? Is it a good idea? How Difficult
>> is it?
>
> Django's templates can output whatever you like; I'd recommend using
> them to generate some sort of XML wh
I haven't launched anything public on Dreamhost yet, but I haven't had
any problems with some test apps I put up.
So that's a tentative +1 success, pending a real app launch :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
On 5/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there a way to refine an autoreference field like :
>
> class Categorie(models.Model):
> parent = models.ForeignKey(Categorie)
> title = models.TextField()
What you are looking for is:
class Categorie(models.M
I watched Jacob's great Bay Area Google video and had never seen any of
that nifty {{ load comments }} stuff before. Eager to give it a try, I
was sad when I added it to polls app tutorial results.html template and
it broke.
I fixed it by adding
'django.contrib.comments',
to the INSTALLED_APPS
I am currently running a test server under Apache 2 + mod_fastcgi +
django. I haven't had any problems here. Like others, I was having
trouble with PHP and mod_python playing well together.
--~--~-~--~~~---~--~~
You received this message because you are subscrib
thank you all for your help!
Luis P. Mendes
--~--~-~--~~~---~--~~
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, s
Luke Plant wrote:
> On Wednesday 03 May 2006 17:51, Kenneth Gonsalves wrote:
>
>> when making major upgrades, sometimes old .pyc files remain giving
>> errors like this. Nuking subversion is the best solution
>
> Or, if you use *nix this will be a bit less drastic and faster:
>
> find your/djan
On 5/4/06, Luke Plant <[EMAIL PROTECTED]> wrote:
>
> On Wednesday 03 May 2006 15:39, Malcolm Tredinnick wrote:
> > On Wed, 2006-05-03 at 16:29 +0200, Honza Král wrote:
> > > BEGIN;
> > > COMMIT;
> > > is the output of manage.py sql app (empty sql script for
> > > postgreSQL)
> > >
> > > I am fairly
On Wednesday 03 May 2006 17:51, Kenneth Gonsalves wrote:
> when making major upgrades, sometimes old .pyc files remain giving
> errors like this. Nuking subversion is the best solution
Or, if you use *nix this will be a bit less drastic and faster:
find your/django/src/dir -name '*.pyc' | xargs
On Wednesday 03 May 2006 15:39, Malcolm Tredinnick wrote:
> On Wed, 2006-05-03 at 16:29 +0200, Honza Král wrote:
> > BEGIN;
> > COMMIT;
> > is the output of manage.py sql app (empty sql script for
> > postgreSQL)
> >
> > I am fairly new to python, so I completely don't mind trivial
> > questions,
Following the new tutorial this morning I ran into a few problems:
* tutorial and other docs go back and forth between Poll and Blog apps.
Choosing one would be nice.
* __str__ vs __repr__
The tutorial01 says defining __str__ will then cause Model.objects.all()
to show a human readable string,
By users I meant users of the Django framework, not end-users. Since
my last post I came across a few models (the ones you suggested) that
do have a great deal more logic than I expected. I still believe that
many 'developers' could benefit from defining simple to moderately
complex models on th
James Bennett wrote:
> Going further, it seems to me that, rather than encouraging the design
> of good, well-thought-out models, building models through a web
> interface would encourage a slapdash "if we get it wrong we'll just go
> into the web interface and change it" mentality, which would be
On 5/3/06, falcon <[EMAIL PROTECTED]> wrote:
> I wonder if you could say a few more words about why you think such a
> system will be abused? As far as I can tell, the models.py interface
> is simple enough to be ported completely to the web (it doesn't look
> like models.py is where you put comp
thanks.
right now i´m dealing with the proposed FileBrowseField (see previous
posting), which is a hassle.
i thought about using PIL for thumbnails.
patrick
Am 03.05.2006 um 21:01 schrieb Rudolph:
>
> Hi,
>
> I've had good results with using ImageMagick to generate thumbs (in my
> old PHP s
On 5/3/06, Sean Perry <[EMAIL PROTECTED]> wrote:
> That get_FOO_filename should be save_FOO_filename.
Thanks, Sean! I've fixed it, along with another, similar, typo.
If you could, please file these sorts of things in the Web ticket
system -- things tend to get lost on the mailing lists.
Adrian
save_FOO_file(filename, raw_contents)
-
For every ``FileField``, the object will have a ``get_FOO_filename()``
method,
where ``FOO`` is the name of the field. This saves the given file to the
filesystem, using the given filename. If a file with the given file
James,
Thanks for pointing to sites/models.py and auth/models.py, I'll take a
look.
I wonder if you could say a few more words about why you think such a
system will be abused? As far as I can tell, the models.py interface
is simple enough to be ported completely to the web (it doesn't look
like
Hi,
Is there a way to refine an autoreference field like :
class Categorie(models.Model):
parent = models.ForeignKey(Categorie)
title = models.TextField()
The problem is that the Categorie class is not yet defined upon class
definition ...
doing a simple
class Categorie(model
On 5/3/06, falcon <[EMAIL PROTECTED]> wrote:
> I just started looking at Django, looks very interesting. However,
> couldn't models be defined in the admin page, rather than in python
> code? In fact, is there a reason why we couldn't download django, run
> the embedded web server, go to the adm
thanks guys,
jeff, when you say that method, you mean with xml?
conspirisi
--~--~-~--~~~---~--~~
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 just started looking at Django, looks very interesting. However,
couldn't models be defined in the admin page, rather than in python
code? In fact, is there a reason why we couldn't download django, run
the embedded web server, go to the admin page and do every thing there
(except templates)?
Indeed, that method works quite well. For an example of doing exactly
that, you can check out my Flash photo slideshows. Here's one:
http://www2.jeffcroft.com/tag/sxsw/photos/slideshow/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hi,
I've had good results with using ImageMagick to generate thumbs (in my
old PHP system). It can handle a lot of file types (images, pdf,
postscript, fonts, text etc. etc.). It's available for Linux, Solaris,
FreeBSD, Mac OS X and Windows. I think Python binding are available,
but you could als
On 5/3/06, conspirisi <[EMAIL PROTECTED]> wrote:
> Can Django be integrated with Flash? Is it a good idea? How Difficult
> is it?
Django's templates can output whatever you like; I'd recommend using
them to generate some sort of XML which can be read into a Flash
component, since that would give
On 5/3/06, conspirisi <[EMAIL PROTECTED]> wrote:
> Can Django be integrated with Flash? Is it a good idea? How Difficult
> is it?
As easy as flash+php. python and php are both server technologies,
flash is client one.
--
Sincerely,
Vladimir "Farcaller" Pouzanov
http://www.hackndev.com
--~--~---
I was just about to embark upon learning PHP for Flash, when I stumbled
across a google video saying how tedious developing in PHP is, and how
Django is the bee knees.
Can Django be integrated with Flash? Is it a good idea? How Difficult
is it?
--~--~-~--~~~---~--~--
On May 3, 2006, at 12:59 PM, Jeremy Dunck wrote:
> I think, from the lead-in, that this was given to the Bay-area Python
> user's group, who happen to meet in Google's facilties. Very cool,
> but not quite the same as pitching Django to Google's own engineers.
>
> I'd love to be wrong. ;-)
Oh,
On 5/3/06, Clint Ecker <[EMAIL PROTECTED]> wrote:
> Just noticed this on Google's engEDU!
>
> http://video.google.com/videoplay?docid=-70449010942275062&q=type%3Agoogle+engEDU&pl=true
>
I think, from the lead-in, that this was given to the Bay-area Python
user's group, who happen to meet in Googl
Hi all,
I've recently scanned the list looking for dreamhosted django apps, but
I couldn't extract any conclusion about it: there seems to be as many
successfull installations as unsuccessfull ones. I think it's possible
that some problems have been resolved, or some new ones have been
discovered,
Just noticed this on Google's engEDU!http://video.google.com/videoplay?docid=-70449010942275062&q=type%3Agoogle+engEDU&pl=true
Here's a list of all the stuff which is all very interesting!http://video.google.com/videosearch?q=type%3Agoogle+engEDU&page=1&lv=0&so=1
-- Clint Ecker[EMAIL PROTECTED]http
oops. My mistake. I should've looked up the db-api docs before replying...On 5/3/06, Adrian Holovaty <[EMAIL PROTECTED]
> wrote:On 5/3/06, tsnyder <[EMAIL PROTECTED]
> wrote:> I think I have missed something in the documentation, and I am hoping someone> can help me. What is the django equivalen
On 5/3/06, tsnyder <[EMAIL PROTECTED]> wrote:
> I think I have missed something in the documentation, and I am hoping someone
> can help me. What is the django equivalent of doing something like this:
>
> select * from event where semester_id = 1 and category_id = 2
>
> Where the event table is r
I'm not sure if this is a bug in the django admin app or if it's a bug
in my code.
I have these models:
class Attachment(models.Model):
file = models.FileField(upload_to="attachments",null=True)
...
class Announcement(models.Model):
...
attachments = models.ManyToManyField(Attachment,bl
hi,
(actual from-svn-trunk django)
let's have the following model:
==
class Image(Model):
name = CharField(maxlength=50)
pic = ImageField(upload_to='images')
class Admin:
list_display = ('pic','name',)
==
if yo
On Wed, May 3, 2006 6:29 pm, Dave said:
>
> Ok guys,
>
> I nuked my subversion and checked it out again. Now it appears to be
> working. I have no idea what has happened but at least I can get back
> into django again!
when making major upgrades, sometimes old .pyc files remain giving errors
lik
I think this is what you're looking for:Event.objects.filter(semester__id=1,category__id=2)(note the two underscores)On 5/3/06, tsnyder <
[EMAIL PROTECTED]> wrote:Hi all,I think I have missed something in the documentation, and I am hoping someone
can help me. What is the django equivalent of doin
Hi all,
I think I have missed something in the documentation, and I am hoping someone
can help me. What is the django equivalent of doing something like this:
select * from event where semester_id = 1 and category_id = 2
Where the event table is related to two other tables (semester and categ
I did manage to get this working by a quick change to
django.db.models.loading.py
where on line 40 in get_models()
i changed
_app_models.get(app_mod.__name__.split(.)[-2], {}).values()
to
_app_models.get(app_mod.__name__.split(.)[-1], {}).values()
I do not know, whether it is a right thing to do
On 5/3/06, Sandro <[EMAIL PROTECTED]> wrote:
> What about the innocent situation of creating a category named "Clubs"
> and after creating that category wanting to rename it to
> "Organizations," by default you will have a slug called 'clubs' which
> will point to a category named 'organizations.'
I was getting worried that I didn't get some basic fact,
thank you for your help
On 5/3/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Wed, 2006-05-03 at 16:29 +0200, Honza Král wrote:
> > BEGIN;
> > COMMIT;
> > is the output of manage.py sql app (empty sql script for postgreSQL)
> >
> >
On Wed, 2006-05-03 at 16:29 +0200, Honza Král wrote:
> BEGIN;
> COMMIT;
> is the output of manage.py sql app (empty sql script for postgreSQL)
>
> I am fairly new to python, so I completely don't mind trivial questions,
> in app/models/__init__.py I have:
>
> # base models
> from proj.app.mo
On Wed, 2006-05-03 at 13:58 +, Sandro wrote:
> What about the innocent situation of creating a category named "Clubs"
> and after creating that category wanting to rename it to
> "Organizations," by default you will have a slug called 'clubs' which
> will point to a category named 'organizatio
BEGIN;
COMMIT;
is the output of manage.py sql app (empty sql script for postgreSQL)
I am fairly new to python, so I completely don't mind trivial questions,
in app/models/__init__.py I have:
# base models
from proj.app.models.base import *
# models derived from base
from proj.app.models.more_
Honza Král wrote:
> Yes, when I have all my model classes in file models.py, manage.py sql
> works just fine
>
> when I split my models into two or more files and put them into models
> subdirectory (with __init__.py containing the proper __all__ list), it
> does not work:
> BEGIN
> COMMIT;
>
>
I had the same problem using straight mod_python and apache2 (no
django). I never did find out what the problem was and settled on
just setting mysql to remove inactive connections after 2
minutes. Obviously, not the right solution. I am very
interested in finding the answer as well.
PaulOn 5
What about the innocent situation of creating a category named "Clubs"
and after creating that category wanting to rename it to
"Organizations," by default you will have a slug called 'clubs' which
will point to a category named 'organizations.'
I wonder if I'm in the only one that feels this way
Thanks, that works!
--~--~-~--~~~---~--~~
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 PROTE
Ok guys,
I nuked my subversion and checked it out again. Now it appears to be
working. I have no idea what has happened but at least I can get back
into django again!
My sincere thanks for your prompt support. This was my first post and I
am really amazed at getting such prompt feedback.
Cheers
On 5/3/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
>
> Honza Král wrote:
> > Thank you, I went to that page, but, for reasons unknown to me
> > (perhaps brain death), didn't check the status of the tutorials... :-/
> >
> > as for my other inquiry, can anyone tell me if it is possible to have
> >
On Wed, 2006-05-03 at 05:46 -0700, Dave wrote:
> Hi Michael,
>
> Here's the contents of my urls.py:
>
> from django.conf.urls.defaults import *
>
> urlpatterns = patterns('',
> # Example:
> # (r'^mysite/', include('mysite.apps.foo.urls.foo')),
>
> # Uncomment this for admin:
>
Hi Michael,
Here's the contents of my urls.py:
from django.conf.urls.defaults import *
urlpatterns = patterns('',
# Example:
# (r'^mysite/', include('mysite.apps.foo.urls.foo')),
# Uncomment this for admin:
(r'^admin/', include('django.contrib.admin.urls')),
)
Thanks for the
On Wed, 2006-05-03 at 05:04 -0700, Dave wrote:
> Hi guys,
>
> I get the following error when trying to connect to the admin page
> (start of Tutorial 2). Any help greatly appreciated as I'm new to this
> Magic Removal stuff...
In a response to your earlier post about this, Adrian asked if you co
Honza Král wrote:
> Thank you, I went to that page, but, for reasons unknown to me
> (perhaps brain death), didn't check the status of the tutorials... :-/
>
> as for my other inquiry, can anyone tell me if it is possible to have
> models spread through multiple files? I am afraid I have also mis
Dave wrote:
> Hi guys,
>
> I get the following error when trying to connect to the admin page
> (start of Tutorial 2). Any help greatly appreciated as I'm new to this
> Magic Removal stuff...
Something in your setup is seriously wrong. Have you followed the
instructions of the first part of the
Hi,
Here is my model:
class Application(models.Model):
name = models.CharField(
_('application name'),
maxlength=200,
unique=True)
group_admin = models.ForeignKey(
User,
verbose_name=_('administrator'),
Hi guys,
I get the following error when trying to connect to the admin page
(start of Tutorial 2). Any help greatly appreciated as I'm new to this
Magic Removal stuff...
Cheers, Dave.
AttributeError at /admin/
'module' object has no attribute 'urlpatterns'
Request Method: GET
Request URL:h
Thank you, I went to that page, but, for reasons unknown to me
(perhaps brain death), didn't check the status of the tutorials... :-/
as for my other inquiry, can anyone tell me if it is possible to have
models spread through multiple files? I am afraid I have also missed
something trivial, but I
Denis wrote:
>I wonder what would it be the best way to save the file while im using
>custom manipulator.
>It contains objects from several models and im saving everingthing in
>manipulator.save().
>Everything works great untill i have to save uploaded file. I wonder if
>there is a way to save it
rephrasing my question: i´m trying to implement a FileBrowseField
which should look like
http://www.vonautomatisch.at/django/ftp/get_image.jpg
it will open the file-browser (http://www.vonautomatisch.at/django/
ftp/) in a pop-up window, where the user can select the file as well
as upload fi
Hi
I wonder what would it be the best way to save the file while im using
custom manipulator.
It contains objects from several models and im saving everingthing in
manipulator.save().
Everything works great untill i have to save uploaded file. I wonder if
there is a way to save it
using django co
http://code.djangoproject.com/wiki/RemovingTheMagic#Documentationstatus
As you can see the tutorials aren't proofread yet
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
[Greg]
> using Eugene's #1442 patch, to store db connections in TLS
> using Apache's prefork MPM
(Showing my ignorance, probably) Why do you need that patch if you're using
the prefork MPM? I'm using the prefork MPM because I'm assuming I won't get
threading issues - am I wrong?
--
Richie Hi
Hi Adrian,
I get no output/error messages when I try python automator.py.
Here's the contents of the file:
from django import template
register = template.Library()
@register.filter
def bash_special(value):
value = value.replace('[00;34m', '')
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I can write document in English if someone's interested.
P.S. i can't really remember whether it was in Russian or English
originally ;-)
Cheng Zhang wrote:
> That blog is in Russian. ;-)
>
> On May 2, 2006, at 9:49 PM, Dmitry Medvedev wrote:
>
>>
I'm seeing an odd problem, where my MySQL connections never go away.
They're idle, but they just keep piling up (as reported by "mysqladmin
processlist") until I start getting errors about exceeding the maximum
number of allowed connections. Does this ring any bells with anyone? It
doesn't happen
83 matches
Mail list logo