tterns = patterns('',
(r'^/?$', 'mis.organisation.views.index'),
)
I've written post-commit and post-checkout hook scripts for git
(though you could do the same easily with SVN) which simple change the
live = True to live = False or vice-versa as necessary.
Ho
retty sure that serving an incorrect sitemap.xml for a domain is
worse than having no sitemap at all. If I could change the SITE_ID
based on the request, then I imagine that this would work correctly,
but I'm not even sure if that is possible. Any id
g using Django
with Flash.
Best,
--Jon
On 8/14/07, SamFeltus <[EMAIL PROTECTED]> wrote:
>
> I don't understand why none of the major Python frameworks embrace
> Flash/Flex wholeheartedly, especially with innovations such as
> Papervision3D, which w
0.95, git, svn and lots of nice toys, along with Rails, Capistrano and
Mongrel if you're a fan of the /other/ framework.
Contact me off-list and we can talk about getting you into our testing
programme.
I hope this isn't considered a commercial posting :-)
--Jon
On 8/15/07, Matt
I'd not seen that page before - there are some much better solutions
on there than my method. I particularly like Michael Radziej's
solution which uses the ConfigParser and a .ini file.
--Jon
On 8/14/07, larsholm <[EMAIL PROTECTED]> wrote:
>
> On top of above approach
> Anyways, it's just an experiment. I'll stick the latest version up on
> the net tonight in case someone else finds it amusing...
I would be interested in seeing this. Could you make some of the
source available?
--Jon
>
> >
>
--~--~-~--~~-
ot defined
>
> Anyone any idea?
Could you paste the output of ./manage.py validate, and your models.py
file for each of your apps? It sounds like you're just missing an
import statement somewhere.
--Jon
--~--~-~--~~~---~--~~
You received this message bec
e how mature it is), and this [4]
snippet might help, too.
--Jon
[1] http://code.djangoproject.com/wiki/SchemaEvolution
[2] http://kered.org/blog/2007-07-19/django-schema-evolution/
[3] http://code.google.com/p/dmigrate/
[4] http://www.djangosnippets.org/snippets/167/
On 8/16/07, [EMAIL PRO
t is not a supported database backend, so you'd be on
your own, but if you're not worried about 'coding complexity', then
the addition of a DB2 backend would be something that I'm sure the
developers would gladly accept into Django trunk :-) Go for it!
--Jon
[1] http://www.d
r do you roll things
on your own?"
Person 2: "I use a Web framework."
Person 1: "So do I! Django or Rails?"
Person 2: "Django."
Person 1: "We have nothing in common! Die heretic scum!"
--Jon
--~--~-~--~~~---~--~~
You rece
The mod_python documentation will help you:
http://www.modpython.org/live/current/doc-html/installation.html
And there is a very helpful mod_python mailing list you can subscribe
to and ask any questions you may have:
http://modpython.org/pipermail/mod_python/
Good luck!
--Jon
On 9/7/07
Sure :-)
On 9/8/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
>
> Sure. Anyone to join me?
>
> El s�b, 08-09-2007 a las 07:32 -0500, James Bennett escribi�:
> > On 9/8/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
> > > Why hasn't anyone thought of something like capistrano for django. (Yeah
> > >
Damodhar,
It seems your problem isn't with Django, but with the configuration of
mod_python, and so I think your question would be better directed to
the mod_python mailing list[1], rather than here.
Good luck,
--Jon
[1] http://mailman.modpython.org/mailman/listinfo/mod_python
On 9/
dd to this as necessary.
--Jon
>
> --
> Angel
>
> 2007/9/8, Chris Hoeppner <[EMAIL PROTECTED]>:
> >
> > Hi there,
> >
> > This is just to make it a bit more obvious. I've decided to make up a
> > python application similar to Capistrano, for Djan
Brilliant :-)
On 9/10/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
>
> *lmaorof*
>
>
> El lun, 10-09-2007 a las 16:20 +, Gregg Pollack escribi�:
> > Django guys,
> >
> > I know a few of you must be familiar with the Ruby on Rails vs
> > ___ commercials http://www.railsenvy.com/tags/Comme
re
you so stuck with Java that a switch to Python would be impossible?
--Jon
--~--~-~--~~~---~--~~
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@google
to the clients
(I think you do it via Firefox profiles, so you would have a profile
on each client called 'Data Entry' or similar).
--Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django user
that is it hard for Django to
determine whether a < or a > is meant literally or as part of a tag,
but surely this is a very common usage pattern?
Any help would be much appreciated.
--Jon
--~--~-~--~~~---~--~~
You received this message because you are subs
- models.py
> - settings.py
> - etc...
>
>
> The problem is with "myapp2_tags.py". That file starts with this:
> from myapp2.models import MyModel
>
I've found that in a production environme
he project path included like with
apache kind of defeats that purpose. However, at least in the mean
time, as you had found, it works by calling that. I'll have to look and
see if there is a way to fix the templatetags loading to fix that, maybe
by overriding it somewhere.
...
--
Jon Wilson
/to/trunk/myapp2/templatetags')
but like you said earlier, it really should work by default. :p
--
Jon Wilson
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this grou
If it's for school project, and you just need to demo it, why not
host it on your own machine and use one of the free dynamic DNS
services and host it on the development machine?
--Jon
> > On Feb 17, 2008 3:12 PM, Flavio Curella <[EMAIL PROTECTED]> wrote:
&
I offer Django hosting (dedicated, not shared), via my company, Mampi Hosting.
http://mampi.co.uk/django/
Email me off-list if you're interested.
--Jon
On Tue, Mar 25, 2008 at 10:05 AM, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
>
> After being using VPS based hosting fo
Graham,
Thanks for your quick response. It was a SELinux problem. And i realize
that chmoding to 777 is a bad idea, at the time I was just trying to get it
to work.
Jon
On Wed, Apr 2, 2008 at 5:47 PM, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
>
>
>
> On Apr 3, 12:54 a
ks for your ideas in advance,
Jon.
--~--~-~--~~~---~--~~
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,
Check that the localizations got installed when you installed .96.
This was a problem I had... the installer didn't install the admin
templates or any of the localization files and I had to copy them in
manually.
Jon.
On Apr 20, 10:53 am, sinker <[EMAIL PROTECTED]> wrote:
> Swit
It seems that if there are no entries for a particular month, the
archive link to that month results in a 404.
http://www.djangoproject.com/weblog/2008/apr/ <--Works
http://www.djangoproject.com/weblog/2008/mar/ <--404
I tried to open a trac ticket on this, but it thinks I'm a spammer.
--~--~
Hi everyone,
I've got a problem and I don't even know where to start debugging
it... there seems to be a difference between the way my app is
behaving between my local environment and my deployment environment.
Hopefully you guys can give me some idea where to start.
I've written a small PR appl
Problem solved. Just need to copy in my local version of Django
On Jul 7, 6:29 pm, Jon Loyens <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I've got a problem and I don't even know where to start debugging
> it... there seems to be a difference between the way my
ng to me
because the uploaded file is just the first part of a processing chain
that's more interested in what's inside the file than it is with the
file itself.
I guess I'm just a little fuzzy on how manipulating files is supposed
to work doing it
ther objects in the document's relationship hierarchy. I think that
would take less time than implementing a custom model field.
Thanks!
Jon Brisibn
http://jbrisbin.com
On Jul 11, 2008, at 8:24 AM, Karen Tracey wrote:
> On Fri, Jul 11, 2008 at 9:08 AM, Jon Brisbin <[EMAIL PROTECTE
schemas and we use several
tables in different schemas. I don't get the impression that Django is
necessarily targeted at the large, enterprise environment, but I would
prefer to use Django over how we do it now (JBoss and SQL, of course :).
Thanks!
Jon Brisibn
http://jbrisbin.com
--~--~
Awesome! Thanks!
Jon Brisibn
http://jbrisbin.com
On Jul 11, 2008, at 8:37 AM, Malcolm Tredinnick wrote:
>
>
> On Fri, 2008-07-11 at 08:35 -0500, Jon Brisbin wrote:
>> I've considered a custom field. I just don't think I know Django well
>> enough yet to pull it
These changes sound like just what I need. Thanks for the explanations.
I update my SVN checkout almost every day, so I'll be on the lookout
for these changes...
Thanks!
Jon Brisibn
http://jbrisbin.com
On Jul 11, 2008, at 8:51 AM, Marty Alchin wrote:
>
> On Fri, Jul 11, 2008
Will this actually create the schema, though? Or will that have to be
done manually, with Django managing the tables inside the schemas I
create myself?
Thanks!
Jon Brisibn
http://jbrisbin.com
On Jul 11, 2008, at 9:01 AM, Scott Moonen wrote:
> Hi Jon. I believe you can use the Dja
Don't do that! I like living out here in Missouri, raising my chickens
and my garden, and staying the hell away from you crazy city folk! ;)
Thanks!
Jon Brisibn
http://jbrisbin.com
On Jul 11, 2008, at 2:36 PM, blis102 wrote:
> This is insane...
>
> If this actually happens Im
python manage.py shell
>>> from django.core.mail import mail_admins
>>> mail_admins('some subject', 'some body')
--
Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&quo
quot;.
In your tag you can catch the exception template.VariableDoesNotExist
that is raised by the template.resolve_variable() function. Something
like this:
try:
city = template.resolve_variable(variable_name, context)
except template.VariableDoesNotExi
erhaps? Thanks
for any help.
I'll continue to research of course..
-Jon
--~--~-~--~~~---~--~~
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@goo
ded a "see also #3790" comment to the new ticket Russ
created yesterday (#3915).
-Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djan
_src/
I have a django symlink in /usr/lib/python2.4/site-packages/ which
means that I shouldn't have had to add anything to PYTHONPATH because
that is there by default.
I did try these, but it makes sense they wouldn't work:
/usr/lib/python2.4/site-packages/django/
/usr/lib/django_src/dj
On Apr 4, 9:13 pm, "Jon Ballard" <[EMAIL PROTECTED]> wrote:
> Looks like maybe PyDev can't follow symbolic links in PYTHONPATH. For
> example I'm using SVN version and couldn't get django module code
> completion working until I added this to my PyDev PYT
n Pipe exception.
I'm happy to provide any additional details that might help.
Thanks in advance,
Jon
Keywords:
error:32 Broken Pipe, HttpResponseRedirect, firefox, bribe
* This may or may not happen...
--~--~-~--~~~---~--~~
You received this message be
responses.
The Django template code above is also available here:
http://dpaste.com/hold/10611/
On May 6, 7:18 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sun, 2007-05-06 at 19:09 -0700, Jon Lesser wrote:
> > Hello Djangites:
>
> > I am having a hell of a time
Are you going to create a wiki and repository for this project any
time soon? It would be a much more effective means of collaboration
than the mailing list.
--Jon
On 9/11/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
>
>
> > > I think db schema migration should wait
I'm not sure the name is really as important as working code.
--Jon
On 9/11/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
>
> I'll be creating a google code page as soon as we settle down on a name.
> I like Djangostrano. Sounds nice. But I'm not sure about anyon
Excellent - I look forward to the URL.
--Jon
On 9/11/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
>
> I know, I know. Know what? I'll setup a trac site on a domain of mine.
> We can always move it somewhere else.
>
> El mar, 11-09-2007 a las 14:02 +0100, Jon Atkinson
n: Reverse query name for field 'site' clashes with field
'Site.domain'. Add a related_name argument to the definition for
'site'.
Why is this? I don't see what the clash is. I apologise if I need this
explaining in simple language for a five-year-old, but somet
Thank you all for your help - I renamed the application.
Best regards,
--Jon
On 9/13/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
>
> On 9/12/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> >
> > On Thu, 2007-09-13 at 08:16 +0800, Russell Keith-Magee w
Is anything happening with this project, or has it died on the vine?
--Jon
On 9/13/07, rex <[EMAIL PROTECTED]> wrote:
>
> Hello.
>
> I'd be interested in helping with writing a Capistrano replacement for
> Django in python (not a port!).
> I'm relatively new
d or created a piece
of given data, so that when viewing that data I can display a nice
list: "Dave created this on 14/09/2007, Molly edited this on
17/09/2007" etc.
I noticed that the Django admin interface does something similar, so
could I expose this outside of /admin/?
Ma
There are some interesting points here, I look forward to the replies.
--Jon
On 10/1/07, Stefan Matthias Aust <[EMAIL PROTECTED]> wrote:
>
> Over the last few weeks, we used Django to successfully create
> prototype applications and it just worked great (well, large file
> u
yet, we're still working on it", along with a
relatively recent date, would at least let people know that the book
hasn't been forgotten about, and would hopefully alleviate a lot of
redundant mailing list messages.
--Jon
--~--~-~--~~~---~--~~
You receive
self.from, self.to,
self.message)
Of course, replace the User foreign keys with your user model. Then
you just create a view for the inbox (to is the currently logged in
user, read is False), outbox (from is the currently logged in user).
This is a very simple model, but it should get you going.
(*is* there a definition of
that word yet that anyone can agree on?) is a crutch often used by bad
programmers or bad managers to justify the increasing costs of
employing a large amount of monkeys at a large amount of typewriters.
--Jon
--~--~-~--~~~---~--~~
Please could you run the following command in your terminal, and paste
the output into your reply:
echo $PATH
--Jon
On 10/24/07, jnap <[EMAIL PROTECTED]> wrote:
>
> Don't know what RTFM means but sudo works.
>
> Now I get this error: -bash: django-admin.py: command
Hi,
> sudo ln -s pathtodjango/bin/django-admin.py /usr/bin/django-admin.py
... that was my next step :-)
The link should technically go in /usr/local/bin as Django
was build locally, and it's part of the distributors package set
:-
> The link should technically go in /usr/local/bin as Django
> was build locally, and it's part of the distributors package set
> :-)
Oops, that should read "it's NOT part of the distributors package set".
--Jon
--~--~-~--~~~---~--~--
ine as the site), you just need a very
basic grasp of sockets. It wouldn't be difficult to use some AJAX to
fetch the incoming messages and send the outgoing ones.
--Jon
On 10/24/07, Subramanyam <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Do we have any libraries in django to pr
I have no idea what is it supposed to represent, but I was quite
hypnotised by that for a while :-)
Where is the soundtrack from?
--Jon
On 10/29/07, SamFeltus <[EMAIL PROTECTED]> wrote:
>
> Funkiest SonomaSunshine page ever... A slim, trim 30ish MB page,
> leaves time for fet
Great - just as I downloaded 0.5 and got it working, I have to start over :-)
--Jon
On 10/31/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 10/31/07, Chris Moffitt <[EMAIL PROTECTED]> wrote:
> >
> > There have been some spurious routing issues but it looks f
;eggs', or the
token 'cp_test' passed to the template. I'm sure I'm doing something
stupid, but what?
--Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
Dive into Python is a good resource for learning Python:
http://www.diveintopython.org/
--Jon
On 11/12/07, sebey <[EMAIL PROTECTED]> wrote:
>
> hey I am new to python and all that and of course django so I know
> there is a django book up on the site but I was wondering if it wo
I simply interrogating a user object incorrectly, or have I
completely misunderstood how permissions work?
I'm expecting to be able to check if a user has permission to edit
data in a view just by doing something like
if u.has_perm("person.add_person"):
render_to_response("add_
modules do not
currently compile via MacPorts/Leopard.
Considering OSX now comes with svn binaries, and built-in sqlite3
python support, it's possible to be developing Django applications
very quickly with Leopard.
--Jon
On 11/21/07, jeffself <[EMAIL PROTECTED]> wrote:
>
> Which ve
> What's your app_label (usually the lowercase name of the app whose
> models.py contains your Person class")?
>
> The has_perm method should be called with .add_person
> and not with .add_person
Thank you for that - I can't believe I did
Upload to where? For what? There isn't really enough information in
this and the previous posts in this thread to get any sensible answer
:-)
--Jon
On 9/23/06, a <[EMAIL PROTECTED]> wrote:
> is there an easy way to upload opml files
> thanks
> Jon Atkinson wrote:
>
Hi all,
I've been looking for a copy of the Django cheat sheet (previous URL:
http://www.dobbes.com/media/pdfs/django_reference_sheet.pdf), but that
resource seems to have disappeared. Does anyone have a copy of this?
--Jon
--~--~-~--~~~---~--~~
You rec
anything, so I assume it's safe to start from scratch, but if I am
jumping the gun, please let me know.
--Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gro
qs/smart-questions.html
--Jon
On 9/30/06, a <[EMAIL PROTECTED]> wrote:
>
> Dear Jon Atkinson
> upload to some server probably mine or some hosted site, basically some
> simple fileuploads
> thanks
>
> Jon Atkinson wrote:
> > Upload to where? For what? There isn't
Thanks for that information, Ian - I was anticipating a day or so of
reasearch next week to package up my app, but hopefully I won't have
to now.
--Jon
On 10/2/06, ian <[EMAIL PROTECTED]> wrote:
>
> Baurzhan Ismagulov wrote:
> > Hello mamcxyz,
> >
> > On Fr
le to offer lifts to anyone in
Manchester/Warrington/Chester/Liverpool area.
--Jon
--~--~-~--~~~---~--~~
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@googleg
n the "official" releases."
I wasn't able to convince the core developers that this is important, so
I thought I'd solicit some opinions here:
Should newforms security fixes be posted to django-announce?
Thanks.
--
Jon
--~--~-~--~~~---~--~--
Thank you both for the replies.
Riklaunim: Have you chosen a license for miniblog? Is it okay for me
to make some changes and re-release it?
--Jon
> On 13/08/06, David Larlet <[EMAIL PROTECTED]> wrote:
> >
> > 2006/8/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
Hi,
I've noticed that my application changes case sensitivity in queries
depending on whether it is using MySQL or sqlite as the database
backend
The simplest test case is as follows:
My database contains a user record, in which the username is = "jon"
My urls.py is simply
,
line 38, in load_middleware
mw_instance = mw_class()
TypeError: 'module' object is not callable
If I hit reload, everything starts to work fine again, but it's
annoying to have to reload my browser twice after each change I make.
Any ideas?
--Jon
--~--~-~--~~---
Jeremy,
Thanks for the solution, I had a module in middleware_classes rather
than installed_apps.
--Jon
On 14/08/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 8/14/06, Jon Atkinson <[EMAIL PROTECTED]> wrote:
> > TypeError: 'module' object is no
asier to
understand) manner? I know that 'pythonic' has quite a nebulous
definition, but something seems 'unpythonic' about this code, which is
quite a contrast to the elegance of the rest of the django code I have
written. In particular, my need to pass the 'p
mall Linux springs to mind), so you might be able to get the disk
images down to an even smaller size.
--Jon
On 15/08/06, Michael <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> It is posssible to setup Qemu ( platform independent )
> http://fabrice.bellard.free.fr/qemu/
>
> and run
Michael,
On 15/08/06, Michael van der Westhuizen <[EMAIL PROTECTED]> wrote:
>
> Hi Jon,
>
> On 8/15/06, Jon Atkinson <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > One of the things which I love about django is the lack of code I have
> > to wr
'feedtype' is not defined
I'm guessing that this is being caused by the regular expression
evaluation not seeing that 'feedtype' exists - is there a way to solve
this or will I have to use a standard view for this particular action?
--Jon
--~--~-~--~~---
gt; Google groups site.
>
Does Google expose an API for searching Google Groups? It could be a
useful thing to have on the Django site...
--Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django user
oblem with this statement which I'm not seeing? It seems there is a
problem with variable from the url expression being passed to the view
function - is this a common problem?
--Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
>
> I think it's worth raising a feature request in the Django Trac for
> this functionality. I can imagine that this would be very useful to a
> lot of people in the future.
>
> Michael
Done!
http://code.djangoproject
n.com/nightly/en/svn.intro.quickstart.html
--Jon
--~--~-~--~~~---~--~~
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
after_ I submitted the ticket - please do
close it if necessary.
Just out of interest, what do you think the most elegant way to solve
this problem would be? Is it to write my own view and deal with the
pagination myself?
Many thanks to all who replied to this thread.
--Jon
--~--~-~--~--
/help/), so you might want to look at that to
see how it is done.
--Jon
On 17/08/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> i have to do a website for a small business and need a simple cms for
> that. i looked into typo3 for a few days but it seems to be
point) - am I approaching this in the
correct way, and if so what do I need to import/read from settings.py
so that a stand-alone script can interact with my models?
Thanks,
--Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Thank you both. I had it working (though it was far from elegant), so
that other thread will be very helpful.
--Jon
On 19/08/06, Bryan Chow <[EMAIL PROTECTED]> wrote:
>
> See:
> http://groups.google.com/group/django-users/browse_thread/thread/51827a2a40e5262e
>
> Bryan
> That brings to mind the need for a Django-forge-like place where apps
> could get uploaded, categorized, and rated; Plone and Joomla have this,
> for instance. But that's another thread...
>
One worth starting, IMHO :-)
--Jon
--~--~-~--~~~---
mport XMLFile
opml = XMLFile(path="/path/to/file.opml")
for person in x.root.body.outline:
print "Name: " + str(person.text)
print "Feed: " + str(person.xmlUrl)
--Jon
On 26/08/06, a <[EMAIL PROTECTED]> wrote:
>
> feedjack is a lot of s
/tree/browse_frm/month/2006-01/8769f73b6963a674?rnum=21&_done=%2Fgroup%2Fdjango-developers%2Fbrowse_frm%2Fmonth%2F2006-01%3F#doc_b37d705150060fd7
Any hints would be much appreciated.
--Jon
--~--~-~--~~~---~--~~
You received this message because you are subscr
b doesn't seem to pick up the existence of the file.
I have no doubt it's in the wrong place, but my question is which is
the correct place? :-)
Thanks,
--Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
For a quick update on Python's data structures, I always find Dive
Into Python by Mark Pilgrim to be a good read.
The book is FDL, and you can read it online here:
http://diveintopython.org/toc/index.html
--Jon
On 30/08/06, Pete Abilla <[EMAIL PROTECTED]> wrote:
> Group:
>
>
nce of TDDing a Django app so I can get hands on experience
and ask questions about the best way to approach this.
I'm offering $69 for one hour. Is anyone interested?
If so, please email me directly (jon at accoladedev dot co dot uk). I
don't need to see a whole CV, but do give me an over
rly.
I opened the Python shell with *./manage.py shell *and* *looked at the *
Create.__mro__* field to make check the method resolution order, and
everything looked in order. Is something wrong here?
Thanks,
Jon
-- Here's my class
class Create(CreateView):
template_name='forms/aja
Yes, when I put a print statement in my settings file, it prints out twice
everytime I start the server. The file has to be imported in multiple
places, and so it gets executed multiple times. I'm not sure what your
error is, but it doesn't seem to be related to the multiple imports.
On Wednesd
Ah. I believe, the Amount.job_no (i.e. the foreign key) should not be
filled with the *id* of the Client object, but with the actual client *
object*, that is,
job_no = Client.objects.get(cd['job_no'])
That matches the abstract relationship of, "This Client corresponds to this
Amount.", then Dj
Check out "How to handle static files" from this page:
https://docs.djangoproject.com/en/1.4/#the-development-process. Also note
that the links on this page can help answer a lot of the basic questions
about Django for you.
Django has a built-in app to handle static files, and cases such as thi
That last part refers to the way *Python* handles arguments and the like.
Whenever you have a complex object, such as an array, Python does not make
a new copy of the object each time the view function is called. Instead, it
passes a reference to the object, which means that if you change that
101 - 200 of 317 matches
Mail list logo