The issue is similar to this bug that has been fixed:
https://code.djangoproject.com/ticket/24428 however doesn't seem to be due
to coercion. I've discovered this when trying to update a project from
django 2.2 to 3.2
test case to reproduce (in a new django project/app)
```
from django.db import
similar to Google Web Toolkit - people will write code in
> Python, and it will run on the server side, and on the client side with
> JavaScript (it will compile Python code to JavaScript, like Google Web
> Toolkit from Java to JavaScript).
That sounds an awful lot like the Pyjamas (n
On 18/07/15 11:00, Ezequiel Bertti wrote:
> Do you already see this project?
>
> https://github.com/sshwsfc/django-xadmin
Unfortunately their homepage just swears at me in Chinese.
--
Stuart Longland (aka Redhatter, VK4MSL)
I haven't lost my mind...
...it's backed up
ot;{% blocktrans with
> verbose_name=inline_admin_formset.opts.verbose_name|capfirst %}Add another {{
> verbose_name }}{% endblocktrans %}"
The latter two being the HTML templates used for the stacked and tabular
inline widgets. I guess that's a starting point then. :-)
Regards,
--
Stua
at
rather than mod_fcgi.
I'm cross-posting this answer since you cross-posted the question, but it
would probably be best to stick with the general django list unless/until
you're asking about something satchmo-specific.
Hope that helps,
--Stuart
On Jul 2, 2012 7:53 AM, "Jonat
running php and django side-by-side, but presumably it is
possible and perhaps even fairly common, e.g.
http://stackoverflow.com/questions/1020390/how-do-i-run-django-and-php-together-on-one-apache-server
Hope that helps,
--Stuart
--
You received this message because you are subscribed to the
On Tue, Jan 17, 2012 at 3:56 AM, Tom Evans wrote:
> On Mon, Jan 16, 2012 at 11:12 PM, Stuart Laughlin
> wrote:
>> I also note that everyone who advocates
>> for apache concedes that the default installation/configuration is really
>> not appropriate for django apps. I in
your points about the importance of
knowing what your production system is doing and the key role of
monitoring. I'm hoping the work you are doing with New Relic will go a long
way towards solving those problems.
--Stuart
On Saturday, January 14, 2012 9:46:00 PM UTC-6, Graham Dumpl
ou're interested.
http://groups.google.com/group/satchmo-users/browse_thread/thread/6a65b4ab28df38dc/a9b22c236d63c323
--Stuart
On Jan 14, 2012 8:50 AM, "Sells, Fred" wrote:
> You referenced Graham’s “The Perfect Config”. I’ve been googling without
> success to find
On Fri, Jan 13, 2012 at 12:37 PM, Javier Guerra Giraldez
wrote:
> On Fri, Jan 13, 2012 at 1:03 PM, Stuart Laughlin
> wrote:
>> Just wanted to clarify that there are in fact some instructions out there
>> for options other than apache/mod_wsgi, even though mod_wsgi remai
we’d recommend you try *mod_wsgi* first. In most cases it’ll be the
easiest, fastest, and most stable deployment choice." [sic])
--Stuart
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visi
ow many
others share my experience.
So anyway, there are two aspects -- the performance/stability aspect where
I reckon we are in essential agreement, and then there is the
troubleshooting/diagnosing aspect where I am advocating that apache is more
complicated than the lighter servers.
Hope
der until just now -- cross-
platform compatibility might be a factor. I use linux for everything,
so that's all I care about. To be frank I have no idea whether nginx /
lighttpd / cherokee / gunicorn / uwsgi run on Windows or Mac. If they
do not then that can tend to complicate the docs somewhat.
On Jan 13, 5:01 am, Tom Evans wrote:
> On Thu, Jan 12, 2012 at 11:32 PM, Stuart Laughlin
> wrote:
> > I don't care a whit about what "the cool boys" are doing. What I care about
> > is a production deployment that works efficiently and reliably and that is
>
p-and-virtualenv-django/
* http://www.saltycrane.com/blog/2010/10/how-install-pil-ubuntu/
*
http://brandonkonkle.com/blog/2010/jun/25/provisioning-new-ubuntu-server-django/
Hope that helps,
--Stuart
On Thu, Jan 12, 2012 at 5:37 PM, Jeff Heard wrote:
> http://kencochrane.net/blog/2011/06/django-
On Thursday, January 12, 2012 10:09:13 AM UTC-6, Javier Guerra wrote:
>
> On Thu, Jan 12, 2012 at 9:54 AM, Stuart Laughlin
> wrote:
> > # author admits he is a non-sysadmin noob
>
> ad-hominem
>
False. I pointed out what the author clearly stipulates.
"I’m a sys a
e.com/display/chef/Build+a+Django+Stack
I reckon you could also do something like that, perhaps a bit more
crudely, with shell scripts and fabric. I haven't seen any good
examples of that though.
--Stuart
--
You received this message because you are subscribed to the Google Groups
"Djan
ke you've got a handle on that
part). I haven't thought through the load balancer bit yet, but
presumably they are all using the same cache / database / session
store..?
--Stuart
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
On Dec 6, 3:45 pm, Stuart Laughlin wrote:
>
> Another advantage of satchmo (and please forgive the self-promotion)
> is that you can purchase a companion mobile application that extends
> your website to iphones, ipads, android devices, and the like via apps
> native to each platfo
terface is not suited for such application
>
I don't know exactly what you mean by that. I will say that when I
implemented satchmo for a client with thousands of products, I did
have to tweak satchmo's admin templates in a couple places to get
admin pages to load more quickly. P
your website to iphones, ipads, android devices, and the like via apps
native to each platform. Preliminary information is at
http://www.johnheerman.com./portfolio/ with a dedicated site coming
Real Soon Now.
--Stuart
On Dec 5, 11:40 pm, "Md,Mehedi Hasan Kabir(Tanim)"
wrote:
> Hi
&
e entry in MIDDLEWARE_CLASSES. But since the class does
not define any of the middleware methods, it will not ultimately be
registered and therefore will not consume any CPU time when handling a
request.
Hope that helps,
--Stuart
On Nov 21, 5:51 am, Tom Evans wrote:
> On Sat, Nov 19, 201
I came across this acronym again today. I'm quite certain it refers to
"minimum viable product," a term popularized by (so says wikipedia)
Eric Ries (with whom I am also unfamiliar).
--Stuart
On Nov 13, 2:56 pm, Kurtis Mullins wrote:
> Im assuming he means Model View Prese
FWIW I agree with Mike. It's difficult to advise without seeing
exactly what you're doing, but I think Mike's advice/approach is
sound.
--Stuart
On Nov 15, 4:16 am, Mike Thon wrote:
> I'm no expert here but if it were me building this project, I'd build the
>
http://www.acronymfinder.com/MVP.html ?
On Nov 12, 9:04 am, skier31415 wrote:
> I'm a coder, but I don't code for the majority of my time. What I do
> is identify, install, employ, and adapt mostly working solutions. I
> stand on the shoulders of giants. There are very few good ways to
> ident
uot;better" approach assuming you are up for
it. You would have to decide when to construct these dynamic models,
among many other decisions.
I'm on holiday for the next couple days, but I will check back with
the list to see how you're getting on when I return.
Good luck!
--Stuart
--
gistration subjects.
Hope that helps,
--Stuart
On Oct 14, 6:53 am, omerd wrote:
> Hello everybody,
> I am writing my first web application with Django.
>
> I want to create a web of registration for many subjects.
> However, each subject require different set of details to be s
On Oct 6, 3:57 pm, colinta wrote:
> The only
> curve ball is that the client will need customizable forms. Otherwise
> it's a pretty standard site.
>
There's an app / django-cms plugin for that. I haven't tried it
though.
https://github.com/philomat/django-form-d
ld
evaluate Pinax [1] (as Kevin mentioned), Feincms [2], Mezzanine [3],
and Mingus [4].
Hope that helps, and good luck!
1: http://pinaxproject.com/
2: https://github.com/matthiask/feincms
3: https://github.com/stephenmcd/mezzanine
4: https://github.com/montylounge/django-mingus
--Stuart
--
You
= suggest(request, get_friends=pretend_get_friends)
self.assertEqual(response.status_code, 200) # or whatever
--Stuart
On Oct 4, 9:18 am, Stuart wrote:
> Here is one approach...
>
> class FBFriends:
> def get_friends(self, current_user):
> return __get_friends(current_user) # h
t, friend_source=FBFriendsMock())
self.assertEqual(response.status_code, 200) # or whatever
--Stuart
On Oct 4, 7:34 am, Reikje wrote:
> In one of my views, I am doing a call to the Facebook graph API which
> is a bit heavyweight and you also need a valid token. I am looking
> into ways to us
of bringing back only the most recent property on
each target) but I wanted to mention it for the archives since no one
else had.
--Stuart
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-use
On Sep 1, 8:19 am, graeme wrote:
>
> I used the same approach with my existing models, and it works fine.
> The code is shorter, the queries are simpler, my template is simpler
> and it is a lot faster.
>
Glad you got it sorted!
--Stuart
--
You received this message
he root)
print "%s (%s)" % (c.name, c.texts.count()) # Subcategory One
(3)
Rework that code to traverse all the way to the bottom (smarter
iteration or maybe recursion) and you've got what you need without a
complicated query.
--Stuart
--
You received this message because you are subscr
rhaps rethinking your models will make the query easier.
Hope that helps,
--Stuart
--
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 this
web server to serve up the files):
if settings.DEBUG:
urlpatterns += patterns('django.views.static',
(r'^%s(?P.*)$' % settings.STATIC_URL[1:] , 'serve',
{'document_root': settings.STATIC_ROOT}),
...
)
This should get everything
)
url = forms.URLField()
comment = forms.CharField(
widget=forms.TextInput(attrs={'size':'40'}))"
Regards,
Stuart MacKay
Lisbon, Portugal
>
> I would like to use the 'title' attribute of several form fields to hold our
> help_text, rather th
Those commands assume you are using linux. There is more information
for Windows users over here:
https://docs.djangoproject.com/en/1.3/topics/install/#installing-official-release
--Stuart
On Jul 30, 1:41 am, Technical Writer wrote:
> Hello,all:
> I am a technical writer here in Chi
w up until the
bottom of the second page.
Stuart MacKay
Lisbon, Portugal
Tried this snippet but not working
http://djangosnippets.org/snippets/2306/
Anyone else tried it, I would like to drag and drop rows on django admin.
Thanks.
RJ
--
You received this message because you are subscri
imilar).
5) Figure out how to install and configure solr
Of course each of those steps could be broken down quite a bit. Along
the way I reckon you'll work through getting around at the command-
line. Feel free to come back and ask more specific questions as you
run into problems.
Hope that helps,
something that could easily be found in the django docs.
Stuart MacKay
Lisbon, Portugal
On Jun 30, 9:02 pm, Stuart MacKay
wrote:
The canonical answer for search in django is probably
solr,http://lucene.apache.org/solr/This probably covers all your search needs.
haystack,http://haystacksearch.org
The canonical answer for search in django is probably solr,
http://lucene.apache.org/solr/ This probably covers all your search needs.
haystack, http://haystacksearch.org/ should provide an easy to use API
Stuart Mackay
Lisbon, Portugal
> Tried googling but couldn't come up with much.
but at the cost of an extra step in preparing for deployment.
Stuart MacKay
Lisbon, Portugal
On 24/06/2011 15:45, Gelonida wrote:
On 6/24/2011 1:54 PM, Thomas M wrote:
Hello django users,
I want to use the django internationalization module to translate
stuff. The problem is the large .po
Malcolm,
oAuth also looks like a great solution - it was not as well developed
when I last looked at REST authentication a couple of years ago. There
is a lot of developer support now as well, http://oauth.net/code/,
specifically https://github.com/simplegeo/python-oauth2
Stuart
I think
django.
Stuart
Hi all, I'm newbie in Django, and I started to build my own API. I
know that there is Piston or Django REST framework, but I want to
learn API from scratch. What I want to know is, how to make my HTTP
Response (View) is perform authentication before can be accessed, or
we can ma
is to
some extent) but you easily avoid compatibility issues and then both
projects are free to take whatever path works best.
Regards,
Stuart MacKay
Lisbon, Portugal
Hi,
I developed a calltracking for our team and now, another team is interested to
have their own calltracking.
The best
your site is wildly successful - at this point you will be more
than able to pay somebody else to worry about that.
Regards,
Stuart MacKay
Lisbon, Portugal
hi,
do i have to install mysql to create a database in my website?
tnx
--
You received this message because you are subscribed to the
I use a Linode 512 VPS hosted in London. So far it has been awesome.
Stuart MacKay
Lisbon, Portugal
I know this question has been asked before, but the most recent thread
I can find in the archives is from 2007, and presumably the landscape
has changed since then.
I'm looking for a Webfa
installing
Django and second it will give everybody on this list who can help you
with a good reference point for the steps you carried out. So when you
say "I am having trouble with X" then it will be a lot easier to
identify what the problem might be.
Regards,
Stuart MacKay
Lisbon, Portug
pip
effectively does a clean install.
Regards,
Stuart MacKay
Lisbon, Portugal
I'd like to know what kind of experience people have had, in using
virtualenv (to run a particular version of Python on a VPS) with
Django, and related packages? Not *just* Django (and Python), I'm
fairly
. Each
sentence has the same level of importance so it is easy to miss an
important detail in the middle of a paragraph. Happily this confusion
quickly disappears once you become more familiar with Django and the
documentation style.
Regards,
Stuart MacKay
Lisbon, Portugal
Shawn,
Thank you
private then you should
use a commercial, proprietary license. If you used the BSD license then
there is no reason I cannot decompile your binary to generate useful
source code which I could then distribute freely.
Regards,
Stuart
So if I want to create a software for which I don't want to
selections of links that describe the different types of
Open Source licences available.
Regards,
Stuart MacKay
Lisbon, Portugal
What do you guys think about the MIT license? In what particular case
would I be needing an MIT license? --
You received this message because you are subscribed to the Google
The idea behind using telnet was simply to verify the network
connections - that the web server is listening on the correct port and
that your router was working correctly.
Stuart
I am not sure I got your suggestion and I don't have telnet working
but i have similar rules for d
Can you telnet to the web server: telnet 80
(assuming it is listening on port 80). That would at least tell you
whether your LAN setup was correct.
Stuart MacKay
Lisboa, Portugal
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
Try Google Translate, http://translate.google.com/?hl=en#fr|en|, it's
not perfect but it does rather a good job, particularly on formal
documents.
Regards,
Stuart MacKay
Lisboa, Portugal
My problem with those is that I can't read french so I have no idea
what it is saying.
On M
run Django
locally. That would eliminate all your problems in one go and allow you
to get started with your first project. After that you can try MySQL
once you are more familiar with Django and understand you needs better.
Regards,
Stuart
--
You received this message because you are
options you have
tried would make it easier to identify the problem.
Regards,
Stuart MacKay
Lisboa, Portugal
--
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
basic things you need.
You can "upgrade" to MySQL later.
Regards,
Stuart MacKay
Lisboa, Portugal
--
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 unsubsc
works and would give you enough information to make your
evaluation more objective.
Stuart
Lisboa, Portugal
--
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 unsubsc
easy to do.
Stuart
--
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 this group, send email to
django-users+unsubscr...@googlegroups.com.
For more
have.
Regards,
Stuart
--
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 this group, send email to
django-users+unsubscr...@googlegroups.com.
For more
Fantastic! Thanks for your great work, guys.
--Stuart
On Jan 26, 3:05 pm, Jonas Obrist wrote:
> We are very proud to announce that a few moments ago, the django CMS
> team released the final release for version 2.1.0. This new version adds
> new exciting features to our CMS and f
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 wrote:
> Hi hi,
>
> Wanting to make a simple site that hosts images and videos. Like a
&g
ou're having the same problem I was. To fix it,
upgrade to the latest version of mod_wsgi and run it in daemon mode.
See here for details:
http://groups.google.com/group/satchmo-users/msg/a9b22c236d63c323
Hope that helps,
--Stuart
--
You received this message because you are subscribed to
3c323
Hope that helps,
--Stuart
--
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
django-users+unsubscr...@googlegroups.c
What you have looks about right. What result are you getting? An error
message?
--Stuart
On Apr 9, 7:44 am, Sheena wrote:
> Hey hey. I'm a little new to Django so I've been following through the
> Django Book v2 and I'm having trouble adding my models to the admin
> si
comments please feel free to send me a message. You
can find us on twitter as well @simplestation.
Cheers,
Stuart Bowness
Creative Director
http://simplestation.com
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
rofile model has a foreign key to User and one to another
model. If I remove both of these from list_display, it displays fine.
The individual record also displays fine.
Also, this isn't causing any problems on our site, which reads from
and writes to the Userprofile table.
Any ideas wo
Hi,
I'm new to django and am having problems configuring the django-cms
application with apache (using mod_python). I have followed the
install steps (http://django-cms.org/installation/) but Apache throws
the following error:
ImportError: No module named cms
My foo.com website code has 1 inven
On Jul 8, 2:40 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-07-08 at 06:22 -0700, Stuart Grimshaw wrote:
> > I'm getting this error when trying to view my admin interface ...
>
> > In template /usr/lib/python2.5/site-packages/django/contrib/admin/
I'm getting this error when trying to view my admin interface ...
In template /usr/lib/python2.5/site-packages/django/contrib/admin/
templates/admin/base.html, error at line 28
Caught an exception while rendering: Tried showSides in module
teamsheet.sheets.views. Error was: 'module' object has no
On Jul 1, 9:41 pm, Brian Luft <[EMAIL PROTECTED]> wrote:
> What is your purpose in defining a form field if it won't be used for
> user input?
I wanted to try and kee things simple (and look where that got me).
I have a list of players, and want to display them, with checkboxes
next to the names
Is it possible (with newforms) to either display a CharField as just
text, or have it's value used as the label on another field? I'm
displaying names against checkboxes and I want the names to appear as
the checkbox labels (or at least appear like they are)
Any tips anyone?
-S
--~--~-~-
On Jun 22, 11:48 pm, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote:
> Stuart Grimshaw wrote:
> > but it was throwing syntax errors on "player.player.first_name == '' ?
> > player.player.username : player.player.first_name)"
>
> It looks like you
As part of my sign up process, I don't require that people fill in
their first/last name, and just choose to show the username if no name
is entered.
Unfortunatly, I've come across a bit of code that I can't do this in,
which has got me thinking, I'm doing this all over the show, so there
must be
76 matches
Mail list logo