On Wed, 2006-10-18 at 15:51 +1000, Devraj Mukherjee wrote:
> SOAP is what I was after. If I used SOAPpy could I still import the
> django model stuff in the SOAP service script?
Yes, you can do this. The only thing you need to work out is how you are
going to handle the Django-side configuration.
Wilson Miner написав:
>
> They suggest contacting their sales staff to let them know if you'd be
> interested in a Django grid server:
> http://www.mediatemple.net/company/contact_us/
>
> Now I wonder where I can find a large group of Django users to fill up
> their inboxes...
Contacted. And of
SOAP is what I was after. If I used SOAPpy could I still import the
django model stuff in the SOAP service script?
On 10/18/06, Mikhail Gusarov <[EMAIL PROTECTED]> wrote:
>
>
> You ([EMAIL PROTECTED]) wrote:
>
> DM> Is there a chance that Django will support the provisions of
> DM> Webservices
You ([EMAIL PROTECTED]) wrote:
DM> Is there a chance that Django will support the provisions of
DM> Webservices in the future. It would be nice to use the same data
DM> models to provide WebServices for an application.
REST interfaces and RPC ones (like SOAP) are nearly orthogonal, and
you c
On Wed, 2006-10-18 at 14:45 +1000, Devraj Mukherjee wrote:
> Is there a chance that Django will support the provisions of
> Webservices in the future. It would be nice to use the same data
> models to provide WebServices for an application.
>
> Googled around but found nothing. Thanks
Since "Web
Is there a chance that Django will support the provisions of
Webservices in the future. It would be nice to use the same data
models to provide WebServices for an application.
Googled around but found nothing. Thanks
--
"I never look back darling, it distracts from the now", Edna Mode (The
Incr
On 10/17/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> You know about Ruderman's shell, right? What's the interactive
> interpreter do that the shell doesn't? The shell bookmarklet works in
> the context of whatever page you were on when you opened it. Am I
> missing something cool?
Interactiv
On 10/17/06, sago <[EMAIL PROTECTED]> wrote:
> IMHO MochiKit's interactive interpreter is an absolute
> godsend to serious javascript development, and I find I can't do
> without some of MochiKit for anything other than trivial javascript
> coding.
You know about Ruderman's shell, right? What's
On Tue, 2006-10-17 at 09:31 -0700, juampa wrote:
> It returns /usr/local/pgsql/lib , just as in the configure command.
>
> I also included /usr/local/pgsql/bin in the PATH variable in case
> configure was using any postgres related commands, but no luck.
>
> Thanks for the help Jeremy.
I'm no M
On Oct 18, 2006, at 2:53 AM, iain duncan wrote:
> I have not dug into either Dojo or Mochikit yet and am wondering if
> one
> is more suited to Django dev than the other for adding AJAX type bells
> and whistles. Pros and Cons of either?
Recently we ran into JQuery [1], a very exciting Javasc
For www.paradondevamos.com (in construction!) I integrate PyLucene... I
test in local machine for 3000+ pages and is good enough for me. None
of the integrated full-text on any Sql server in town can match the
performance and in the case of Lucene, flexibility of a dedicate tool
for the task.
The
On Tue, 2006-10-17 at 17:45 -0700, JHeasly wrote:
> Just to verify, to get something like the "complex example" of the docs
> (http://www.djangoproject.com/documentation/syndication/) to work --
> where feeds publish different data for different URL parameters -- is
> there anything special you ne
> with a URL like:
>
> http://www.foo.com/rss/the_slug/11344/bar/
>
> and this from the URLConf:
>
> feeds = {
> 'rss': CustomRSS,
>
> }supposed to work?
To be consistent with your example URL above, that dictionary
definition should read:
feeds = {
'the_slug': CustomRSS,
}
>
> It's my
On Tue, 2006-10-17 at 12:29 +0100, Rachel Willmer wrote:
> I've got a website which is written in Django (love it!) but I'd like
> to be able to use that look-and-feel to cover the blog part of the
> website which is hosted in WordPress.
>
> Is it possible to include PHP code in the Django templa
I've used both MochiKit and Scriptaculous in Django production
projects.
I've only used Dojo in test projects. I've never used YUI.
MochiKit is (pretty uniquely) focussed on providing programming
features, rather than wiz-bang Web2.0 functionality. It does things
like add easy handling of deferr
Hi Everyone,
I wish to produce custom administration interfaces. For example, a
list of all items that have been marked as containing inappropriate
content by the public interface. I want administrators to be able to
produce a list of these items and untick a box to re-enable the
visibility of th
MerMer wrote:
> Great screencast. As a newbie - very helpful and I'm looking forward
> to seeing more content on the site when it launches.
I am far from a newbie, but I picked up a couple of useful tidbits.
Very nice!
--~--~-~--~~~---~--~~
You received this me
Just to verify, to get something like the "complex example" of the docs
(http://www.djangoproject.com/documentation/syndication/) to work --
where feeds publish different data for different URL parameters -- is
there anything special you need to do to the URLConf regex? Is
(r'^rss/(?P.*)/$', 'dja
On 10/17/06, tonemcd <[EMAIL PROTECTED]> wrote:
> What I'd really like to know is how we could replicate this level of
> functionality with a django setup.
I highly, highly, highly recommend taking a look at Perlbal[1] for
load balancing. Don't let the fact that it's written in Perl turn you
off;
On 10/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> At the add stage, my num_in_admin =12 ( from Photo class) show up in
> admin, but when I " save and continue editing" I am left with only one
> blank inline photo object. Can't see what the problem is. Here is the
> code. Any help an
On 10/17/06, iain duncan <[EMAIL PROTECTED]> wrote:
> I have not dug into either Dojo or Mochikit yet and am wondering if one
> is more suited to Django dev than the other for adding AJAX type bells
> and whistles. Pros and Cons of either?
I don't know a whole lot about MochiKit, but I've liked w
You might wanna give a look at http://script.aculo.us/
I've used it outside of Django and was pretty satisfied.
On Oct 18, 3:18 am, João Cruz Morais <[EMAIL PROTECTED]> wrote:
> I suggest using prototype or the smaller/limited version, mooflex.
>
> João
>
> Wilson Miner wrote:
> > Dojo is design
I suggest using prototype or the smaller/limited version, mooflex.
João
Wilson Miner wrote:
> Dojo is designed to be flexible, but can be too heavyweight for small
> tasks. Mochikit is designed to be super-lightweight but has a much
> more limited scope as far as what it's capable of.
>
> On 10
Dojo is designed to be flexible, but can be too heavyweight for small
tasks. Mochikit is designed to be super-lightweight but has a much
more limited scope as far as what it's capable of.
On 10/17/06, iain duncan <[EMAIL PROTECTED]> wrote:
>
> I have not dug into either Dojo or Mochikit yet and a
Sounds like they're leaning toward adding a Django option in the
future, but I think we can help speed them along by letting them know
there's plenty of demand out there.
They suggest contacting their sales staff to let them know if you'd be
interested in a Django grid server:
http://www.mediatem
Ian,
Great screencast. As a newbie - very helpful and I'm looking forward
to seeing more content on the site when it launches.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
Hi Tone.
I have about 10 sites running the same/similar codebases on 3
different machines.
send me some more info offline (or skype me on iholsman) and we can
chat about it.
regards
Ian.
On 18/10/2006, at 9:07 AM, tonemcd wrote:
>
> Hi all,
> We're about to put our first django site onlin
Hi all,
We're about to put our first django site online on Monday, which is a
major departure for us. We currently host 100+ Zope instances, almost
all of which are load balanced over more than one physical server using
pound. Our databases are MySQL and increasingly, PostgreSQL, and these
are als
At
http://www.lamptraining.com/screencast/1/
Have fun
Ian.
--~--~-~--~~~---~--~~
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 f
>
> p.id = ??? (max_id in table + 1 or NOT SET > but how can i do
> this)
> p.save()
Try:
p.id = None
p.save()
Django will select the next id in the sequence for your new product.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hello,
I have a simple need: I'd like to view/sort in the admin the signup
date of my users. How can I add a field in the User Admin list_display ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gro
I have been in contact with Media Temple over the last week discussing
Django and their new Grid Server system. The good news is "After doing
some research Django will not run properly with our (gs) Grid-Server.
We will be creating a container to handle Django in the near future."
Here is some m
>
> My default action if I can't find a better way, is to write a view
> just so I can do this check, but I'd rather not if there's an
> alternative I can use within the generic view.
Another alternative is to write a custom include tag to replace the
built in one. Django's built in include tag
I can't say for sure but I imagine the answer you're going to get from
most people is to use whichever one you like. Since they aren't going
to communicate with Django over a special API but rather through the
same methods they would if you were using any other setup for
development you're pretty
I have not dug into either Dojo or Mochikit yet and am wondering if one
is more suited to Django dev than the other for adding AJAX type bells
and whistles. Pros and Cons of either?
Thanks
Iain
--~--~-~--~~~---~--~~
You received this message because you are subsc
http://www.mercurytide.com/knowledge/white-papers/django-full-text-search
is a good article on adding full-text search to django using mysql. A
search api branch of django can also be found here
http://code.djangoproject.com/browser/django/branches/search-api.
I hope that helps.
On Oct 17, 9:58
James - thank you for your reply!
On 10/17/06, James Bennett <[EMAIL PROTECTED]> wrote:
> Templates have the following access:
>
> * Any variables defined in the context passed from the view will be available.
> * If the view used RequestContext instead of the base Context class,
> any variables
Thanks for your suggestion.
I do use that in other parts of the website, but in this one, I'm
using a generic view - so what I need (I think) is a mechanism to
check the existence of the included page within the template.
My default action if I can't find a better way, is to write a view
just so
Vittorino Parenti schrieb:
> Hi,
> i found this in django documentation:
>
> "Note, however, that you can only use strings to refer to models in the
> same models.py file -- you cannot use a string to reference a model in a
> different application, or to reference a model that has been imported
On 10/17/06, Rachel Willmer <[EMAIL PROTECTED]> wrote:
> Is it possible to include PHP code in the Django templates?
Well.
It's probably possible, just not pretty. One thing you might do is
write a custom template loader which calls out to /usr/bin/php and
runs PHP over the contents before retur
On 10/17/06, samuraisam <[EMAIL PROTECTED]> wrote:
> I'm currently implementing a system which will allow users to make
> custom templates based on the Django templating engine. Before I deploy
> or even develop any further, though, I guess I should find out--how
> secure are Django templates are.
Hi all, thanks for the help, I do like you Guillermo, and I create another function to send the email.
ThanksOn 10/13/06, Guillermo Fernandez Castellanos <[EMAIL PROTECTED]
> wrote:Hi,This might help you get going (see at the end). I modified a bit the
function that sends the mail in Django. It is
It returns /usr/local/pgsql/lib , just as in the configure command.
I also included /usr/local/pgsql/bin in the PATH variable in case
configure was using any postgres related commands, but no luck.
Thanks for the help Jeremy.
Juampa
Jeremy Dunck wrote:
> On 10/16/06, juampa <[EMAIL PROTECTED
http://www2.jeffcroft.com/2006/jul/14/django-admin-your-php-app/
--~--~-~--~~~---~--~~
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 unsubscrib
I'm currently implementing a system which will allow users to make
custom templates based on the Django templating engine. Before I deploy
or even develop any further, though, I guess I should find out--how
secure are Django templates are. Do they allow any access to the
system? Is there something
It would be cool if Apress could use some type of process with that
book like Dave Thomas did with Agile Web Development With Rails (and
some of their other titles). The Pragmatic Programmers released early
beta versions of the book in pdf format, automated input from their
readers to deal with er
Hi,
i found this in django documentation:
"Note, however, that you can only use strings to refer to models in the
same models.py file -- you cannot use a string to reference a model in a
different application, or to reference a model that has been imported
from elsewhere."
i have different mo
Hi Enquest,
Enquest wrote:
> How hard is it to set up a search engine with Django?
Easy! Just search the model documentation for 'search_fields'. That
is, the admin interface has this feature built in, you just need to tell
it which fields you want searched.
> In PHP I used to explode, implo
Rejesh, you're my saviour! Thanks so much, exactly what I was looking
for. 5 stars!
--~--~-~--~~~---~--~~
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@googlegroup
> All works just fine, but I'd like to be able to catch the
> non-existence of a page so I can put up a 404 page rather than just
> displaying blank content, as currently happens.
Assuming that you have a view that passes the params.pagename variable
to your template, you could make that view rai
I see that you've already found Satchmo. I can comment on some of the
features you're looking for. Feel free to subscribe to the google group
for more discussion.
>
> * Item. Representation of actual goods. Belong to one of the
> Categories. Category defines attributes, which may have values.
How hard is it to set up a search engine with Django?
In PHP I used to explode, implode all words of an insert, update. Each
word I would put in to a table words and an other tabel that referred to
the words and id of where it came. You know the drill.
In my own little failed framework in php I
On 10/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Few days ago I've started to get such errors in the Admin Panel when I
> want to add something:
I'm curious about why you reset the sequence, rather than using
setval() to push it up to a working value, but this just sounds like a
sequen
[EMAIL PROTECTED] schrieb:
> Few days ago I've started to get such errors in the Admin Panel when I
> want to add something:
> ##
> IntegrityError: ERROR: duplicate key violates unique constraint
> "rk_news3_pkey"
>
> INSERT INTO "rk_news3"
> ("news_title","news_t
Thanks Malcolm for this detailed answer
Regards, Alex
--~--~-~--~~~---~--~~
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 thi
Hi,
to those who are experienced in django: i just want to avoid making
mistakes at the database level.
intro: I have an existing produkt p (class produkt) in the database. It
has a few other keys to the table attribute. So attribute (class
attribute) has a ForeignKey to produkt.
todo: Take the
I've got a website which is written in Django (love it!) but I'd like
to be able to use that look-and-feel to cover the blog part of the
website which is hosted in WordPress.
Is it possible to include PHP code in the Django templates?
Or is there another way (which doesn't involved migrating the
Few days ago I've started to get such errors in the Admin Panel when I
want to add something:
##
IntegrityError: ERROR: duplicate key violates unique constraint
"rk_news3_pkey"
INSERT INTO "rk_news3"
("news_title","news_text","news_more","news_date","news_keywords
At the add stage, my num_in_admin =12 ( from Photo class) show up in
admin, but when I " save and continue editing" I am left with only one
blank inline photo object. Can't see what the problem is. Here is the
code. Any help and I would be grateful.
from django.core import meta
#done
status
I'm using a set of templates which provide a standard layout to my
website, where the actual content for any particular page is given
using {% include params.pagename %}.
All works just fine, but I'd like to be able to catch the
non-existence of a page so I can put up a 404 page rather than just
60 matches
Mail list logo