Thanks Fred, we'll try it.
Anthony
On Dec 5, 7:16 pm, "Sells, Fred" wrote:
> I don't know about IIS, but use django and windows with Apache. See
> "LAMP" for windows or just install pieces which is easy too.
>
> -Original Message-
> From: django-users@googlegroups.com
>
> [mailto:django
The exception occurred before this statement, but I changed it anyway.
Thanks.
---
Maxim
On Dec 5, 4:58 pm, Ramiro Morales wrote:
> On Sun, Dec 5, 2010 at 4:23 AM, Maxim wrote:
> > Hi Ramiro,
>
> > Thanks for tip. Setting
>
> > DEFAULT_CHARSET = "UTF-8"
> > FILE_CHARSET = "UTF-8"
>
> > did the
It's hard to say, because I don't know what kind of "validation" or business
logic regarding it you are trying to accomplish/employ.
However, if you are wanting to ensure you validate a foto during a gallery
save, why not call an overridden fotos.save() from your custom
galeria.save()?
On Sun, De
You might want to use some logic involving anonymous users. See here:
http://docs.djangoproject.com/en/dev/topics/auth/#anonymous-users
On Sun, Dec 5, 2010 at 2:29 PM, andy wrote:
> Well you don't have to make the foreign key field required, that way
> comments belonging to guest users can have
On 6 December 2010 01:10, Patrick wrote:
> Hello,
> I'm new to django and hope I'm not asking an obvious question.
>
> I've tried to install django-socialregistration. I have the api_key
> and secret_key in settings.py, but I keep getting the following error:
> File "C:\projects\sample\Pinax-0.7.
Hello,
I'm new to django and hope I'm not asking an obvious question.
I've tried to install django-socialregistration. I have the api_key
and secret_key in settings.py, but I keep getting the following error:
File "C:\projects\sample\Pinax-0.7.3-bundle\env\lib\site-packages
\django\core\servers\
Well you don't have to make the foreign key field required, that way
comments belonging to guest users can have a blank foreign key
Possibly you could also create a default guest user that is assign to
comments made by guest users. I generally having my application
depending on the creation of som
Hi,
I need to create comments system. Either guests and logged users can
comment. How can I do that?
I want to make a Foreign Key to User model but then, how to add gust's
comemnts? I could make it in 2 separate tables, but it would be nice
to have it in 1 table.
Any ideas?
--
You received this
I can't quite wrap my brain around how to do generic relations. I have
a `Receipt` model which is a receipt of a purchase. One of the fields
is `item` which is a foreign key to a product model. I want to be able
to not only have products, but other things that the user can buy.
What do I need to d
hi
I have this models:
models.py:
class Galeria(models.Model):
...
class Foto(models.Model):
...
galeria = models.ForeignKey(Galeria, null=False)
admin.py:
class FotoInline(admin.StackedInline):
model = Foto
class GaleriaAdmin(admin.ModelAdmin):
inlines = [FotoInline, Vid
You can just add the html to your template (like ).
On Dec 5, 9:01 am, jc wrote:
> I need this codehttp://paste.pocoo.org/show/300846/to print a
> newline *before* each heading (essentially, wrapping it to the
> next line).
> Create another loop to do this or is there an easier way?
> Thanks,
>
Ouch, many apologies, I sent the last message to the wrong mailing list!
Can an admin delete it please?
--
Simon Tite
--
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 unsu
I'm looking for something analagous to the existing command:
sfConfig::get("sf_app_config_dir")
which gives me access to the config directory of the current application
("apps/frontend/config"). I would like to do the same to access the config
directory of the module, e.g. "apps/frontend/mod
Hey,
Are you busy these days?
I know a very good company that may be help you to shop something.
You can check it: www.sellele.com
Recently this company have promotional activity.
Most of their products have big discount that will help you save a lot
of money.
I think you will have a good time ther
I need this code http://paste.pocoo.org/show/300846/ to print a
newline *before* each heading (essentially, wrapping it to the
next line).
Create another loop to do this or is there an easier way?
Thanks,
J.
--
You received this message because you are subscribed to the Google Groups
"Django us
I don't know about IIS, but use django and windows with Apache. See
"LAMP" for windows or just install pieces which is easy too.
-Original Message-
From: django-users@googlegroups.com
[mailto:django-us...@googlegroups.com] On Behalf Of ashdesigner
Sent: Wednesday, December 01, 2010 6:44 A
Hi.
There's a really good talk by James Bennett at the Google I/O 2008
that may help you. James talk mostly about the best practices when
writing a "Reusable App".
http://www.youtube.com/watch?v=A-S0tqpPga4
I'm sorry for my rusty english.
-- Rodrigo Chacon
On Dec 5, 3:53 am, Sontek wrote:
> I
On Sun, Dec 5, 2010 at 4:23 AM, Maxim wrote:
> Hi Ramiro,
>
> Thanks for tip. Setting
>
> DEFAULT_CHARSET = "UTF-8"
> FILE_CHARSET = "UTF-8"
>
> did the trick, though I thought it is UTF-8 by default and doesn't
> have to be set explicitly.
Should have pointed to the more specific subsection of t
18 matches
Mail list logo