Johnny Utah wrote:
> Hi Guys,
>
> If I'm posting this on the wrong site, my apologies.
>
> I'm a beginner to both Python and Django and I would like to develop a
> public site. I'm not looking for help with code as much as with what
> modules I will need (e.g. django.contrib.auth). Any help is gr
James Bennett wrote:
> On Sat, Oct 25, 2008 at 2:09 PM, Jeff Anderson <[EMAIL PROTECTED]> wrote:
>
>> We have an alias set up in postfix that sends the e-mail to our script
>> via a pipe.
>>
>> The python script imports our Django models, and parses the e-mail
>> message with the email module, a
Hi Guys,
If I'm posting this on the wrong site, my apologies.
I'm a beginner to both Python and Django and I would like to develop a
public site. I'm not looking for help with code as much as with what
modules I will need (e.g. django.contrib.auth). Any help is greatly
appreciated!
The site:
On Oct 27, 2:00 pm, killer barney <[EMAIL PROTECTED]> wrote:
> I'm not too familiar with how to handle subdomain requests on django.
> If i have test.example.com, is this somethign I'm supposed to find in
> the urls.py?? Or is this done in the middleware?
>
> I'm really confused about this, so y
I'm not too familiar with how to handle subdomain requests on django.
If i have test.example.com, is this somethign I'm supposed to find in
the urls.py?? Or is this done in the middleware?
I'm really confused about this, so you may have to give me step by
step instructions =)
--~--~-~--~-
Hi Walter,
On 27/10/2008, at 8:24 AM, walterbyrd wrote:
> I was going to go with zend framework, then I read about php using "\"
> character as it's namespace separator.
>
> A few things I like about the zend framework:
>
> 1) APIs to integrate with Google Apps. Although, I think I could do
> th
On Sun, Oct 26, 2008 at 9:19 PM, Steve Holden <[EMAIL PROTECTED]> wrote:
> Here's a specific example of a piece of code that uses a web app's
> models. It should get you started - just dive in and write some code!
> The tricky bit is providing the settings without using a "settings"
> module. I ca
Russell Keith-Magee wrote:
> On Mon, Oct 27, 2008 at 6:05 AM, Andrew Chapman <[EMAIL PROTECTED]> wrote:
>
>> Russell Keith-Magee wrote:
>>
>>> On Sat, Oct 25, 2008 at 3:55 AM, Andrew Chapman <[EMAIL PROTECTED]> wrote:
>>>
>>>
My question is how to package up and deploy the Djan
felix wrote:
> In general I agree with Jeff's suggestion.
>
> but OTOH you might be able to get pop to work
> and using the pop interface maybe you can get the headers in a clean
> pythonic fashion.
>
> it sounds like you will also have to deal with attachments, so maybe
> the pop library can ha
David Rodrigues wrote:
> Or if you have ^accounts in parent urls.py file, then perhaps the '$'
> at the end of the ^login/$ expression is problematic, as the dollar
> sign represents the end of a line, I believe.
>
It's fairly obvious that the listing of the URLconfs is from the 404
output of
I'm implementing django-gcal into my
project. (http://code.google.com/p/django-gcal)
I'm trying to invoke the get_event_data() method from view.py but I'm
kind of clueless how to pass the instance parameter.
def get_event_data(self, instance):
"""
Returns a CalendarEventData objec
On Sat, Oct 25, 2008 at 2:09 PM, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> We have an alias set up in postfix that sends the e-mail to our script
> via a pipe.
>
> The python script imports our Django models, and parses the e-mail
> message with the email module, and does what it needs to.
You c
I have a model with a PointField type of field.
class Article(models.Model):
id = models.AutoField(primary_key=True)
title = models.CharField(max_length=300, blank=True)
point = models.PointField(blank=True)
status = models.CharField(max_length=27, blank=True)
objects = models
python libraries are in general much much better than php libraries.
besides django itself, there's a wealth of usable and well maintained
libraries.
I've been working with gdata, and its very nice:
_youtubeGDataHost = 'gdata.youtube.com'
_youtubeFeedBase = '/feeds/api/'
import gdata
im
AndyB wrote:
> This sounds like exactly what I need to do. However my Unix-fu isn't
> up to coping with the sentence 'We have an alias set up in postfix
> that sends the e-mail to our script via a pipe.'... :(
>
> My naive assumption is that one could use something like poplib in the
> standard lib
DragonSlayre wrote:
[at the top, but it's now moved to the bottom]
> On Oct 22, 2:03 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote:
>
>> DragonSlayre wrote:
>>
>>> Hi, I'm new to django/python, and I'm testing out eclipse for
>>> development.
>>>
>>> I'm using pydev, and managed to ru
On Mon, Oct 27, 2008 at 6:05 AM, Andrew Chapman <[EMAIL PROTECTED]> wrote:
>
> Russell Keith-Magee wrote:
>> On Sat, Oct 25, 2008 at 3:55 AM, Andrew Chapman <[EMAIL PROTECTED]> wrote:
>>
>>> My question is how to package up and deploy the Django python code for
>>> external tools to access the dat
guess it does:
http://mail.python.org/pipermail/python-list/2007-July/448007.html
On Mon, Oct 27, 2008 at 5:24 AM, walterbyrd <[EMAIL PROTECTED]> wrote:
>
> I was going to go with zend framework, then I read about php using "\"
> character as it's namespace separator.
>
> A few things I like abo
I was going to go with zend framework, then I read about php using "\"
character as it's namespace separator.
A few things I like about the zend framework:
1) APIs to integrate with Google Apps. Although, I think I could do
the same with python using gdata-python-client.
2) There is a fairly go
Russell Keith-Magee wrote:
> On Sat, Oct 25, 2008 at 3:55 AM, Andrew Chapman <[EMAIL PROTECTED]> wrote:
>
>> My question is how to package up and deploy the Django python code for
>> external tools to access the database? I'm hoping to have the Django app
>> sitting on the web server, with the
On Oct 25, 8:47 pm, Bobby Roberts <[EMAIL PROTECTED]> wrote:
> hi. I'm using django 1.0 over at webfaction. I have the following
> setup
>
> /static (serves js, css, flash, images etc)
> /www (my django app)
>
> I have tiny_mce loaded to /static/js/tiny_mce/
>
> I have followed the steps at
poplib is pretty easy to work with:
def check_pop3(server,user,password):
import email,poplib,string
messages=[]
s=poplib.POP3(server)
s.user(user)
s.pass_(password)
resp, items, octets = s.list()
todelete=[]
for item in items:
id,size=item.split()
In general I agree with Jeff's suggestion.
but OTOH you might be able to get pop to work
and using the pop interface maybe you can get the headers in a clean
pythonic fashion.
it sounds like you will also have to deal with attachments, so maybe the pop
library can handle that nicely.
the script
Hi all,
Is anyone doing any django training in the UK? I need F2F and possibly
remote *as backup to F2F* for my team.
They are very familiar with Zope, and we are a linux-based shop. We
have facilities on-site for training.
We are based in the North East of England.
Please get in contact and I
This sounds like exactly what I need to do. However my Unix-fu isn't
up to coping with the sentence 'We have an alias set up in postfix
that sends the e-mail to our script via a pipe.'... :(
My naive assumption is that one could use something like poplib in the
standard library to connect to a PO
Hello,
I've been having some problems with FileField. I can create and save
objects with the FileField file, but the file is never placed in any
directory. Essentially, the database has the correct values, but no
files are copied into the correct directory. I am using django-1.0.
A temporary fil
Or if you have ^accounts in parent urls.py file, then perhaps the '$'
at the end of the ^login/$ expression is problematic, as the dollar
sign represents the end of a line, I believe.
On Oct 26, 2008, at 10:02 AM, Daniel Roseman wrote:
>
> On Oct 26, 1:23 pm, ehpmail <[EMAIL PROTECTED]> wrot
Hi,
The next Iowa Python Users Group (AKA Pyowa) is nearly upon us. We
will be meeting November 3rd, from 7-9 p.m. at the following location:
Marshall County Sheriff's Office
2369 Jessup Ave
Marshalltown, IA 50158
At this meeting, we will be having a Crash Course of sorts for all the
new progra
On Sun, 26 Oct 2008 06:32:11 -0700, Dominik Szopa wrote:
> Django Polish community site - http://www.django.pl has been officially
> launched.
I just took a look - the design is definitely good. The examples of
polish sites using Django are also a good idea.
> All of this will show what a grea
Hi,
I've found this problem also when I was including WYSIWYG editor in my
admin;
I was migrating fromDjango 0.96 to 1.0.
As TinyMCE I suggest django-tinymce application
http://code.google.com/p/django-tinymce/
There you can find the "workaround" your problem.
Alternatively, you can customize cha
Hi
I'm now doing serious (for me) work with Django (which I like a lot)
and have come up against a problem.
My application requires row-level permissions. I think I've got most
of it sorted out, but I'm having problems with templates and views.
My basis idea is this. Add a field
edit_
On Oct 25, 8:47 pm, Bobby Roberts <[EMAIL PROTECTED]> wrote:
> hi. I'm using django 1.0 over at webfaction. I have the following
> setup
>
> /static (serves js, css, flash, images etc)
> /www (my django app)
>
> I have tiny_mce loaded to /static/js/tiny_mce/
>
> I have followed the steps at
On Oct 26, 6:32 am, mlojo <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I started my app with version 0.96 knowing that I would want to add
> new features and that I would eventually want to redesign my models
> with inheritance when it became available. Because of this, I've
> created a layer of abstra
Hi.
I started my app with version 0.96 knowing that I would want to add
new features and that I would eventually want to redesign my models
with inheritance when it became available. Because of this, I've
created a layer of abstraction between the django model and the rest
of my code. In theory
Ian, this is awesome stuff! I'm an amateur Python/Django'er - learning
them in my spare time, hopefully to write an eCommerce webapp. I am
looking for the easiest/quickest way to do this.
How easy is it going to be to integrate Django-CMS and Satchmo
features into a webapp? What approach should
On Oct 26, 1:23 pm, ehpmail <[EMAIL PROTECTED]> wrote:
> My URLconf has the following urls:
>
> 1. ^admin/(.*)
> 2. ^$
> 3. ^popular/$
> 4. ^user/(\w+)/$
> 5. ^tag/([^s]+)/$
> 6. ^tag/$
> 7. ^search/$
> 8. bookmark/(\d+)/$
> 9. ^login/$
> 10. ^logout/$
> 11. ^regist
>
> 1. How do I create a Model Manager?
See http://docs.djangoproject.com/en/dev/topics/db/managers/
2. Within a view, what is the best way to add entries into tables that
> have a M2M relationship with an intermediate table? I've been reading
> the following documentation with command line opt
Django Polish community site - http://www.django.pl has been
officially launched. The main purpose of site is to get together
polish community of Django framework, promote Django in Poland, give
support and help new Django users. All of this will show what a great
piece of technology is Django fra
My URLconf has the following urls:
1. ^admin/(.*)
2. ^$
3. ^popular/$
4. ^user/(\w+)/$
5. ^tag/([^s]+)/$
6. ^tag/$
7. ^search/$
8. bookmark/(\d+)/$
9. ^login/$
10. ^logout/$
11. ^register/$
12. ^register/success/$
13. ^site_media/(?P.*)$
14. ^save/$
15. ^vo
Hi Again Everyone,
First my apologies to the group on not explaining what Rails Rumble
was. Jeremy posted some details above. Here are some more from the
website (http://railsrumble.com/):
[About the Contest] The Rails Rumble is a 48 hour web application
development competition. As a contestant,
Dear Lars, thank you very much for your kind and fast reply.
Lars Stavholm wrote:
[...]
> Have you tried filter_horizontal?
> http://docs.djangoproject.com/en/dev/ref/contrib/admin/#filter-horizontal
I am not sure I can really use filter_horizontal in my scenario. The
actual structure I am using
41 matches
Mail list logo