On Fri, 2010-02-26 at 22:17 -0500, Shawn Milochik wrote:
> I asked in the IRC, but nobody answered. There seemed to be almost no
> activity at all, though. Maybe someone who's associated with the room
> will see this thread and help.
>
> Shawn
You could always ask in #freenode to see if you
On Sat, Feb 27, 2010 at 4:07 AM, Joel Stransky wrote:
> When ever I create a fixture via dumpdata, I get this text prior to the
> start of the data.
>
> Please select your server identifier.
> 1) admin
> 2) aws
> 3) dipsy
> 4) dot
> 5) local
> 6) sdeng
>
2010/2/26 Matías Iturburu :
> Hi guys, Sorry to bring such an off topic, but I've notice that I'm banned
> on the django irc channel (at least I'm receaving #django :Cannot send to
> channel any time I want to talk there, my nick name is *tutuca*).
> I don't think I've ever
When looping through form fields in a template, is there any way to
tell what type of field/widget I'm dealing with in the template? I
have found input_type, but that is only used on subclasses of Input
and not Widget (eg, not textarea or checkbox).
TIA
-Tom
--
You received this message
I asked in the IRC, but nobody answered. There seemed to be almost no
activity at all, though. Maybe someone who's associated with the room
will see this thread and help.
Shawn
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to
On Fri, Feb 26, 2010 at 11:17 PM, Shawn Milochik wrote:
> Have you tried different clients?
>
Empathy and Xchat. I don't think it has to do with it.
>
> Have you tried posting in different Freenode chat rooms?
>
Currently active in at least 4 freenode chat rooms
>
> Is
Have you tried different clients?
Have you tried posting in different Freenode chat rooms?
Is your account an authenticated one with Freenode?
Shawn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On Fri, Feb 26, 2010 at 5:35 PM, Wayne wrote:
> Hi,
> I try to create tables using Django models in our test oracle
> database. I define a model with one column like this: name =
> models.CharField(max_length=512, null=False, blank=False). After
> running python manage.py
Hi guys, Sorry to bring such an off topic, but I've notice that I'm banned
on the django irc channel (at least I'm receaving #django :Cannot send to
channel any time I want to talk there, my nick name is *tutuca*).
I don't think I've ever been disrespectful or, in any other way, rude in the
Sorry for being sort of a newb when it comes to regex. But what
exactly does that line do?
On Feb 26, 3:59 pm, "ge...@aquarianhouse.com"
wrote:
> Check it with regex?
>
> re.compile("[a-z0-9]\.[a-z]{2,6}$", re.I)
--
You received this message because you are subscribed
Check it with regex?
re.compile("[a-z0-9]\.[a-z]{2,6}$", re.I)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
maybe like this?:
def up(model, **kw):
m.objects.filter(pk=model.pk).update(**kw)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send
Hi,
I try to create tables using Django models in our test oracle
database. I define a model with one column like this: name =
models.CharField(max_length=512, null=False, blank=False). After
running python manage.py syncdb, I found that column 'name' in the
generated table still allows null value
This is a fairly general question, but what is the best way to handle
and verify user entry of external urls? For example, if the user types
in "google.com", django will try to render "http://localhost:8000/
users/google.com". That is obviously not what I want. I know that if
the user types in
Hi,
I want to extend ForeignKeyRawIdWidget so I want to be able to use it
without setting raw_id_fields.
With the following I don't get an error but I see no effect:
# models.py
class Product(models.Model):
...
class GroupProduct(Product):
...
products =
When ever I create a fixture via dumpdata, I get this text prior to the
start of the data.
Please select your server identifier.
1) admin
2) aws
3) dipsy
4) dot
5) local
6) sdeng
7) soup
8) tomcatdev
9) www
What server identifier would you like to use? []
So if I run:
Can anyone show me any examples of Membership organizations that use
Django/Satchmo for:
* membership registration w/recurring billing for annual dues
* events registration (like eventbrite type stuff)
Thank you.
--
You received this message because you are subscribed to the Google Groups
Okay, the problem was that the cookie was from my admin login (which I had
not logged out of). When I deleted this cookie, the cookie test seemed to
work. It does seem odd that I can't have two cookies for two different users
on the same browser. Is there a way to change this? Maybe by
Also, take a look at the template Tag feature.
http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#howto-custom-template-tags(scroll
down about half way).
It allows you to define a template (such as a dialog object) and call it
from another template, thereby inserting it where you
Thanks for the encouragement, Timothy. I haven't given up, but I'm
scratching my head, and puzzled by why I have to look at people's blog
posts to figure out how to use javascript/AJAX with Django. It may be
that I disagree with Django's philosophy that the framework should not
be coupled with
Django was definitely designed to be extended. But it is sometimes hard to
find the write ways to extend what you specifically want. Don't give up on
extending admin. Hopefully someone will point you in the write direction.
On Fri, Feb 26, 2010 at 11:06 AM, snfctech
Hi,
we are switching to buildout for django development, but have several
problems for the moment, mainly related to test running.
Previously we've had a django project in all our applications' directory to
easily run ./manage.py test myapp from inside Eclipse.
now using djangorecipe we can run
Thanks David,
Makes sense .
On Feb 26, 9:39 am, David De La Harpe Golden
wrote:
> On 26/02/10 16:50, Sumanth wrote:
>
> > Hi ,
>
> > I was trying to access the session key using request.session object in
> > django. To do this we can use
> >
Thank you for the help. I'm going to test it when I get a chance. Now
that you've said it, it should have been clear to me from the start.
On Feb 26, 11:38 am, Tom Evans wrote:
> On Fri, Feb 26, 2010 at 4:25 PM, HumanSimulator
>
>
>
>
>
>
On 26/02/10 16:50, Sumanth wrote:
Hi ,
I was trying to access the session key using request.session object in
django. To do this we can use
request.session._session_key or request.session.session_key out of
this which is the right one to use ?
The latter, without the leading underscore.
I was kinda in the mood for Raven ;)
On Feb 26, 2010, at 12:10 PM, Gisela Cartaya wrote:
My apologize for all, this has been a big mistake error, this is a
technical mailing list I ask to the administrator to delete from
archive that email as soon as possible.
Thanks
Greetings.
De:
On Fri, Feb 26, 2010 at 12:11 PM, Phlip wrote:
> Djangoids:
>
> Consider this pattern:
>
> product.brand = brand
> product.in_stock = True
> product.save()
>
> Because business-layer code does that all the time, can we DRY the
> code up a little?
>
> def up(model,
On Fri, Feb 26, 2010 at 12:10 PM, Gisela Cartaya
wrote:
> My apologize for all, this has been a big mistake error, this is a technical
> mailing list I ask to the administrator to delete from archive that email as
> soon as possible.
>
let it him take it easy... the
It's just that dev in django makes you more attractive I guess
2010/2/26 Tiago Freire
> I bet this is a ploy of the django team to draw in more developers...
>
> ---
> Tiago Mikhael Pastorello Freire
>
> Av. Getúlio Vargas, 901
That's enough, folks. Gisela seems to be doing some off-topic work
and made a silly mistake using gmail autocomplete.
Let's let this one go. There's no need to be crass or misogynist.
On Fri, Feb 26, 2010 at 11:22 AM, Juan Hernandez wrote:
> Lastima que esa no seas tu
I bet this is a ploy of the django team to draw in more developers...
---
Tiago Mikhael Pastorello Freire
Av. Getúlio Vargas, 901 sala 1502
Bairro Menino Deus
Porto Alegre
CEP 90150-003
+55 (51) 3012-7080
www.cert-id.com.br
On Feb 26, 2010, at 3:16 AM,
Please don't respond to spam conversations. It's due to a bug in the Groups
infrastructure that they get through in the first place. They are deleted
from the archives as soon as they are noticed, but nothing can be done about
the fact that they get sent as email to subscribers who read the groups
Lastima que esa no seas tu Gisela!! jajajaj
slds desde vzla
On Fri, Feb 26, 2010 at 12:40 PM, Gisela Cartaya wrote:
> My apologize for all, this has been a big mistake error, this is a
> technical mailing list I ask to the administrator to delete from archive
> that
I am working on a search form for a project. I think I have down how
django handles forms (on a simple level). I am using an thml form
written in a template and passing it through a view. I tried to write
this out as a form in a form.py file but something screwball was
happening with the file and
My apologize for all, this has been a big mistake error, this is a technical
mailing list I ask to the administrator to delete from archive that email as
soon as possible.
Thanks
Greetings.
De: Nicolas Couture [mailto:nicolas.cout...@gmail.com]
Enviado el: Friday, February 26, 2010 1:16
Djangoids:
Consider this pattern:
product.brand = brand
product.in_stock = True
product.save()
Because business-layer code does that all the time, can we DRY the
code up a little?
def up(model, **kw):
for key, value in kw.iteritems():
model.__dict__[key] = value
(Disclamor: I am new to Python/Django. Used to PHP/MVC ways of doing
things.)
I want to customize the admin view, because it already does >50% of
what I want for my application.
So, do I...
1. Alter the HTML sent to the template?
One of the first things I want to do is add an AJAX onclick
Hi ,
I was trying to access the session key using request.session object in
django. To do this we can use
request.session._session_key or request.session.session_key out of
this which is the right one to use ?
The Problem:
When you open browser for first time on web server the
On Fri, Feb 26, 2010 at 4:25 PM, HumanSimulator
wrote:
> I apologize if this has been discussed before but I did search and
> wasn't able to find what I'm looking for.
>
> Anyways, I'm currently writing a very simplistic text adventure style
> game in Django and what
I apologize if this has been discussed before but I did search and
wasn't able to find what I'm looking for.
Anyways, I'm currently writing a very simplistic text adventure style
game in Django and what I'm looking for is to store a template var in
the database and then render it.
Like say I
totally agree :)
--
$ echo "scale=100; 4*a(1)" | bc -l
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
Hi guys I'm having a problem with encoding (the bad beast :D ).
I'm using django 1.1.1, sqlserver 2005 with charset latin1,
sql_server.pyodbc as DATABASE_ENGINE
Here's my model-like:
class MgArtbase(models.Model):
cod_art = models.TextField(primary_key=True)
des_articolo =
> But i m getting following Error after loading admin module in
> setting.py(Please Download attached file from Files Section):
Hi, you have not provided the error message nor any link where we can
see it (as far as I can see), so it's difficult to judge what the
specific problem is...
Cheers
Hi Everyone,
I m developiing a pastebin site for my LAN and i had follow all steps
of following site:
http://docs.djangoproject.com/en/dev/intro/tutorial01/
http://docs.djangoproject.com/en/dev/intro/tutorial02/#intro-tutorial02
But i m getting following Error after loading admin module in
www.financecollection.blogspot.com
www.financecollection.blogspot.com
www.financecollection.blogspot.com
www.financecollection.blogspot.com
www.financecollection.blogspot.com
www.financecollection.blogspot.com
--
You received this message because you are subscribed to the Google Groups
"Django
AdminFileWidget does the trick ;-)
On Feb 26, 11:50 am, kirian wrote:
> Hi,
>
> I want to present a model.FileField outside the admin in a form. It
> should behave like the nicely automatically created FileFields in the
> admin.
>
> So set a with the actual value and
Hi,
if I digress from the has_changed() problem, you mentioned you
wanted to send email after a user profile has changed. Assuming that
the profile is a model in the database, you might consider tying your
logic to the model rather than the form.
The post_save signal tied to the
Hi,
I want to present a model.FileField outside the admin in a form. It
should behave like the nicely automatically created FileFields in the
admin.
So set a with the actual value and present a fileselect button.
If a output the form as a table form.as_table i just get the
fileselect button.
Wiadomość napisana w dniu 2010-02-16, o godz. 22:12, przez Plovarna:
I just developing my first aplication with internationalization. I
need to get all verbose_name values of the model for each language
defined in settings.LANGUAGES. I do it by this code defined inside
model method :
On Feb 25, 11:22 pm, Timothy Kinney wrote:
> I have taken a, perhaps, unorthodox tact for my admin views. I use
> myproject/urls.py to grab the url and redirect to
> myapp.admin_views.samurai_detail
>
> urls.py catches url patterns such as:
>
On Feb 26, 12:41 am, Marco Rogers wrote:
> Couple of things.
>
> bruno, your save example should maybe look call the superclass save
> first. Otherwise parent may not have been set yet.
Model.save only do what the name imply : save the instance state (=>
instance
Thanks a lot, this seems to work like a charm.
On Feb 25, 10:45 am, Ian Lewis wrote:
> In process_request you have access to the request object which knows
> the current path (request.path). You can use that to determine which
> language to show the page in.
>
> Or if you
Following: http://www.djangobook.com/en/2.0/chapter14/
I used the request.session.set_test_cookie() method when I pass the
login form. I then use the request.session.test_cookie_worked() method
to see if the cookie was set.
My view is setup to tell me when the test_cookie_worked() method
fails,
53 matches
Mail list logo