Hi there,
I have one website using celery just fine but now when I try with a
second website it's tasks don't seem to do anything.
In my celeryd conf under /etc/default I've set some lines like this:
# Name of nodes to start, here we have a single node
CELERYD_NODES="w1"
# or we could have three
I installed django-filebrowser==3.3.0 and django-grappelli==2.3.4 onto
a simple demo project on django==1.3.1 that only has Flatpages.
I've uploaded a a sample .avi into the filebrowser. Added TinyMCE to
my flatpages. I click "Insert/edit embedded media", browse to my video
and click "Select". The
Hi,
I've got a master and slave database setup working using Postgresql 9
Replication. I followed this guide quite strongly
http://brandonkonkle.com/blog/2010/oct/20/postgres-9-streaming-replication-and-django-balanc/
When the master is updated then the slave replicates the changes. The
requests
Hi,
I've a web app which works nicely on a per user or per company basis.
However I've gotten to the point where I want to run multiple
companies through the same app(not have to redeploy for each client).
However each client needs their own data and shouldn't be able to see
other clients data. A
I'm trying to run an import and in my identity fields I'm referencing
a foreignkey field. The excel file holds the name of the brand and
this field seems to be ignored when the import happens. My theory was
that perhaps it's because it's not mapped and in fact it's probably
matching the brand_name
Hi there,
I am trying to use django-batchimport that I got from
http://code.google.com/p/django-batchimport/ It's function is to allow
for importing/exporting of data from excel into and out of django
models. There is no documentation on the new version(which is still
not so new). I am hoping othe
Hi all,
I've created the example django poll application on
http://docs.djangoproject.com/en/dev/intro/tutorial01/ Everything
works great.
I now want to have this poll application be a facebook application. I
thought by creating a FB application and just pointing to my hosted
Poll application URL
ks well.
>
> Lorenzo
>
> Il 16/03/11 15:46, mongoose ha scritto:
>
>
>
>
>
>
>
> > Hi,
>
> > I've been struggling so much trying to get a Facebook app to work on
> > the Django framework. Mostly battling with pyFacebook. For some
> > parti
hi
How do I setup the django comments so that when a comment is posted it
will not appear and be pending moderation( email sent to admin to
approve or reject comment )? As default it just posts and shows
straight away.
Do I need to use "class CommentModerator moderate_after" ?
thanks.
--
You r
Hi,
I've been struggling so much trying to get a Facebook app to work on
the Django framework. Mostly battling with pyFacebook. For some
particular reason the login just doesn't work for me. I've posted some
help questions and still come up with nothing. Perhaps the pyFacebook
is outdated?
But my
Hi there,
First time using pyFacebook. I've literally copied the example
application [https://github.com/sciyoshi/pyfacebook/tree/master/
examples/fbsample] and put it up onto my server. I've created an FB
app and now when I try to load the app basically what happens is that
the browser keeps refr
are you getting an errors, maybe 404 erros when the request is being
made for the media files?
On Feb 25, 1:07 pm, Kopch wrote:
> Hi all! I'm noob in django. I've installed Pinax project in windows
> virtualenv, after i've made static files collect with build_media.
> Everything were collected in
that
> sounds like an obvious project. It would still be outside your
> editor, however. I really want formatting aid inside my editor
> (spoiled emacs user). Perhaps an extension to IDLE?
>
> On Tue, Feb 22, 2011 at 9:55 AM, mongoose wrote:
> > hi all,
>
> > I&
;re editing templates, you probably have python installed.
> If there isn't already a python based template reformatter, that
> sounds like an obvious project. It would still be outside your
> editor, however. I really want formatting aid inside my editor
> (spoiled emacs user). P
hi all,
I'm using notepad++ a lot and really missing a code formatter (vim
would be = to format).
Anyone know of anyway to format my html nicely? I've tried HTML Tidy
but it keeps adding a 20% where I have a space for example
"{{%20MEDIA_URL%20}}css/styles.css".
--
You received this message beca
Hi,
I've created a django project with virtualenv on my server. It is an
Ubuntu server. I have checked it into svn. Now I'm on a windows
machine and have checked out the project. I noticed however that the
activate and deactivate scripts are in bash when created through linux
and are .bat files in
s then the hard times will come.
On Jan 27, 4:17 pm, Stuart wrote:
> Have a look at django-filer by Stefan Foulis. There's also a plug-in
> for use with django-cms, if you wish.
>
> https://github.com/stefanfoulis/django-filer
>
> --Stuart
>
> On Jan 27, 7:30 am, mongoose
Hi hi,
Wanting to make a simple site that hosts images and videos. Like a
portfolio page.
Are there any good apps specifically for uploading a video and
displaying it in a nice player?
Or is the better option to just upload it with something like
filebrowser and embed the link into flatpages?
An
Hi there,
I'm using the Coltrane Blog.
I changed
Class Meta:
app_label = 'Blog'
Now Entries in under Blog instead of Coltrane. Great this is what I
want.
However now I have created a user with privileges to add, edit and
delete entries for Coltrane app. I assigned the privileges under U
Thanks guys. Just saw this in the admin contrib pages too:D win!
On Jan 18, 7:36 pm, Dave Sayer wrote:
> +1 for conditional comments. They're what all the cool kids are using these
> days.
> On 18 Jan 2011 15:00, "Michel Thadeu Sabchuk" wrote:
>
> > Hi,
>
> >> I have 2 css files. One specificall
Hi there,
I have 2 css files. One specifically for IE because it's so horrible.
I'd like to load either or css files depending on the browser.
I know I have to use
agent = request.META['HTTP_USER_AGENT']
I looked at this http://djangosnippets.org/snippets/77/ but it seems
complex.
All I
ote:
> Yes, it's possible, define them in in your inline class.
>
> Excerpts from mongoose's message of Fri Jan 14 08:53:18 -0200 2011:
>
> > Ok so I've tried it but can't get it to work properly. I am using
> > inlines. Is it possible to use raw_id_fields
Ok so I've tried it but can't get it to work properly. I am using
inlines. Is it possible to use raw_id_fields with inlines?
On Jan 4, 9:25 am, mongoose wrote:
> Thanks so much I'm going to give this a try!
>
> On Jan 3, 1:54 pm, Greg Turner wrote:
>
> >
just like the normal django admin, but when you click
> on an item, it becomes the selected item in your inline, and the window
> closes.
>
> On 3 January 2011 18:55, mongoose wrote:
>
>
>
> > Hi there,
>
> > I have a drowdown list in my inlines. The problem
Hi there,
I have a drowdown list in my inlines. The problem is that there are
over 3500 items which is making is difficult for people to use. Are
there eaiser ways perhaps to filter or search within the dropdownlist?
Thanks
--
You received this message because you are subscribed to the Google
ls'
>
> >>> TEMPLATE_DIRS = (
> >>> os.path.join( SITEDIR, 'foo', 'templates' ),
> >>> )
>
> >>> INSTALLED_APPS = (
> >>> 'django.contrib.auth',
> >>> 'django.contrib.conten
:'(
On Dec 11, 9:22 pm, mongoose wrote:
> Hi there,
>
> I've got a base url.http://baseurl.com/
> I'm trying to run projects on the back of it. For
> examplehttp://baseurl.com/mongoose/
> The projects run but the URL don't work properly because they all
&
rol exactly how things are displayed.
> On Dec 11, 2010 1:30 PM, "mongoose" wrote:
>
> > Hi wayne,
>
> > to be honest I've no idea how i'd do that by overriding a template.
>
> > On Dec 11, 7:20 pm, wayne wrote:
> >> On Dec 11, 8:05 am, mon
Hi wayne,
to be honest I've no idea how i'd do that by overriding a template.
On Dec 11, 7:20 pm, wayne wrote:
> On Dec 11, 8:05 am, mongoose wrote:
>
>
>
> > Hi there,
>
> > Currently I've got a recipe application like this:
>
> > class R
Hi there,
I've got a base url. http://baseurl.com/
I'm trying to run projects on the back of it. For example
http://baseurl.com/mongoose/
The projects run but the URL don't work properly because they all
reference the base url. So for 'About Me' page it points to
http://
Hi there,
Currently I've got a recipe application like this:
class RecipeAdmin(admin.ModelAdmin):
fieldsets = (
('Recipe Details',{
'fields': (
('title', 'slug'),'description', 'difficulty',
'vegetarian',
'serves', (
>
> http://code.google.com/p/django-command-extensions/wiki/InstallationI...
>
> Fei
>
> On Dec 8, 6:30 am, mongoose wrote:
>
> > Hi all,
>
> > I'm trying out django-command-extensions I want to use the dumpscript
> > command but I don't understand
s into python?
>
> Here are the detailed instructions
>
> http://code.google.com/p/django-command-extensions/wiki/InstallationI...
>
> Fei
>
> On Dec 8, 6:30 am, mongoose wrote:
>
> > Hi all,
>
> > I'm trying out django-command-extensions I want to use t
Thanks Tom, worked like a charm.
So actually qs is a collection of results and I can iterate through
them. Good to know.
Cheers.
On Dec 7, 7:52 pm, Tom Evans wrote:
> On Tue, Dec 7, 2010 at 5:29 PM, mongoose wrote:
> > Hi all,
>
> > I have this in my model.py
> >
Hi all,
I'm trying out django-command-extensions I want to use the dumpscript
command but I don't understand what I'm supposed to do to set it up.
How to use django-command-extentions dumpscript?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users
Hi all,
I have this in my model.py
def recipe_cost(self):
total = IngredientInfo.objects.filter(recipe =
self.id).aggregate(Sum('total')).values()
return total
Then in my admin.py I call that to display the cost.
class RecipeAdmin(admin.ModelAdmin
for raw sql queries: http://docs.djangoproject.com/en/dev/topics/db/sql/
On Dec 7, 7:14 pm, Jagdeep Singh Malhi
wrote:
> hi
>
> I want to use mysql Query :
> Select sum(field_name) FROM table_name WHERE some condition.
>
> Is it possible without using raw queries in Django ?
> if yes, please
try this out
http://docs.djangoproject.com/en/dev/intro/tutorial02/#customize-the-admin-look-and-feel
On Dec 6, 12:21 pm, x_marine wrote:
> Hi all,
>
> I have been using Django for a client. The client want the word "
> Django Administration " to be change to " Amazonia Administration"
>
> Wher
ib/flatpages/#installation
>
> On Nov 24, 2010, at 8:23 AM, mongoose wrote:
>
>
>
> > OK further updates.
>
> > I updated my URLs to have the following.
> > urlpatterns += patterns('',
> > (r'', 'django.views.generic.simple.direct_
d effect on the
homepage.
But still the pages that load are blank.
I've got
{{ flatpage.title }}
{{ flatpage.content }}
In my page but still just white.
Any suggestions?
On Nov 24, 3:16 pm, mongoose wrote:
> I tried this approach
>
> urlpatterns += patterns('',
>
ther bad news is that now all the other flatpages don't load when I
put in their URL.
There is something very simple I'm just not getting isn't there?
On Nov 23, 4:35 pm, mongoose wrote:
> Hi There,
>
> I've specified the URL as / in the admin.
> Now I get an erro
latpages.urls')),
)
On Nov 21, 8:43 pm, "Joseph (Driftwood Cove Designs)"
wrote:
> mongoose -
> all you need to do is specify the url: /
> for theflatpageyou want to be homepage.
>
> aflatpagecan only have one URL - if you want it to show up on 2
> urls (e.g. / a
Hi there,
I've created some flatpages and they work great. For example
http://127.0.0.1:8000/home/ and http://127.0.0.1:8000/blog/
I'm catching my flatpages with
urlpatterns += patterns('',
(r'', include('darren_web.flatpages.urls')),
)
What I want though is for http://127.0.0.1:8000/home/ t
43 matches
Mail list logo