racked down the slugify filter to django/template/
defaultfilters.py, but can't get my head round the regular expressions
required to replace "/" with "-".
Alternatively, instead of changing the core Django install, can I
"extend" slugify in my own
I'm exploring whether or not to use Django for redesigned website and
the only thing I haven't really been able to find out is whether there
is an existing, portable, robust solution for advertising management
on the site. This would need to control what advertising goes where,
track its performan
o rebuilt mod_python.
Any ideas on what could be going on?
Thanks.
Nick
--~--~-~--~~~---~--~~
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
roject.com/wiki/BackwardsIncompatibleChanges#ChangedthewayURLpathsaredetermined
Which maybe need to change given that the rest of the config is plain-
vanilla-as-per-the-tutorial?
Regards,
Nick
On Aug 21, 6:08 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2008-08-21 at 10:02 -0700, James
w this would be
used within the save method to prevent the record from saving if the
image size were incorrect.
Any help would be very much appreciated :)
Thanks,
Nick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
Anybody? I can't find a simple example of this anywhere so any help
would be great :)
Nick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
with the help_text, specifically the
£ symbol.
Can anybody shed some light on how I can fix this, presumably I need
to declare an encoding, or there is an encoding mismatch going on
somewhere?
Thanks,
Nick
--~--~-~--~~~---~--~~
You received this message because you
On Mar 11, 6:10 pm, Eric Walstad wrote:
>
> Now you can have your pony AND a Django
> Critter:http://starship.python.net/~ewalstad/django_critter.html
>
Excellent! I think I prefer the Critter to the Pony...
Nick
--~--~-~--~~~---~--~~
You r
rror.
I'd like to do this so all uploaded files are contained outside of
SVN's version control.
Is this possible? I've tried "chown"ing my uploads directory to
apache:apache but this didn't help. Any ideas?
Thanks,
Nick
--~--~-~--~~~---~
I'm looking to write an e-commerce page with very minimal admin
functionality, but which also has an extended admin that would
facilitate the rest of the basic admin tasks. For example, the basic
admin could add products but shouldn't have to know any html or meta-
language to do so. They just i
I am a django newbie.
The first example I tried from django's tutorial "mysite", ran python
manage.py runserver.
Server runs with no errors but my web browser (firefox) get "Firefox
offline mode error" and not django 404 errors.
I tried different localhost ports, but same error. My browser doesn't
Right after I click "post" to that problem, I realized that "Work
Offline" was checked.
It works now. Thank you Karen for prompt reply, I appreciate it. I am
sure there are more
to come :-)
On Mar 28, 4:50 pm, Karen Tracey wrote:
> On Sat, Mar 28, 2009 at 5:44 PM, ni
Has anyone bought and read "Django 1.0 Template Development" by Scott
Newman? I'd like to know your opinion before I get it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
I'm interested in returning both an html view (as a template) and a
link to a csv file (either as a template or using the CSV module) in
response to a query (GET or POST). Is there a way to both of these
actions simultaneously without hitting a database twice and without
writing a file to disk?
Hey everyone,
I'm working on setting up an app to upload images to s3. I am using
David Larlet's djang-storages backends and am running into a pretty
annoying problem. When I try to save an entry through the admin I get
the following error:
Storage module "backends.s3" does not define a "s3sto
I'm using the django-storages backends from David Larlet to upload
images to s3 from inside the admin. When i try to run everything I
get an error:
object of type 'NoneType' has no len()
Here is my model:
from django.db import models
from django.core.files.storage import default_storage as s3_
eturn HMAC(key, msg, digestmod)
File "C:\Python25\lib\hmac.py" in __init__
64. if len(key) > blocksize:
Exception Type: TypeError at /admin/StoryWall/statefair/16/
Exception Value: object of type 'NoneType' has no len()
On Sep 25, 2:54 pm, Brian McKeever wr
ev.org/django-storages/wiki/S3Storage
>
> On Sep 25, 2:12 pm, Nick wrote:
>
> > something like this?
>
> > Environment:
>
> > Request Method: POST
> > Request URL:http://localhost:8000/admin/StoryWall/statefair/16/
> > Django Version: 1.2 pre-a
an argument to
python.exe so it actually executes the file rather than just opening
it.
I hope this helps if it pertains to you.
Nick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
ne know why feedparser.py isn't importing? Has anyone else had
this problem? I'm using python 26 on windows xp.
Thank you,
Nick
--
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.
Hiya
I have exactly the same problem as described here.
Did you (or anyone) find a fix or workaround for this?
Cheers!
Nick.
On Apr 14, 12:24 pm, Paweł Roman wrote:
> > I suspect it is trying to import Http but can't.
>
> > Fire up python (Start -> Python Interactive
I am working on a form that takes a little data and throws it in a
database, but before all that jazz it sends an email to a list/tuple
of recipients. This is going very well except the send_mail process is
raising a very annoying and persistent error:
"to" argument must be a list or tuple
Here i
Thanks, Karen. Looks like I was a little cart before the horse on this
portion of the project.
On Apr 21, 6:28 pm, Karen Tracey wrote:
> On Wed, Apr 21, 2010 at 6:09 PM, Nick wrote:
> > I am working on a form that takes a little data and throws it in a
> > database, but before a
I am working on a form process with multiple levels of submission. The
first is a front facing form with a general set of questions that are
to be followed up by someone after the form is submitted (the form
submits and entry to the DB). To cut down on the amount of hunting
that those who will be
works like a charm, thanks Ian.
On Apr 22, 10:02 am, Ian Lewis wrote:
> Nick,
>
> Because you won't get an id for your newly created object before you
> save it you'll need to send the email after you save the form. I'm
> assuming that ArtistFormFinal is a Mo
The bible for user authentication is found here
http://docs.djangoproject.com/en/1.1/topics/auth/
The quick answer to number 2 is to check for authentication in a
template tag:
{% if user.is_authenticated %}
Welcome back you rotten jerk
{% else %}
Log in, you rotten jerk
{% endif %}
On Apr 28, 2
gs, **kwargs)
print self.readonly_fields
Any help on how I can access readonly_fields from the ModelForm to
override it would be really helpful!
Thanks,
Nick
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
Yes that works, totally missed the get_readonly_fields method -
thanks!
Nick
On Apr 29, 4:40 pm, Daniel Roseman wrote:
> On Apr 29, 3:43 pm, Nick wrote:
>
>
>
>
>
> > Hi,
>
> > I would like to set some fields to be readonly in the Admin app based
> > o
Here's the deal. I'm working on a custom API for moving information
about. I am stuck at a point in creating my view.
It might be best just to get into the details.
Here is the model:
class entry(models.Model):
question = models.CharField('Question', max_length=200,
blank=False)
answer =
red in the
URL.
There will be another component that will skip the 'count' if it isn't
declared but I haven't got there yet.
On May 5, 4:11 am, Daniel Roseman wrote:
> On May 5, 4:46 am, Nick wrote:
>
>
>
> > Here's the deal. I'm w
Never mind this, I got it figured out.
Thanks again
On May 6, 12:51 pm, Nick wrote:
> Thanks for the help on that portion, it is working wonderfully.
>
> I've been able to power through most of the requests for this project
> but there is one outstanding element in rega
I'm trying to paginate results from a search with multiple options.
The only problem is, once I hit the next button it clears the query
and I'm left paginating all the objects in the DB.
Here is my view:
def filter_search(request):
if request.POST:
reps = Rep.objects.all()
else:
Yeah, this is built in to django.
You are on the right track with user.contrib.auth. If you are doing
this all from the admin then it's as simple as creating a few groups,
giving them the permisions you want and then assigning users to those
groups.
If you are doing it on a front facing site, the
rder to recreate the object list (reps) when rendering a specific
> page (any particular reason why are you using POST in the search
> form?).
>
> hth,
> Nuno
>
>
>
> On Tue, May 11, 2010 at 1:58 AM, Nick wrote:
> > I'm trying to paginate results from a search wit
>
> Nuno
>
>
>
> On Tue, May 11, 2010 at 2:41 PM, Nick wrote:
> > The POST thing was the result of late night meltdowns and desperation.
> > I tend to just try stupid things when i'm working through an issue
> > like this, just seeing what the application is
I am using a custom template tag called calculate age to produce an
age in numbers based on a filter for a template tag.
Here is the tag:
def age(bday, d=None):
if d is None:
d = datetime.datetime.now()
return (d.year - bday.year) - int((d.month, d.day) < (bday.month,
bday.day))
ot
so it makes more since to have a built in fail safe rather than
checking in the templates each time.
Thanks a bunch,
Dummy
On May 12, 12:46 pm, Karen Tracey wrote:
> On Wed, May 12, 2010 at 1:06 PM, Nick wrote:
> > I am using a custom template tag called calculate age to produce a
I actually just got done writing a QandA app. It's very basic. I don't
have it open yet but I would turn over the source to you if you
wanted.
Here are the features:
Question
Answer
Answerer
Answerer's credentials
site specific QandA (using django.contrib sites)
tagging (using django-tagging)
cre
I am having an issue with an authentication app I am writing. The app
saves the form appropriately but doesn't send the confirmation email.
I am using the same email_host settings as with other application that
send email messages but with no results. Here is the process.
First a form processes th
rote:
> what happens if you set fail_silently to True?
>
> On May 19, 12:05 am, Nick wrote:
>
>
>
> > I am having an issue with an authentication app I am writing. The app
> > saves the form appropriately but doesn't send the confirmation email.
> > I am usin
I get the same results.
I dropped into the shell and tried it out
>>> user = User(username="nick", email="t...@test.com")
>>> send_activation(user)
1
I think the 1 means that it passed but I don't get any emails sent
On May 18, 5:08 pm, "ge...@
eaving
it in.
On May 18, 5:19 pm, Nick wrote:
> I get the same results.
>
> I dropped into the shell and tried it out
>
> >>> user = User(username="nick", email="t...@test.com")
> >>> send_activation(user)
>
> 1
>
&
Actually, I've fixed the problem with send_activation. If i go via the
form it still doesn't trigger the email.
On May 18, 5:19 pm, Nick wrote:
> I get the same results.
>
> I dropped into the shell and tried it out
>
> >>> user = User(use
urn render_to_response("obits/register.html", {'form': form })
So, the username and all of that are saving by the user.is_active and
send_mail are getting skipped
On May 19, 4:37 am, Nuno Maltez wrote:
> Anything it the mail server's logs? Any trace of your app trying to
May 19, 10:07 am, Nick wrote:
> It looks like the problem isn't with send_mail, its the save override
> on the form, the is_active = False isn't setting that option in the DB
> either, so it is skipping over the save options. Here they are again:
>
> forms.py:
&g
I'm trying to figure out a way to see if it is a users first time
logging in after registering on the site. If it is then I will pass
them through some formsets, otherwise I let them go to their profile
page.
I tried using date_joined == last_login but that doesn't work, as the
last login date cha
; login and you will be able to show them again.
>
>
>
>
>
> On Wed, May 19, 2010 at 11:05 PM, Nick wrote:
> > I'm trying to figure out a way to see if it is a users first time
> > logging in after registering on the site. If it is then I will pass
> >
o you use the generic login view?
>
>
>
>
>
> On Thu, May 20, 2010 at 12:16 AM, Nick wrote:
> > I have an expanded user form right now. Here is the sign up process.
>
> > user registers using username, email, password
>
> > It sends and activation link to
I am working on a project that requires me to grab an XML feed and use
it to update entries in a DB that will also be updated by some people
doing data entry. I have the workflow for the data entry side all set
up but I'm having a hard time finding a resource that can help me
write some functions t
ere is my first thought for how to do this:
feed = urllib.urlopen('http://example.xml/data.xml')
tree = ElementTree.parse(feed)
for obj in serializers.deserialize(feed, data):
obj.save()
On Jun 4, 11:14 am, Venkatraman S wrote:
> On Fri, Jun 4, 2010 at 9:40 PM, Nick wrote:
all located in Python 2.4's site-
packages folder. When I upgrade to 2.6, is it just a case of copying
these over into 2.6's site-packages folder, or do I need to install
the modules afresh?
Thanks,
Nick
--
You received this message because you are subscribed to the Google Groups
"D
I am looking for a way to identify the first item returned in a loop
and display it differently than the others:
basically it would go like:
{% for item in items %}
{% if is_first_item %}
This is what will show
{% else %}
this is what will show
{% endfor %}
Am I overlooking some
:05 PM, Dejan Noveski wrote:
> > change {% if is_first_item %} with {% if forloop.first %} and you are set.
>
> > On Tue, Jun 8, 2010 at 7:59 PM, Nick wrote:
>
> >> I am looking for a way to identify the first item returned in a loop
> >> and display it diffe
I have two models. One is a list of candidates that have filed to run
for office. The second is a list of people who currently hold
office.
I'd like to compare the two tables and whenever a match is found
between the two (an entry in the candidate table shares the same
last_name and first_name wit
assuming that the models and
> stuff are similar. Also, this code is just off the top of my head, so
> who knows if it will actually work :)
>
> Cheers,
>
> Dan Harris
> dih0...@gmail.com
>
> On Jun 8, 6:30 pm, Nick wrote:
>
> > I have two models. One is a l
Has anyone come across an ordering issue with the regroup tag whereby
if the field that is being ordered is an integer you get the following
problem:
say you have the grouped field "District" and the following groupings
District 1
District 2
District 3
District 10
District 14
District 20
District
District " to it in some other fashion.
>
> On Jun 9, 10:38 am, Nick wrote:
>
> > Has anyone come across an ordering issue with the regroup tag whereby
> > if the field that is being ordered is an integer you get the following
> > problem:
>
> > say you have
Just to let you know, this code worked out nicely.
I made a few changes to the bottom save function:
if len(candidates) > 1:
raise Exception
candidates.update(incumbent=True)
On Jun 8, 6:11 pm, Nick wrote:
> Thanks Dan, I'll give it a shot
>
> On Jun 8, 6:00 pm,
Many thanks for your helpful posts - in the end I just changed a bit
of my code to work with 2.4, but this will come in handy for when I
finally make the upgrade.
Thanks again,
Nick
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
OK, here's the deal. I'm working up an obituary site. There are 3
models/tables and at one point I need to connect two in a way that is
different than I have done up to this point. Here is the situation,
any recommendations on how to accomplish this would be great:
I have an obituary table. In tha
Which version of django are you working with?
On Jun 16, 2:28 pm, thusjanthan wrote:
> Hi,
>
> when I mean database I mean the separate databases from within one
> mysql database server. So ex:
>
> DB server: server.example.com
> Databases that are contained in the one instance of mysql:
> People
a model form of the obit model:
I would like to change the on_premises field to lookup of the two
business type fields in the FullProfile model so that the user can
select which business type they want to attach to the individual
obituary.
So if a business has bus_type = Funeral Home and bus_type
> return self.related_premise is not None
> def get_related_premise(self):
> assert self.on_premise()
> return self.related_premise
>
> On Jun 16, 3:39 pm, Nick wrote:
>
> > OK, here's the deal. I'm working up an obituary site.
How would I write this conditional statement in a view?
if not candidate.office_type == "USREP" or "USSEN" or "DJ" or
"ASSOCDJ":
office = '%s' % (candidate.office_type_description)
else:
office = []
As is stands, it doesn't seem to be running through all of the OR
operato
Brilliant, thanks
On Jun 18, 4:08 pm, Dennis Kaarsemaker wrote:
> On vr, 2010-06-18 at 14:04 -0700, Nick wrote:
>
> > How would I write this conditional statement in a view?
>
> > if not candidate.office_type == "USREP" or "USSEN" or "
I currently have several django projects on one server. I am working
with subdomains for some of these projects and I'd like the base URL
to be a little different than the default behavior. I am working with
modwsgi and apache.
I have a project called MyProject.
I have a subdomain set up at mypro
I am working on a form to resend an account activation email for newly
registered users who did not receive their first email.
The form is currently raising a DoesNotExist error and I can't figure
out why:
Here is the activation code:
class resend_activation(forms.Form):
email = forms.EmailF
A lot of this is me trying to find out why it's failing. The problem
I'm getting is that there is a FullProfile associated with the email
address. When i go through the steps in the shell it works perfectly.
When I run it through the form it throws an error. If you look at the
custom ValidationErro
I am working on a validation that will require a field be filled in if
it is another field enters on of three values:
For example:
I have a form
class myform(forms.Modelform):
field1 = forms.CharField
field2 = forms.Charfield
field3_type = forms.CharField(choices=choices)
field3
I think a choice field is probably best, then you can customize the
presentation in a forms file.
class Question(models.Model):
q_cjoices = (
('choice1', 'choice1'),
('choice2', 'choice2'),
('choice3', 'choice3'),
('choice4', 'choice4'),
('choice5', 'choice5'),
)
title
u'type2)
etc. etc.
How can I format a values_list so I could return something like a
table or csv?
so:
id, name, type
id2, name, type
etc. etc.
Thanks for the help
Nick
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Perfect, thanks
On Jul 21, 4:50 pm, n3ph wrote:
> Definitely the better way..
>
> On 07/21/10 23:42, Franklin Einspruch wrote:
>
> > Nick,
>
> > I think you're looking for this:
>
> >http://docs.djangoproject.com/en/dev/howto/outputting-csv/
>
> &
I am trying to loop through a queryset and assign values to a field
based on other values in that entry.
So something like this
readers = Readers.objects.filter(status=active)
for reader in readers:
library = reader.library
book = reader.book
readers.update(sorter="%s%s" % (lirbary, boo
I may be misunderstanding the values method but it is returning
duplicate results when I use the distinct method. I have a query that
pulls the values of a column:
Readers = Readers.objects.values_list('organization').distinct()
The count returns 189 results but when I send it to output to a csv
ul 21, 10:47 pm, Kenneth Gonsalves wrote:
> On Thursday, July 22, 2010 09:10:31 am Nick wrote:
>
> > Readers = Readers.objects.values_list('organization').distinct()
>
> > The count returns 189 results but when I send it to output to a csv it
> > returns all of
eeing multiple duplicate
organizations.
On Jul 21, 10:47 pm, Kenneth Gonsalves wrote:
> On Thursday, July 22, 2010 09:10:31 am Nick wrote:
>
> > Readers = Readers.objects.values_list('organization').distinct()
>
> > The count returns 189 results but when I send it to o
ant can be accomplished by:
>
> from django.db.models import F
>
> readers = Readers.objects.filter(status=active)
> readers.update(sorter=(F('library') + F('book'))
>
>
>
> On Wed, Jul 21, 2010 at 19:40, Nick wrote:
>
> > I am trying to loop th
This is still an issue I'm seeing. I don't know how it can return the
proper count but then when i request the actual values it spits out 9
times as many
On Jul 21, 11:08 pm, Nick wrote:
> It looks like its returning every organization instance in the table,
>
> There are abou
I have inherited a project with a tight deadline and I am lost for how
to proceed.
There are two tables: Canididates and Race.
The race table holds 145 different races with information about
precincts, winners of different stages of the race (primary, runoff,
gneral)
The Candidates table has 110
Has anyone heard of, see, or used an app that would transform the
table view of the admin into a data entry point, basically jumping the
need to click through to individual entries in order to edit them?
--
You received this message because you are subscribed to the Google Groups
"Django users"
Completely missed that section. You are always very helpful, Daniel.
Thank you.
On Jul 26, 10:08 am, Daniel Roseman wrote:
> On Jul 26, 3:56 pm, Nick wrote:
>
> > Has anyone heard of, see, or used an app that would transform the
> > table view of the admin into a data entr
I am needing to do some duct taping for a project that is going on
right now. In it I need to take a values_list of id's from a
ManyToMany field and save those values to a varchar field so a mysql
query can access the values. I am working with two different sets of
developers and this is the best w
I am getting this to save but I can't get it to output properly
it's outputting as [16L, 451L, 521L] for a list of id's, which it
should according to documentation. However, how can I output it like
this 16, 451, 521
On Jul 27, 12:11 pm, Nick wrote:
> I am needing to do some
e the help.
On Jul 27, 2:49 pm, ringemup wrote:
> ', '.join(primary_ids)
>
> The fact that you're doing this with foreign keys, though, suggests to
> me that you may have a database normalization problem.
>
> On Jul 27, 3:26 pm, Nick wrote:
>
> > I
I have a save override in my admin file that catches a value from one
field and applies it to another. The values it grabs from a manytomany
field.
I can get it to work, but only when I save twice. It looks like it
needs the manytomany to update with the new values and then it needs
to second save
I have an admin set up with three inlines. I would like to filter the
inline's editable options by a variable that is defined in a settings
file. I can over ride the actual admin pieces for each of the inlines
(they all have full admin screens of their own). But I can't seem to
get the standard d
You could just write the table out in full in the template and use
JavaScript to sort the rows.
On Aug 10, 2:55 pm, "Mike W." wrote:
> Hi,
>
> I'm trying to use django-tables to display the output in a grid-like
> view. I'd like a user to be able to choose a row and send it to a
> detail page.
The best option would be to break off of the tutorials for a bit and
try to build something out on your own. The documentation for forms is
quite extensive.
I recommend getting comfortable with inlines and formsets
http://docs.djangoproject.com/en/1.1/topics/forms/
On Aug 11, 1:39 pm, Jagdeep S
You override the save in two places, in the form itself or in the
view. Either one would work, you could combine the two as well.
the form save override would look something like
def save(self):
formatform = super(FormFormat, self).save(commit=False)
if formatform.boolean1 and formatform.
You can subclass the User admin and then unregister the default admin
and register your new subclassy admin (subclassy is a word)
in admin.py:
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.models import User
class MyNewUserAdmin(UserAdmin):
list_filter = UserAdmin.
Are you trying to create a save function that evaluates all the
weights and returns an error if they are more than 1?
On Aug 10, 3:17 pm, lingrlongr wrote:
> I 'm trying to create a form dynamically. This works just fine, but
> there's no way for the form to offer any customized validation, by w
.
On Aug 12, 9:30 am, Steve Holden wrote:
> On 8/12/2010 8:36 AM, lingrlongr wrote:
>
>
>
> > Hi Nick,
>
> > Thanks for the reply. Yes, the department weights will be used in a
> > grading scheme. One department may be 25% (0.25), etc... But in the
> > end
This is actually related to psycopg2, OS X and Postgres but I was
hoping someone in here has seen the same issue.
I recently installed PostgresPlus 8.4, Django dev (1.4?), and psycop2
version 2.2.0 on my imac OS X 10.6.4
When i try to run dbshell from the command line I get an error that
reads
r
http://docs.djangoproject.com/en/dev/ref/models/querysets/#distinct
Distinct() may be what you're looking for to returns distinct values
for each problem.
Or, petter yet, you could use .latest()
So Submission.objects.all().latest('problem').distinct()
http://www.djangoproject.com/documentation/
How about using an autofield?
http://docs.djangoproject.com/en/dev/ref/models/fields/#autofield
On Aug 16, 12:25 pm, Alec Shaner wrote:
> Regarding your issue with get_next, could be because you're invoking the
> method when you define default=get_next(). Try it with just the bare method
> name
I have a view that handles elections/races. That view takes a request
object and then based on that object sends the information to a
specific template.
For each election/race there is a subset of candidates based on the
initial candidate_set from that race. I would like to know how to
filter that
Thanks, Steve. I'll implement this today and see what happens.
On Aug 16, 9:46 pm, Steve Holden wrote:
> On 8/16/2010 10:30 PM, Nick Tankersley wrote:> Thank you again for your
> replies. They've been full of usefull
> > information about how to clean up an otherwise
This appears to be working. Thanks a lot Steve, I really appreciate
the help.
On Aug 17, 9:07 am, Nick wrote:
> Thanks, Steve. I'll implement this today and see what happens.
>
> On Aug 16, 9:46 pm, Steve Holden wrote:
>
> > On 8/16/2010 10:30 PM, Nick Tankersley wrot
Here's an example:
http://joshourisman.com/2008/11/19/custom-fields-and-widgets-django-forms/
Another good way to go would be to look at the django widgets in the
source code and follow their example
On Aug 18, 1:44 pm, ydjango wrote:
> I am using a 3rd party javascript library with some custo
You need to look at overriding the model's save method in order to add
data from one field to another dynamically.
http://docs.djangoproject.com/en/dev/topics/db/models/#overriding-model-methods
On Aug 19, 2:03 am, djnubbio wrote:
> Sorry for wasting your preciuose time. I'm very newby in dja
1 - 100 of 611 matches
Mail list logo