Hallöchen!
Andy writes:
> On Oct 2, 1:45 am, Torsten Bronger
> wrote:
>
> Thanks for responding.
>
>>> Are "first_name" & "last_name" limited to alphanumeric
>>> characters or can they contain non-English characters like "ü"
>>> or non-European characters like "黒"?
>>
>> Yes.
>
> "Yes" is in "fi
2010/10/2 David M. Besonen :
> On Sun, 26 Sep 2010 11:36:06 +0200
> Antoni Aloy wrote:
>
>> http://code.google.com/p/trespams-vim/
>
> i assume you've seen Alain's webpage:
> VIM as Python IDE
> http://blog.dispatched.ch/2009/05/24/vim-as-python-ide/
>
Yes, Alain's makes me love VIM as a Python
On Oct 2, 3:27 am, Torsten Bronger
wrote:
> Hallöchen!
>
> Andy writes:
> > On Oct 2, 1:45 am, Torsten Bronger
> > wrote:
>
> > Thanks for responding.
>
> >>> Are "first_name" & "last_name" limited to alphanumeric
> >>> characters or can they contain non-English characters like "ü"
> >>> or non-
Hallöchen!
Andy writes:
> [...]
>
>>> You mean you hope the field "email" is not allowed to contain
>>> non- English or non-European characters?
>>
>>> But real email addresses do contain those characters:
>>> http://en.wikipedia.org/wiki/Email_address#Internationalization
>>
>> I read "informal"
Check if you are in the python perspective
On 1 oct, 19:34, Brandon Taylor wrote:
> Hi everyone,
>
> I'm used to organizing my Django projects in one folder for the
> project and then sub folders for app modules...
>
> /my_project
> -__init__.py
> -settings.py
> /some_app
>
> and so
Hi.
I ma having the same problem.
Could you find any documentation on this?
On Sep 6, 10:13 pm, justin jools wrote:
> Hi I have setup jtauber notification and friends apps but now I am
> stuck as to how to add views/urls to produce add friends/friends
> accept/friends list etc.
>
> please help
def addCategory(request):
user = users.get_current_user()
if users.is_current_user_admin():
if request.method == 'POST':
form = CategoryForm(request.POST)
if form.is_valid():
cd = form.cleaned_data
Category.objects.create_categ
I'm not at all sure that this might help youm, so sorry if I write BS...
Can't you just use form prefixes to kepp the form namespaces seperated?
http://docs.djangoproject.com/en/1.2/ref/forms/api/#prefixes-for-forms
Regards,
Felix
On 01.10.2010 22:22, ses1984 wrote:
> http://docs.djangoproject.
hi
I am writing an application to find out if the body text of a web
page of given url has been modified-added or removed.Is there some way
to find out the length of body text alone?
I wrote a function that can read and return the data length.But is
there some way I can read the body text alone ?T
Dnia 02-10-2010 o 15:10:33 jimgardener napisał(a):
hi
I am writing an application to find out if the body text of a web
page of given url has been modified-added or removed.Is there some way
to find out the length of body text alone?
I wrote a function that can read and return the data length.
You can use BeautifulSoup to parse the page. That will result in a
BeautifulSoup object from which you can get the text of any element.
Simple example:
soup = BeautifulSoup.BeautifulSoup(html_string)
#find a div with class 'header3' containing the text 'Locations'
locati
Also, just to save you additional pain, do NOT install anything from
the 3.1 series. It's deprecated and had problems. You want 3.0.8.x.
According to the maintainer's site they're going to update the 3.0.8.x
series to the 3.2.x series to avoid confusion in the future.
http://pypi.python.org/pypi/B
thanks guys,
I tried this..
from BeautifulSoup import BeautifulSoup
import urllib
def get_page_body_text(url):
h=urllib.urlopen(url)
data=h.read()
soup=BeautifulSoup(data)
body_texts = soup.body(text=True)
text = ''.join(body_texts)
return text
...
while True:
I sometimes use the direct_to_template generic view for a different
purpose than yours (test a template), but the same URL pattern might
be useful to you:
# test a template
(r'^direct/(?P.*)$',
'django.views.generic.simple.direct_to_template'),
Although you'd better use a better regex to
Bruno,
Great point. I've simplified my old code quite a bit with this
suggestion.
After creating a dictionary with 12 items in it, I use it for the
default in get_or_create, then:
[setattr(product, field, value) for field, value in
new_values.items()]
product.save()
Thanks,
Shaw
I used to be able to go to the following link and
seach django documents.
http://docs.djangoproject.com/en/dev//search/
>From there I could search anything from 'widgets' to
'login()' and find the related document/page discussion that time.
Now on that page search yields no results irregardless
Hi, guys,
Is the Django website down? I've been trying to access it for days,
but I just can't get in. Has anyone here been able to access it
normally these days?
Thanks!
Diogo
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
Hi there,
I cannot enter the site at all, right now; I just opened a post here
about that:
http://groups.google.com.br/group/django-users/browse_thread/thread/18a99e355c601fc3?hl=pt-BR
Does it have anything to do with the issue stated above?
Thanks!
Diogo
On 2 out, 17:45, NoviceSortOf wrot
On 10/2/2010 5:50 PM, diogobaeder wrote:
> Hi, guys,
>
> Is the Django website down? I've been trying to access it for days,
> but I just can't get in. Has anyone here been able to access it
> normally these days?
>
> Thanks!
>
> Diogo
>
http://www.downforeveryoneorjustme.com/djangoproject.com
On 10/2/2010 4:45 PM, NoviceSortOf wrote:
> I used to be able to go to the following link and
> seach django documents.
>
> http://docs.djangoproject.com/en/dev//search/
>
>>From there I could search anything from 'widgets' to
> 'login()' and find the related document/page discussion that time.
>
The admins of my site need to be able to edit/create html text content
through Django admin, but rather than offer a standard WYSIWYG editor
I'm thinking I'd like to use an interface with which the admins would
directly and transparently build the resulting html. I'll try to
explain what I have in
Hello
Im having a problem with the colorschemes
I'm getting this:
Error detected while processing /home/rene/.vimrc:
line 88:
E185: Cannot find color scheme tango
As far as i can see, there is a folder named color in the ~/trespams-vim/
folder. But there is no use, any clue?
On Sat, Oct 2,
nvm, the folder name was wrong, it was suppose to be colors and I had color.
And it seems it still needs to be under ~/.vim/ dir
On Sat, Oct 2, 2010 at 1:50 PM, Rene Vallecillo wrote:
> Hello
>
> Im having a problem with the colorschemes
>
> I'm getting this:
>
> Error detected while processing
Hello,
I have simple question. How Can I get raw data from form object in my
template?
I don't need html tags only data.
I am trying {{ form.myfield.data }} , but always get None..
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
A bit late, so you may have solved this or given up on it, but
still... I just had the same error message and eventually solved it by
changing the order of my INSTALLED_APPS. So maybe you have slightly
different settings on your local and live servers, and the apps are
ordered differently on each?
I've got three different classes in models.py and register all three
in admin.py within my app. Viewing the admin page that I have,
however, gives me http://dpaste.com/252244/ which doesn't look good.
Is this a Django bug, or do I need to rewrite my app? I think it's
highly unlikely that it's a D
Never mind, must be something with my Firefox version (I'm using from
the launchpad repos, nightly builds). Tested on Chrome and Opera, both
are fine.
Thanks and sorry for the silly report!
Diogo
On 2 out, 19:11, Steve Holden wrote:
> On 10/2/2010 5:50 PM, diogobaeder wrote:
>
> > Hi, guys,
>
>
Actually, I have added on to what I started with significantly, and
what I ended up doing was emulating formsets with javascript on the
page. When the page POSTs, I can get cleaned formset data from the
request.
On Oct 2, 8:11 am, Felix Dreissig wrote:
> I'm not at all sure that this might help y
On Sun, Oct 3, 2010 at 10:47 AM, diogobaeder wrote:
> Never mind, must be something with my Firefox version (I'm using from
> the launchpad repos, nightly builds). Tested on Chrome and Opera, both
> are fine.
>
> Thanks and sorry for the silly report!
We have had some reports in the past that the
29 matches
Mail list logo