You can place the static files in the public html directory via
symlink if allowed or copying them, and have rewrite rules that
redirect to your django fcgi instance only in case a a file doesn't
exist.
On Jan 14, 8:06 am, Tundebabzy wrote:
> I am stuck after running collectstatic. I don't know h
Hello,
I want to connect User to Userprofile. When I create new user, the
Userprofile can't automatically add new user.
Should I need to write create Userprofile on view?
Why the ForeignKey can't automatically add?
My model as below:
class Userprofile(models.Model):
user = models.ForeignK
Thanks. It worked. It seems my problem is with understand STATIC_URL setting
On 1/15/12, francescortiz wrote:
> You can place the static files in the public html directory via
> symlink if allowed or copying them, and have rewrite rules that
> redirect to your django fcgi instance only in case a
I hadn't heard of Plata.
The two main ones are Satchmo and LFS. There's also the up-and-coming
django-shop which has a better architecture than the others.
On Sun, Jan 15, 2012 at 5:48 PM, Swaroop Shankar V wrote:
> Hello All,
>
> I need to integrate an e-commerce application into my project and
Moin,
On 2012-01-15 13:21:50 +, Alec Taylor said:
The two main ones are Satchmo and LFS. There's also the up-and-coming
django-shop which has a better architecture than the others.
Huh? Please elaborate.
Kai
--
You received this message because you are subscribed to the Google Groups "
Moin,
On 2012-01-15 07:18:51 +, Swaroop Shankar V said:
I need to integrate an e-commerce application into my project and i was
checking few options and I rounded of to 2 options:
1) Satchless
2) Plata
Please note that I don't wish to use a framework, instead i wanted an
app which i can
Hi all,
A really simple one. What goes in urls.py to set a callback
function for the base website url?
thanks
mark
--
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 unsubs
Hi Marjenni,
Something like this
(r'^$','.views.'),
Replace the variables in <> accordingly
Regards,
Guddu
On Jan 15, 7:39 pm, marjenni wrote:
> Hi all,
> A really simple one. What goes in urls.py to set a callback
> function for the base website url?
>
> thanks
>
> mark
--
You recei
I've heard/read that MySQL proxy supports a connection pool. See
(http://forge.mysql.com/wiki/MySQL_Proxy_FAQ) Basically this was a
good original observation about the overhead of opening/closing DB
connections for every request. I think tools exist out there such as
MySQL proxy that can practic
On 15.1.2012 3:36, ydjango wrote:
Any updates on MySQL connection pool for django. Has anyone
implemented it yet and willing to share?
Graham Dumpleton also raised it in G+ today.
On Nov 20 2011, 5:45 am, Jonathan wrote:
Does anyone know if this progressed anywhere since '09?
You can use d
Hi folks,
I need a solution to create cron-like jobs into my django projects. I've
a server with several projects.
I've testes celery, and it seems to work well with only 1 project, but
when I need to set up several projects with celery support, I can't
figure how to do it (because daemoniza
Hi, so far I have been using one celery instance per project and seems
to work ok, I have setup scripts (fabric) to start and reload the
project celery server (via manage.py celeryd), some notes en backends:
* Shared redis instance does not seem to work well, unless you use
different db numbers.
*
Hi, I'm looking for a way to to freeze the Admin changelist column
heading row so it does not scroll vertically, yet scrolls horizontally
with the results rows and keeps the column headings the same widths as
the corresponding results columns, ala Excel. I've read all kinds of
related posts involvi
Initially I was going closed-source all the way, or at least until we
have a good reputation, and open-sourcing will only improve that rep.
Recently though, I've been thinking about open-sourcing the entire solution.
Various popular SaaS solutions have open-sourced under AGPL and are
generating r
On 16/01/2012 3:09pm, Alec Taylor wrote:
Initially I was going closed-source all the way, or at least until we
have a good reputation, and open-sourcing will only improve that rep.
Recently though, I've been thinking about open-sourcing the entire solution.
Various popular SaaS solutions have o
I have been developing python/django programs on a windows machine at
work for several years
and have been very satisfied with the functionality available from the
available modules in windows.
I thought I would expand my universe and set up the development
environment on a mac this weekend at hom
I need a one-to-many to behave like a one-to-one.
The parent instance of my model can only ever have one current child
instance of another model. Multiple child instances have to exist and be
kept for the historical record.
The main benefit of one-to-one relationships is that they can be mapp
Why not have a child model that differs from the one-to-one child model in
that the parent key is now a foreign key to the parent? When another child
needs to replace the current one in the one-to-one relationship, move the
child to the second table where there is a many-to-one relationship to the
@Isaac, How about gearman?
Gearman seems to support multiple projects through one gearman server.
On Mon, Jan 16, 2012 at 1:43 AM, Isaac XXX wrote:
> Hi folks,
>
> I need a solution to create cron-like jobs into my django projects. I've a
> server with several projects.
>
> I've testes celery,
Does this work?
info =
ExtraInformation.objects.filter(user__is_active=1,user__is_staff=0,user__is_superuser=0).order_by("popularity").select_related("user")
users = map(lambda i: i.user, info)
Thanks
On Sun, Jan 15, 2012 at 1:05 AM, Swaroop Shankar V wrote:
> hello All,
> I have a model of
On 16/01/2012 5:19pm, Bill Beal wrote:
Why not have a child model that differs from the one-to-one child model
in that the parent key is now a foreign key to the parent? When another
child needs to replace the current one in the one-to-one relationship,
move the child to the second table where t
21 matches
Mail list logo