Given the following models:
class Transaction(models.Model):
amount = models.IntegerField()
date = models.DateField()
terms = models.ForeignKey('Terms')
class Terms(models.Model):
name = models.CharField(max_length=100)
timezone = models.CharField(max_length=50)
I need to annotate
I know this is question is old but I was looking for the solution myself
and couldn't find an quick answer so I ended up just doing it myself. My
solution is here https://djangosnippets.org/snippets/10560/
--
You received this message because you are subscribed to the Google Groups
"Django
ng command (substitute
'usern...@your-server.com' with the username you use for your server):
UPDATE auth_user SET is_superuser='1' where username = 'username@your-
server.com';
I hope this helps anyone that has the same issue. Feel free to contact
me with any questions at dtdan...@indiana.edu
Chee
ng command (substitute '
usern...@your-server.com' with the username you use for your server):
*UPDATE auth_user SET is_superuser='1' where username = '
usern...@your-server.com';*
I hope this helps anyone that has the same issue. Feel free to contact me
with any questions at dtdan...@indiana.edu
Chee
=7a12438967014133
Any help will be extremely appreciated :)
Thank you,
Dustin
--
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
it
worked!!
This makes much more sense now, in terms of how template inheritance
works...
Thanks,
Dustin
On Feb 9, 11:14 am, creecode <creec...@gmail.com> wrote:
> Hello Dustin,
>
> I suspect your are confused about how inheritance works.
>
> On Feb 9, 7:43 am, Dusti
to figure this out, reading stuff
online, and nothing so far. Any help will be very much appreciated.
Thank you,
Dustin
P.S. I know my files might seemed to be named funny, but that's
because I wasn't sure if the actual filename of the parent and/or
child matter to the template system. Any advice
I haven't used Rackspace, but i would assume (hope) they support
remote mounting.
I would use sshfs to mount the Rackspace server on your local drive
(on the Django server) and reference that in MEDIA_ROOT
e.g.
sshfs usern...@my.rackspace.domain:/path/to/rackspace/home/dir /mnt/
rackspace
I am building an interface that consists of several fields, mostly
drop down boxes (menus). Depending on the menu item (option) selected
in each menu, however, there may be a unique set of "properties" that
the user should be presented with. e.g. "Option A may have the
customizable properties
Looks like you're not implementing the done() method required in
FormWizard sub-classes.
http://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/#creating-a-formwizard-class
On Aug 14, 11:29 am, Adam Olsen wrote:
> I've got a FormWizard with two forms in it.
Hi,
It didn't seem like any of the current Django file upload apps provided exactly
the functionality I needed, so I hacked my own. If the community is
interested, I can try to polish it a bit and contribute it.
We deal with large uploads - up to hundreds of megabytes - so I wanted the
nstall/
that the previous note about Sarge's mod_python not being sufficient is
wrong? Presumably it should come from someone who knows first-hand.
Dustin
pgp4q3VN7qY9L.pgp
Description: PGP signature
ut django from svn, and follow the
> instructions on the tutorial.
OK, well, that's reassuring, and maybe indicates that that comment is
wrong and Sarge is likely to work too.
Dustin
pgpexRcom6bJ0.pgp
Description: PGP signature
.
Dustin
pgpZNjkLIvwIb.pgp
Description: PGP signature
14 matches
Mail list logo