I figured it out after going through the django source.. gotta create
a subclass of MultiValueField and MultiWidget and then use em
together.
By the way.. django kicks is AWESOME. the best piece of code i have
seen..
The django developers kick ASS!!
On Jun 23, 9:23 pm, Adi <[EMAIL PROTECTED]>
Hi,
I have a few models with "edit_inline=models.STACKED". How can I control
the field order of those models in the administration form? Even with
class Admin:
fields = ()
it won't work. Plus, the above will expose those models individually in
the administration form.
Can someone
thanks rishabh,
i tried that -- it doesnt display the 'selected' cooking method for
the recipe. shows the value corresponding to empty_label.
thnx,
-p
On Jun 24, 12:23 am, "Rishabh Manocha" <[EMAIL PROTECTED]> wrote:
> You're probably looking
>
Hi,
as far as I know you have to set the correct MIME-type in your
subject. This Wikipedia article should be a good start:
http://en.wikipedia.org/wiki/MIME
On Tue, Jun 24, 2008 at 3:51 AM, Greg <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I have the following line in my code:
>
> message = "This is
You're probably looking for
http://www.djangoproject.com/documentation/newforms/#initial
Best,
Rishabh
On Tue, Jun 24, 2008 at 9:04 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I probably need to be more specific..
>
> here's my model:
>
> class Recipe(modesl.Model):
>
> recipetitle
Ok, so I need a bit more direction here. I've got newforms-admin setup and
working as far as displaying the various FK relationships a user has on
his/her page. However, I'm still not able to figure out how to display FK
relationships in the list_filter page. Here is my setup (the UserTechSkill
On Mon, Jun 23, 2008 at 7:38 PM, Nagu <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am very new to programming in general. I start to teach myself some
> python and django stuff.
>
> I followed the instructions in the chapter 3 of the book Professional
> Python Frameworks by Moore, Budd, and Wright.
I probably need to be more specific..
here's my model:
class Recipe(modesl.Model):
recipetitle = models.CharField()
cooking_method = models.ForeignKey(CookingMethod)
class CookingMethod(models.Model):
cookmethodname = models.CharField()
forms.py
class RecipeForm(forms.Form):
On Mon, Jun 23, 2008 at 4:01 PM, Paul Winkler <[EMAIL PROTECTED]> wrote:
> Nobody cares?
> To me this seems like a significant bug in contrib.admin ... okay I'm
> filing it as such:
> http://code.djangoproject.com/ticket/7528
>
It's a leap from no response to nobody cares. Remember people on
What is the best way of of implementing a form field that is comprised
of multiple text fields.. lets say.. i want to capture the time that
an athlete took to run a marathon. I'd want the user to be able to
enter the hour, minute, seconds and milliseconds in separate fields..
Other ideas of
Thanks everyone.
On Jun 23, 1:43 pm, phillc <[EMAIL PROTECTED]> wrote:
> class FormFoo(ModelForm):
> def __init__(self, obj1, *args, **kwargs):
> super(FormFoo, self).__init__(*args, **kwargs)
> self.object1 = obj1
> def clean(self):
> # use self.object1 here
>
> On Jun 23, 12:23
Hi Djangers,
This is my first post and sorry by my terrible english.
Well,
My customer needs a page with this layout:
[div id="toolbar"]
NEW - SAVE - DELETE - SEARCH - <<(previous) - >>(next) -
PRINT ( elements)
[/div]
[div id="content"]
The
Hello,
I have the following line in my code:
message = "This is my email" + a.name + "Here is the link http://mysite.com>Click Here"
send_mail('My Subject', message, '[EMAIL PROTECTED]', ['[EMAIL PROTECTED]'],
fail_silently=False)
Whenever I receive this email it's not a linkit's just
I'm using the syndication framework to generate feeds for my blogging
app, and everything is working fine so far. I have multiple blogs
each with their own feeds, but I would like to add a combined feed.
The documentation seems to mention that this is possible, but it
doesn't provide an example
I am doing this in newforms-admin. As far as I cannot tell, you cannot
do this using the default root site, because the inline is diclared in
the parent model rather than the child model. The User creates and
registers with the default admin site on it's own, so you have to
declare your own
Russell Keith-Magee wrote:
> Apologies for the misdirection.
So perhaps a feature request is needed then? A simple way to hijack the
response to have full control over said response would be sufficient. We
certainly can't assume that putting all responses through the entire
Django stack is always
Hi,
I am very new to programming in general. I start to teach myself some
python and django stuff.
I followed the instructions in the chapter 3 of the book Professional
Python Frameworks by Moore, Budd, and Wright. Just to give some idea,
it is a simple pet owner site, select the owner and it
On Mon, Jun 23, 2008 at 1:51 PM, Peter Melvyn <[EMAIL PROTECTED]> wrote:
>
> On 6/23/08, Emil Styrke <[EMAIL PROTECTED]> wrote:
>
>> Having a GET request delete records is usually a bad idea - see for example
>> http://www.w3.org/2001/tag/doc/whenToUseGet.html
>
> Yes, this is a recommendation,
On Tue, Jun 24, 2008 at 6:46 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Russell, #2070 refers to uploads, not downloads.
Bah! You are correct.
That's what happens when I try to answer email before my morning coffee. :-)
Apologies for the misdirection.
Russ %-)
Russell, #2070 refers to uploads, not downloads.
On Jun 23, 5:38 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Tue, Jun 24, 2008 at 1:42 AM, msoulier <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I saw some posts on this but not many useful responses. Apologies if
> > there's already
On Tue, Jun 24, 2008 at 1:42 AM, msoulier <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I saw some posts on this but not many useful responses. Apologies if
> there's already a known solution.
>
> For a web-based backup, I need to send a large file, basically the
> output of a tar process, to the
MickaelC wrote:
> It is not really a problem
> It's for a multi user app. For each new users, i create a serie table
> or all data in the same table?
> If it's easy to create table on-the-fly when a new user registers, i
> prefere.
>
> but I do not see how
If you must, that is what raw SQL is
I apologize. The problem is solved.
On Jun 23, 3:09 pm, Adam Woodbeck <[EMAIL PROTECTED]> wrote:
> I'm in the process of setting up a sitemap for our website. I've
> successfully used GenericSitemap to add our blog posts to the
> sitemap. However, I'm running into problems getting
I just tried this out from the shell - for me __class__ returns the name
of the class, not the parent class. If you want just the name and not
all the other junk that goes with it, you can use obj.__class__.__name__.
-Dan
mwebs wrote:
> Hi,
>
> thanks for your answer but I already tried this
Nobody cares?
To me this seems like a significant bug in contrib.admin ... okay I'm
filing it as such:
http://code.djangoproject.com/ticket/7528
- PW
On Jun 17, 2:08 pm, Paul Winkler <[EMAIL PROTECTED]> wrote:
> Bear with me, I'm a Django novice, still reading docs...
>
> I'm trying to build
Hi,
thanks for your answer but I already tried this and it returns
something like this:
But I only need the Name of the class. And it seems that __class__
returns the parent class of my model...
is there any other way?
--~--~-~--~~~---~--~~
You received this
You probably want obj.__class__
On Mon, June 23, 2008 4:47 pm, mwebs wrote:
>
> I have an object that represents a modelClass.
>
> when I do print(obj) then I obviously get something like this: 'package.ModelName'>
>
> Is there a way to retrieve only the name of the model?
>
> Thanks, Toni
> >
I have an object that represents a modelClass.
when I do print(obj) then I obviously get something like this:
Is there a way to retrieve only the name of the model?
Thanks, Toni
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I have an object that represents a modelClass.
when I do print(obj) then I obviously get something like this:
Is there a way to retrieve only the name of the model?
Thanks, Toni
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I'm in the process of setting up a sitemap for our website. I've
successfully used GenericSitemap to add our blog posts to the
sitemap. However, I'm running into problems getting FlatPageSitemap
to work correctly. I keep getting the error, "'Site' object has no
attribute 'flatpage_set'."
I
I am a bit confused, are you looking for this:
class IntegerRelation(models.Model):
content = models.IntegerField()
class A(models.Model):
integers = models.ManyToManyField(IntegerRelation)
-richard
On 6/22/08, Xan <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Suposing you want a model A
that is an extremely complex problem for such small problem...
if you are worried about caching, just append a number to the file or
add a date to it.
On Jun 22, 6:48 pm, alex <[EMAIL PROTECTED]> wrote:
> I already have {{ MEDIA_URL }} set in html, css, and js templates and
> that's working
http://httpd.apache.org/docs/2.0/vhosts/examples.html
On Jun 22, 7:34 pm, "Brian Ritchie" <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> My first post to this mailing list. I didn't see this in the archive. It
> this was covered before, sorry about that.
>
> I have a webserver (Ubuntu, Apache2)
how about a one to many?
On Jun 22, 8:03 am, Xan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Suposing you want a model A with several and indetermined number of
> integer fields. Is there any possibility of defining A without
> creating a Integer class and then add ManyToManyField(Integer) in
> class
OK. I've seen both those sections --- so Django doesn't expect a
foreign key to be an integer? For some reason, I thought Django would
expect an integer even if you used the to_field argument when you used
foreign key.
On Jun 23, 1:44 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> skins96
On 6/23/08, Emil Styrke <[EMAIL PROTECTED]> wrote:
> Having a GET request delete records is usually a bad idea - see for example
> http://www.w3.org/2001/tag/doc/whenToUseGet.html
Yes, this is a recommendation, not a dogma. IMHO GET method is
suitable for dense tables with dozens of operations.
2008/6/23, Karen Tracey <[EMAIL PROTECTED]>:
> newforms-admin WILL be merged before Django 1.0, a recent discussion on the
> developer's list showed broad consensus that 1.0 without newforms-admin
> doesn't make any sense.
>
> I encourage anyone having this problem to try the newforms-admin
http://www.djangoproject.com/documentation/url_dispatch/
look at the regular expressions used in the examples, and the section
"named groups"
On Jun 23, 9:22 am, sebastian stephenson <[EMAIL PROTECTED]> wrote:
> ok so I have in my data base a colium of rss feeds and I am parseing
> them via
class FormFoo(ModelForm):
def __init__(self, obj1, *args, **kwargs):
super(FormFoo, self).__init__(*args, **kwargs)
self.object1 = obj1
def clean(self):
# use self.object1 here
On Jun 23, 12:23 pm, Adi <[EMAIL PROTECTED]> wrote:
> do you mean something like this.
>
> class
Try this http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser
On Jun 17, 6:02 am, saxon75 <[EMAIL PROTECTED]> wrote:
> I'm working on a CMS application and had a question about
> automatically setting certain model fields.
>
> Suppose I have the following model (this is simplified from
new_obj = form.save()
new_objects_id = new_obj.id
hth,
-richard
On 6/23/08, Calvin Dodge <[EMAIL PROTECTED]> wrote:
>
>
> I need to get the id of a record after saving it with form.save(). I'm
> not seeing this described in the docs, and haven't dredged anything up
> by searching this group.
>
So,
I found the solution for the problem by myslef.
dispatcher.connect(makeSeoble, signal=signals.post_save,
sender=model)
... my makeSeoble method needs to look like this:
def makeSeoble(sender)
:-)
--~--~-~--~~~---~--~~
You received this message because you
I need to get the id of a record after saving it with form.save(). I'm
not seeing this described in the docs, and haven't dredged anything up
by searching this group.
Is it possible to get the id of the record from a just-saved form? Or
do I have to search for the record, and hope I don't get
2008/6/23 Peter Melvyn <[EMAIL PROTECTED]>:
>
> > I have a list of records, and I'd like the user to be able to delete
> > any given record by pressing a button.
>
> IMHO there are two basic solutions:
>
> 1. each record has column with hyperlink to delete action (ID is part of
> URL)
> You
Hello,
I am trying soething like this:
dispatcher.connect(makeSeoble(model), signal=signals.post_save,
sender=model)
but I get an exception: cannot create weak reference to 'NoneType'
object
so it seems that you cannot pass a param to your "callback function"
the classical way.
when I am
skins96 wrote:
> Hi,
>
> I'm a noob who is struggling with understanding how Django might work
> with legacy data.
>
> It seems Django's foreign keys rely on having an integer in both the
> parent and child table. However, we get a lot of data where what's
> needed is a join based on
Hello,
I saw some posts on this but not many useful responses. Apologies if
there's already a known solution.
For a web-based backup, I need to send a large file, basically the
output of a tar process, to the browser. We have legacy Perl code
doing this now but I'd like to use Django. Is there
Tons of good karma to you both :)
really appreciate it.. Thanks!
On Jun 23, 1:02 am, Tye <[EMAIL PROTECTED]> wrote:
> I knew I'd write a long, pseudo-detailed post, just to turn around and
> find something so very simple.
>
> I knew it!
>
> Thanks Matthias :-)
Hi,
as soon as i understood django admin funcionalities, i started
searching the web for pre-made templates and couldn't find anything.
It doesn't seem a bad idea, what do you think?
--
José Moreira
Vila Nova de Gaia
Portugal
--~--~-~--~~~---~--~~
You
On Jun 16, 9:46 pm, "Ronny Haryanto" <[EMAIL PROTECTED]> wrote:
> Another way (which I personally prefer because it's more explicit and
> clear), is to do it in the view. Don't show the author field in the
> form, because we want to automatically add it before saving.
>
> def add_item(request):
>
Hi
sure i will,
thanks ;)
2008/6/23 Dan <[EMAIL PROTECTED]>:
>
> There's also ExtJS that has great client-side validation:
> http://extjs.com/deploy/dev/examples/form/dynamic.html
>
> Ext has a a few built-in validations (must not be empty, must be a
> valid e-mail, must be in a range, etc.)
Hi,
I'm a noob who is struggling with understanding how Django might work
with legacy data.
It seems Django's foreign keys rely on having an integer in both the
parent and child table. However, we get a lot of data where what's
needed is a join based on characters. For instance, "wht" in the
There's also ExtJS that has great client-side validation:
http://extjs.com/deploy/dev/examples/form/dynamic.html
Ext has a a few built-in validations (must not be empty, must be a
valid e-mail, must be in a range, etc.) but if what you need isn't
there, you just create a function that returns a
> I have a list of records, and I'd like the user to be able to delete
> any given record by pressing a button.
IMHO there are two basic solutions:
1. each record has column with hyperlink to delete action (ID is part of URL)
You can use plain text or image mapped links
2. each record has
do you mean something like this.
class FormFoo(ModelForm):
def __init__(self,*args,**kwargs):
self.object1 = kwargs.pop('obj1')
def clean(self):
# use the self.object1 here
On Jun 23, 10:48 am, Alex Koshelev <[EMAIL PROTECTED]>
Hi,
yes while seaching the mailing list i found django-search. More bellow.
2008/6/23 bruno desthuilliers <[EMAIL PROTECTED]>:
>
> On 23 juin, 17:26, "José Moreira" <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> what solutions are you using to provide site search by keywords?
>
> depends on your
Pass it through form custom constructor
On Jun 23, 7:12 pm, Adi <[EMAIL PROTECTED]> wrote:
> How do you pass model objects that you may need access to when
> implementing the clean() or clean_ methods?
>
> In other words, how can a form access model objects that it may need
> access to perform
Kenneth McDonald wrote:
> I have a list of records, and I'd like the user to be able to delete
> any given record by pressing a button. My current strategy is to have
> each record in its own form (so that pressing the submit button for
> that form would delete the record), and have each
Jamie Pittock wrote:
> Thank you Gordon (and Joshua) that's really useful.
>
> I think I'll use the site-packages folder then. After doing what you
> said I've noticed I seem to have multiple installs of Python on my
> machine (OSX).
>
> /usr/lib/python2.5/
> /Library/Python/2.5/
>
No, that does help. This is all making sense now. Looking around in
the different site-packages folders I can start seeing where things
have gone wrong. I was running 'sudo python setup.py install' but it
didn't appear to be doing anything. It turns out they were just being
installed in a
On 23 juin, 17:26, "José Moreira" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> what solutions are you using to provide site search by keywords?
depends on your definition of "search by keywords"...
> as i can see thee are 2 methods
>
> a) periodic website index through custom bot and a lucene like
chefsmart wrote:
> I'm using django svn trunk. I have created several custom forms that
> show up in the admin section of the website. However, these forms look
> nothing like the admin forms. I tried extending change_form.html
> template - unsuccessfully.
>
> Does anyone know what my template
Hello,
what solutions are you using to provide site search by keywords?
as i can see thee are 2 methods
a) periodic website index through custom bot and a lucene like tool
b) implement a search in every 'module' of the website and gather the
results of each
any thoughts?
thanks,
--
José
How do you pass model objects that you may need access to when
implementing the clean() or clean_ methods?
In other words, how can a form access model objects that it may need
access to perform its validation?
--~--~-~--~~~---~--~~
You received this message
to use memcache, you need to set the IP:port of the machine used in
settings.py
now I use two memcache servers IP1:12000, IP2:12000 and would like to know
if there is a way to add another memcache server without restarting django
--~--~-~--~~~---~--~~
You received
Hi Emily,
>
> > Since you need that kind of flexibility in which parameters
> > and combinations you can have, consider using query string
> > parameters instead of url path parameters.
>
> This is what I would normally have done, but I got the impression that
> this kinda went again what django
On Mon, Jun 23, 2008 at 6:40 AM, Deniz Dogan <[EMAIL PROTECTED]> wrote:
> From what I've heard it will be easier to do what we all seem to want
> in the newforms-admin branch, which should be merged by the time of
> the release of Django 1.0.
>
newforms-admin WILL be merged before Django 1.0, a
It may very well make a difference if you're using python2.4 and you
install packages in a python2.5 site-packages directory! I remember
reading somewhere that that was one of the issues of doing a Leopard
upgrade, versus wiping the drive and doing a full install. I did the
latter, and I
Thank you Gordon (and Joshua) that's really useful.
I think I'll use the site-packages folder then. After doing what you
said I've noticed I seem to have multiple installs of Python on my
machine (OSX).
/usr/lib/python2.5/
/Library/Python/2.5/
/opt/local/lib/python2.5/
Jamie the command you quoted "python setup.py install" -- on my system
I have to run it as root or else do "sudo python setup.py install" --
will copy the files for that module to the appropriate location.
If the module you are interested in is in pure Python, with no c-code,
you can often just
ok so I have in my data base a colium of rss feeds and I am parseing
them via feedparser and I am having a touble getting one feed to have
like "local/show/1" and another feed have "local/show/2" but how do
you do this here is the urls.py in its current state:
from
hello,
i understand you point. I don't use Dramweaver, i have used Spry due
to the html widgets with client-side form validation and was
considering using the xml datasets for ajax.
I asked this question because i used it with Smarty templates and has
to develop workarounds for the brackets
Depends on your setup, I store my extras (MySQLdb, Django, mod_python/
wsgi installers, Imaging, etc.) in /opt/. It's usually empty on most
machines. Some like to use a folder within their user folder,
especially for multi user computers.
It's really up to you.
On Jun 23, 9:08 am, Jamie Pittock
I would recommend using another Javascript framework like jQuery or
Mootools.
SPRY is very invasive and messy. It requires a ton of files that may
be a little tough to get your head around even for simple
applications. These files could prove to be a scary situation when
combined with django
Hi all - this may well be a very basic question but I'm gonna ask it
anyway as, everyone needs to learn, and I can't find the answer
anywhere else. It's probably more related to Python than Django
but...
If you're installing additional Python libraries such as Imaging or
Markdown, where are
Hello,
anyone has tried using Adobe Spry on Django templates? Because spry
uses brackets in the widgets and ajax html templating...
thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Thanks Johan, I will check that out :)
On Jun 21, 8:06 am, johan de taeye <[EMAIL PROTECTED]> wrote:
> For my frePPle project, I have been using py2exe to package a
> standalone django application.
>
> See here for my manage.py
>
Disregard this thread. Fixed it. Basically at first I was thinking
"check so that X = True for all X", but instead I now check "check so
that no X = False for all X".
On Jun 23, 12:50 pm, Deniz Dogan <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I have a model Students and another one called Course.
I've wondered about this myself.
You could use an 'all' placeholder so that there was always three
levels in the url:
example.com/shop/all/all/Acme
example.com/shop/all/250-500/all
example.com/shop/widgets/all/all
or your own separator and a flatter directory structure:
Julian,
This is a PIL issue that appears to be biting a lot of people.
Googling for "PIL PNG problem" will help, but this link might be a
good starting point.
Best,
Will
On Jun 23, 2008, at 6:02 PM, jurian wrote:
>
> I am currently getting an error when I attempt to upload a PNG image
>
Hello.
I have a model Students and another one called Course. The basic
structure is as follows:
class Student(models.Model):
name = models.CharField()
courses = models.ManyToManyField(Course)
class Course(models.Model):
name = models.CharField()
Now I want to have a query set of all
>From what I've heard it will be easier to do what we all seem to want
in the newforms-admin branch, which should be merged by the time of
the release of Django 1.0.
On Jun 21, 2:49 am, ristretto <[EMAIL PROTECTED]> wrote:
> You'd think, indeed. I'm wondering if there's a work around or best
>
> -Original Message-
> From: django-users@googlegroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Dhawan
> Sent: 20 June 2008 19:06
> To: Django users
> Subject: Re: Url tag issues
>
>
> Hi Emily,
>
>
>
> > > >
> > > > The problems I am hitting are mainly to do with the
Absolutely, that was the first thing I checked ;-)
pieter
2008/6/23 TiNo <[EMAIL PROTECTED]>:
>
>
>> Looks like your browser isn't configured to accept cookies. Please
>> enable cookies, reload this page, and try again.
>>
>
> Well, are cookies enabled in Safari? (Prefs > Security > accept
>
I am currently getting an error when I attempt to upload a PNG image
from the admin side.
Error: Upload a valid image. The file you uploaded was either not an
image or a corrupted image.
There is nothing wrong with the image, and I've made sure that my PIL
is setup correctly.
On 6/23/08, Tye <[EMAIL PROTECTED]> wrote:
> When the user hits submit, I want the SSN to be encrypted, stored in a
> database (encrypted), read from a database (encrypted) by a secure,
> authorized & authenticated connection, and decrypted somewhere along
> the end of the line for
> Looks like your browser isn't configured to accept cookies. Please
> enable cookies, reload this page, and try again.
>
Well, are cookies enabled in Safari? (Prefs > Security > accept
cookies)...
--~--~-~--~~~---~--~~
You received this message because you are
On 23 juin, 08:50, MongooseNX <[EMAIL PROTECTED]> wrote:
> I'm very new to python and have what I hope is a simple question for
> regular users of python.
>
> scenario:
>
> I use python scripting with ESRI software (ArcMap). Python 2.4 is
> installed when ArcMap is installed and using
Here is how you can modify the form at runtime. You can write
a constructor. In this example, I need the request for validation.
{{{
class TestForm(forms.ModelForm):
class Meta:
model=Filter_Test
def __init__(self, request, *args, **kwargs):
super(TestForm,
I knew I'd write a long, pseudo-detailed post, just to turn around and
find something so very simple.
I knew it!
Thanks Matthias :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
On Mon, 2008-06-23 at 00:45 -0700, Tye wrote:
> [...]
>
> def message_send(request)
> # primary message_send logic goes here
> # . . .
>
> if success:
> return HttpResponseRedirect('/message/success/')
> else:
> if failed_this_way:
> return
Peter said:
"""
I don't know what kind of application you implement and how sensitive
data actually are
"""
Let sensitive data = social security number, credit card info
When the user hits submit, I want the SSN to be encrypted, stored in a
database (encrypted), read from a database (encrypted)
On 6/23/08, Tye <[EMAIL PROTECTED]> wrote:
> Say - for the sake of example - I'm accepting highly sensitive
> financial data through a form over SSL.
>
> Staff members need to retrieve that information at a later time.
>
> Meanwhile, I want that data to be encrypted while it's sitting in the
@shravster –
In urls.py, have something like this:
# urls.py
from django.conf.urls.defaults import *
from mysite import views as root
urlpatterns = patterns('',
(r'^message/send/$',
root.message_send),
(r'^message/failed/(?P)/$',
You're trying to import a library, and it's coming up with an error,
right?
I'm thinking it's just not listed in your Python path (for ver 2.5),
so that version of Python has no idea where to find it unless you do
an include('/absolute/path').
So – here's my suggested solution:
Append the
Sometimes I want to leverage a Generic List or Detail view (as well as
their update/create counterparts) but have a small customization like
a special widget I'd like used in the display. This leads me to a few
questions:
1. Do the generic views utilize the new forms module?
2. Is there any way
I'm very new to python and have what I hope is a simple question for
regular users of python.
scenario:
I use python scripting with ESRI software (ArcMap). Python 2.4 is
installed when ArcMap is installed and using PythonWin I can access
the ArcMap Geoprocessing libraries from ESRI. For me it
Hi
I am creating my first serious project with Django and looking for
ways to play around with the urls. For instance lets say a user was
sending a message to another user from (current url on the browser) "/
send_message/" and I want to redirect the user on posting the message
to
98 matches
Mail list logo