Hi, guys:
I'm using the newforms library, but I wanna add class attribute to the text
field, I don't know how to add those html attributes into suchs fields.
Any ideas?
Thanks
--
Nicholas @ Nirvana Studio
http://www.nirvanastudio.org
--~--~-~--~~~---~--~~
You rec
i have file named dump.py at the root folder of django project,i want
to connect database using django settings.py, so here is my code:
from django.db import connection, transaction
cursor = connection.cursor()
cursor.execute( .)
and i got this error:
from django.db import connection
Doesn't anyone know how to help me on this?
Also, I've found another problem. Using the custom form field
CitiesField makes the attribute required (I get an error if I don't
put any cities in a person's profile). But it is not required if I
switch back to the regular ManyToManyField form field. H
WHO WE ARE
YouSendIt is the No. 1 digital file delivery company serving business and
individuals businesses who want a easy, secured, reliable and faster way to
SEND, RECEIVE and TRACK DIGITAL FILES.
YOUSENDIT SOLUTION
We replace the hassles of dealing with unreliable FTP servers, eliminate the
fr
On Nov 23, 2007 4:07 AM, Ken <[EMAIL PROTECTED]> wrote:
>
> Does a Model have a fields dict attribute like a Form? I did a dir()
> on a model and don't see one. I see, instead, that the model fields
> are themselves attributes. Is this the case?
This sort of detail is all kept in the _meta att
._meta.fields - list of model's fields instances
._meta.get_field - returns field instance with given name
On 22 нояб, 22:07, Ken <[EMAIL PROTECTED]> wrote:
> Does a Model have a fields dict attribute like a Form? I did a dir()
> on a model and don't see one. I see, instead, that the model fiel
Does a Model have a fields dict attribute like a Form? I did a dir()
on a model and don't see one. I see, instead, that the model fields
are themselves attributes. Is this the case?
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscrib
You can query the database directly:
from django.db import connection
# Database connection
cursor = connection.cursor()
# Raw Query
cursor.execute("SELECT statement;")
rows = cursor.fetchall()
J
On Nov 22, 12:55 pm, Adam Seering <[EMAIL PROTECTED]> wrote:
> Hi all,
> I have code that
On 22-Nov-07, at 2:15 AM, Daniel Roseman wrote:
>> http://www.webfaction.com/
>>
>> They are amazing and reasonably priced. Their support is great. They
>> have exceeded my expectations many times.
>>
>> Chuck
>
> Second this recommendation. I am very happy with them, and they have
> responded t
*What we will do for you:*
- *Speak to the IRS so you don't have to*
- *Stop Enforced Collections*
- *Release Wage/Bank Levies*
- *Settle Federal & State back taxes and unfiled returns*
- *Bring you back into full tax filing compliance*
- *Negotiate an affordable tax debt resolu
Hi all,
I have code that, greatly simplified, looks like the following:
class CheckBoxType(models.Model):
name = models.TextField()
class Course(models.Model):
name = models.TextField()
checkboxes = models.ManyToManyField(CheckBoxType)
Essentially, a Course has m
Aglocomails Referral Contest
It is 100% FREE.
You will receive 10% earnings from your referral work. All will be
credited to your account daily
Minimum payout for free members is 20,000,00 USD - easy to reach.
Join Now
http://aglocomailsreferralcontest.blogspot.com/
--~--~-~--~~
Hello,
the problem is getting to be annoyed.
I have shared django hosting with Apache, fcgid module and flup.
The problem is that my app.fcgi sript does not respawn when I make
changes in it or say:
" touch app.fci"
It runs with rights of "apache" user and I have no clue how to restart
it.
Admin
Michael napisał(a):
> Thanks Thomas... your shot in the dark hit it's mark for me :)
>
> I was suffering the same "can't adapt" psycopg2 error (worked fine
> with sqlite), but it was due to the exact reason you stated.
>
> Although your solution is probably better in the long run, another
> solu
On Tue, Nov 20, 2007 at 03:04:09PM -0600, Jeremy Dunck wrote:
>
> On Oct 26, 2007 2:47 AM, sandro dentella <[EMAIL PROTECTED]> wrote:
> ...
> >
> > once again I stumble into this problem. This time I gathered some
> > more
> > info so I describe them.
>
> http://groups.google.com/group/djang
Carta Comercial Modelos de Cartas Comerciais Modelos de documentos
comerciais, carta comercial cartas modelo. tipos de cartas comerciais
modelos prontos.
Visite agora:
http://www.modelosdecartascomerciais.com
Cartas Comerciais elaborados com criatividade e conhecimento, convites
contratos propos
Hi Arnar,
Cool, I'm checking it out at this moment, I'd love to use it. I'm
trying out the example on the wiki here http://pyamf.org/wiki/DjangoHowto
but I can't get it to work just yet.
Maybe I did something wrong or the install script didn't behave like
it's supposed to in my environment (Mac
Dan,
You raised some excellent questions, thanks for sharing.
> 1 - Is there anyway in Geodjango to calculate distances between two
> points?
GEOSGeometry objects may be used to calculate the distance between two
points. For example:
>>> from django.contrib.gis.geos import Point
>>> p1 = Poin
I am a recruiter looking for excellent Django/Python developers, the
role is with a company based in Central London and the salary is very
competitive. Please see my ad below and if you are interested please
contact me:
Python Developer - Central London - £45k - Python, Django, Plone, Zope
£4500
Hi!
I've a model like this:
class Photo(models.Model):
name = models.CharField(_("Nome"),max_length=50 ,blank=False)
image = models.ImageField(_("Immagine"), upload_to=
settings.MEDIA_ROOT+"/%Y/%m/")
caption = models.CharField(_("Didascalia"), max_length=4000,
blank=False)
I'm develo
Thank you for the quick reply DR.
I'll look into 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 gr
SEE MY PICS
http://earnmac.blogspot.com
--~--~-~--~~~---~--~~
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,
On 22 Nov, 11:59, Simon <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> I'm actually very new to django and I haven't been able to find any
> answers to my problem.
> I was wondering if there was a way I could receive an xml from a
> client and parse that into
> the database that I created with django
In another thread many people (including myself) have recommended
Webfaction. It's the same sort of price level as Dreamhost, but much
more reliable for Django hosting. In fact they set everything up for
you, all you need to do is add your app.
--
DR.
On 22 Nov, 10:08, "[EMAIL PROTECTED]" <[EMAIL
Yeah, Slicehost have a nice name in the industry, though you gotta order
with some time in advance. Don't rely on them for "I need a server for
yesterday" situations ;)
~ Chris
El jue, 22-11-2007 a las 04:37 -0800, [EMAIL PROTECTED] escribi�:
>
> > Can anybody recommend me a Django Web Hosting
> Can anybody recommend me a Django Web Hosting Service?
I recommend buying a VPS, and one of the very best VPS services is
slicehost.com which i really recommend!
If VPS is to expensive for you then WebFaction is the solution you
should go with.
--~--~-~--~~~---~--
> What's your app_label (usually the lowercase name of the app whose
> models.py contains your Person class")?
>
> The has_perm method should be called with .add_person
> and not with .add_person
Thank you for that - I can't believe I didn't try that myself :-)
--Jon
--~--~-~--~~---
Hi everyone,
I'm actually very new to django and I haven't been able to find any
answers to my problem.
I was wondering if there was a way I could receive an xml from a
client and parse that into
the database that I created with django?
Originally, I had a server side script that would take in th
Ooops, just realised I didn't finished writing the first sentence of
my previous post. So here it is:
"I have created a custom widget using the branch newforms-admin to
represent a ManyToMany relation with checkboxes."
On Nov 22, 10:49 pm, Julien <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have cr
Hi Kamil and all,
I have finally found what I was looking for by using the branch
newforms-admin.
It could be tidied up a bit, but at least it works!
Hope that will help others.
(Note: all this led me to some other questions, which I have posted
there:
http://groups.google.com/group/django-user
Hi all,
I have created a custom widget using the branch newforms-admin to
represent (see code below):
To test it, create a couple of countries, then a few cities attached
to those countries, and then create a new Person.
In the class PersonOptions, the line "formfield.widget.render =
widgets.R
**Whatever is your need Click and get the information on this site**
http://indianfriendfinder.com/go/g906183-pmem
http://www.geocities.com/klmklmlam/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
To all Swiss Django users:
We will hold the 2nd Swiss Django User group meeting
Where: Fisch Asset Management AG, Bellerive 241, CH-8034 Zürich
(next to Bahnhof Tiefenbrunnen)
When: Wednesday Dec 5th., starting at 19:00h
Topics:
- Demo of extending the admin screen to allow list actio
> Can anybody recommend me a Django Web Hosting Service?
Webfaction is really good. I'm a happy customer.
\Niels
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
thanks!
slicehost sounds nice too. it just is a bit expensive for what i do
(even if it is cheap compared to similar offers). i find virtual
private servers very interesting and i hope such webhosting will
become cheaper once more extreme multicore processors (8 or 16
cores,...) come out.
On Nov
> All
> other status codes are generated directly by your views by returning an
> HttpResponse and setting the status code (or returning one of the
> special classes in django/http/__init__.py).
>
What is the best way (method that follows the Django design pattern)
to catch these status codes,
I don't have answers for you but as you're working with geo data, you
might find this library useful:
http://exogen.case.edu/projects/geopy/
On Nov 22, 7:15 am, Dan <[EMAIL PROTECTED]> wrote:
> Hi
>
> I started using the Geodjango branch, it seems to be working really
> well so far, I have a few
الأن يمكنك مع ان ترسل اكثر من 150 رسالة للجوال من خلال هذا الموقع
الموقع لايريد سواء ان تقوم بتسجيل حسابك البريدي حتى يتمكن من وضع
الخدمة لك
ويرفع اسعار اسهمة بين المواقع
هذا هو
http://free10.tk
--~--~-~--~~~---~--~~
You received this message because you are subs
الأن يمكنك مع ان ترسل اكثر من 150 رسالة للجوال من خلال هذا الموقع
الموقع لايريد سواء ان تقوم بتسجيل حسابك البريدي حتى يتمكن من وضع
الخدمة لك
ويرفع اسعار اسهمة بين المواقع
هذا هو
http://free10.tk
--~--~-~--~~~---~--~~
You received this message because you are subs
39 matches
Mail list logo