Mike,
Your email won't show up as long as you aren't logged in. I'm not saying
that it's full-proof, a bot could easily run around logged in to a Google
account, but it greatly reduces the chances (I've never had an issue).
Just to add on to Tom's statement concerning the Middleware, one specif
with those who don't. As the case with many
Americans, I only speak English.
My Skype username: kurtis.mullins
Hopefully I didn't just open myself up to a huge influx of craziness :)
Thanks
- Kurtis Mullins
--
You received this message because you are subscribed to the Google Groups
No problem at all :)
On Wednesday, April 25, 2012 12:04:30 PM UTC-4, Ahmad wrote:
>
> Thanks Kurtis for sharing your account I have added you to my contacts :)
>
> On Wed, Apr 25, 2012 at 5:56 PM, Kurtis wrote:
>
>> Hey guys/girls,
>>
>> I want to share my Sk
If I have enough notice to get a Passport and it landed on a weekend where
I was free -- I wouldn't mind taking that trip. I've always wanted to see
Toronto anyways :P
On Wednesday, April 25, 2012 10:25:53 AM UTC-4, Daniel Sokolowski wrote:
>
> Does anyone know of any upcoming Django meet ups in
nly
> jquery-ajax to get the work done. is it possible in this way? i can get the
> form values sent by jquery in my view without loading the page, this is
> actually what i wanted to do with dajax. is it a good go-around for the
> problem?
>
> thanks
>
>
>
&g
Hey guys,
I've ran into this problem before and it took me a while to figure out the
issue. I've ran into it again while just playing around with a small app.
In the ModelForm you can define which fields to use. The documented example
is here:
https://docs.djangoproject.com/en/1.4/topics/forms
*Bump*
I've been trying to diagnose this problem. I have no idea what's going on,
though.
1. I tried just serving a simple .html page on Nginx to see if that's where
the problem was. It didn't serve properly (through an error) but it did
actually display the error. The problem there was, you c
Hey guys,
This may be a simple question and something I will probably just need more
time to dig in and try out. What's the best way to send data to a form
(specifically ModelForm) without using request.POST? Should I just build a
QueryDict object and send that in?
Thanks!
--
You received th
012 4:55:27 PM UTC-4, Melvyn Sopacua wrote:
>
> On 13-8-2012 22:34, Kurtis wrote:
>
> > This may be a simple question and something I will probably just need
> more
> > time to dig in and try out. What's the best way to send data to a form
> > (specifically
On Monday, August 13, 2012 5:37:52 PM UTC-4, Melvyn Sopacua wrote:
>
>
> Hmm. You gain:
> - an errors dict
>
> At the cost of:
> - form field instance creation
> - widget instance creation
>
> You can save some resources by investing in a JSONForm class and I'm
> wondering if the following do
hough,
it would definitely be a sound way to go if it doesn't take too much time.
On Monday, August 13, 2012 6:08:11 PM UTC-4, Kurtis wrote:
>
> On Monday, August 13, 2012 5:37:52 PM UTC-4, Melvyn Sopacua wrote:
>>
>>
>> Hmm. You gain:
>> - an errors dict
&g
I just received a very unusual e-mail that included a recent post's
subject. The post in question was: "Re: form doesn't validate when trying
to upload file". It was sent directly to my email address; by-passing the
User Group.
Google roughly translated this email as coming from "China Mobile"
or accordingly. Hopefully that
makes sense :)
I'm not sure if I'm just over-looking something or trying to do things the
hard way but I'm up for suggestions. Keep in mind that Forms + HTML are out
of the question since this is an API-only application.
Thanks!
- Kurtis
--
You recei
I guess I'm the only one who loves Django's CBVs :(
Maybe some good documentation / third-party tutorial is in order? haha
Thanks for sharing though, Cal!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
Hey Guys,
I have a very simple stub of a project. I'm trying to do something
that should be very simple but isn't as easy as I hoped.
I have a UserProfile class. This object is basically just an extension
of the standard User Class. Within my UserProfile class, I want to
have a list of PublicProf
re are any
advantages to using Class-based views, I may want to take advantage of
them. Unfortunately, I don't know enough about the Class-based views
to really weigh that out on my own. Any information regarding this
decision would be greatly appreciated.
Thanks!
-Kurtis Mullins
--
You receiv
Hey,
I've created my own User Registration FormView. Everything seems to
work great except the password is always saved as "!". I can change
that with the "password changer" in the admin section of the site. I
am using an alternative authentication backend, so I'm not sure if
that was causing prob
I didn't realize the code would come out so unreadable. It's also
posted here: http://dpaste.com/618619/
--
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
Hey,
I'm trying to figure out the best way to do this. I have a FormView
and an associated Form. In my Form, I take care of all of the
validation and cleaning as far as the input goes.
However, I need to put in some more logic such as saving the user,
logging in a user, and whatever else the futu
Check out
http://groups.google.com/group/django-users/browse_thread/thread/40118d7879bbb228#
... I just asked a very similar question recently.
On Sep 22, 4:53 pm, John Shaver wrote:
> I'm designing a user registration form for my app. I need to verify
> that the username they're using is not a
Hey guys,
We have an Nginx front-end with a cluster of Django application
servers. What are some methods of handling user uploads in this type
of an environment?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, se
/value pairs I saw in the
MoinMoin code. Hopefully someone can understand what I was trying to
accomplish there
Thanks again!
-Kurtis
from django.http import HttpResponse
# View for URL Called by SVN on Post-Commit Hook
def svn_hook(request):
# Resources
# import urllib # Used in exa
Hey,
I really want to build a storage back-end for cloudfiles. The snag is
that cloudfiles containers do not allow for a hierarchical directory
structure. Everything must be in a "base directory".
Does anyone have any suggestions on methods for performing this
conversion of a hierarchical directo
I'm trying to check if a user with a specified email already exists.
According to the docs, it's better to use the .exists() method.
I tried this:
if User.objects.exists(email = data['email']):
raise forms.ValidationError(u'Email Already Exists')
However, I get this error:
exists() got an u
Out of curiosity, is this a good place to start?
https://code.djangoproject.com/query?status=!closed&easy=1
On Sep 28, 10:33 pm, Kurtis Mullins wrote:
> Thanks Shawn. And nice speech! I didn't realize there were so many open
> tickets -- especially any as trivial as that. I'
Hey JQuery/Django Developers,
We are looking to hire someone to complete a project for us. Read on
for details.
Background
---
I am the lead developer for fireflie.com. We're currently in the
beginning of a total site-rebuild using Python/Django. The current
site was built by
I'll give that a shot. I pushed my bucket to the CDN and tried to set
that URL manually using:
STATIC_URL = 'http://kurtis.s3.amazonaws.com/'
Unfortunately, it's still trying to use /static/... Hopefully your
idea will work. Thanks!
On Oct 5, 9:54 am, Shawn Milochik wrote:
> Could it be the ADM
Admin media. Thanks!
Unfortunately, and this is probably an issue with Amazon -- I get a an
access denied error when I try to access my files. For example:
http://dw2u7t9lse636.cloudfront.net/css/base.css
On Oct 5, 10:01 am, Kurtis wrote:
> I'll give that a shot. I pushed my bucket t
Okay I figured it out. Another slip of mind on my part :) I had to
change my CDN url to include '/admin/' since that's the subdirectory
my admin media is uploaded to.
On Oct 5, 10:07 am, Kurtis wrote:
> Okay, two things.
>
> 1. I saw I was potentionally using the wrong
Hey,
What's the best way to go about doing things for class-based views
such as requiring logins? In the function-based views it was easy to
use decorators.
Should I just replace the functionality that I would previously have
put into decorators into abstract classes that I extend? If so, can
som
Hey Guys,
Would anyone be willing to show me an example of a very simple and
dumb decorator for views? I've been trying to read the existing
decorators and play with a couple of snippets but I'm having a lot of
trouble with two aspects -- grabbing the User Instance and Redirecting
somewhere beside
Honestly I don't have any experience with Django and AJAX Yet. Just in
case you haven't checked it out yet -- I've read you've got to submit
the CSRF with your calls though. Not sure if that helps at all. Good
luck!
On Oct 11, 6:07 am, Pigletto wrote:
> Simple view, shown below, sometimes fail in
Possible? Has anyone prototyped it or put any thought into it? Is it
something people would be interested in?
I'm pretty new to this technology but it's a big thing at my
university (knoesis.wright.edu). I'd have some great people to consult
with if this would be a good personal, research project
Hey,
I have a FormView and a Form. I want to put in some logic that will
take place before the Form is even displayed. I know I could throw
this in a decorator and wrap the View but there's only a couple of
views that need this specific functionality and didn't see a need for
a whole new decorator
Hey Guys,
I know I saw in one of the threads where someone had asked how another
person had missed the doc's version number.
Just a suggestion on making these things a bit more obvious, you could
color code them. It doesn't have to be on a per-version basis but
maybe do something along the lines
I'm working on a project where I will eventually need to be able to
add/delete/manage templates on the fly. Our Django Application Servers
are setup as a cluster behind an Nginx Front-end Server.
We're not at that point, yet -- but I wanted to see if there's any
architectural issues I need to prep
Hey,
I'm trying to build a custom template for my ModelForm. My ModelForm
contains several M2M fields. If I run the ModelForm.as_view and then
in my template print {{ form.as_p }} it'll automagically display those
choices.
Now what I want to do is take advantage of that magic and print out
those
I just use Jquery-UI DatePicker http://jqueryui.com/demos/datepicker/
On Oct 20, 7:46 am, Mario Gudelj wrote:
> Hi guys,
>
> I'm looking for a date/time picker that I can use in my web forms. I've used
> DateTimeField in my models and have to implement date in this format
> "2011-10-19 21:34". I
I'm thinking of creating a Django app that will include all US Zip
Codes from the 2010 Census Data. It will probably include a couple of
helper functions for calculating "other zip codes within X proximity".
I know I could probably use GeoDjango for this but it's a bit heavy
for just this small da
It would be cool to have some sort of an automatic deployment thing
where it includes a Custom Firefox, Django (w/ runserver) and an
sqlite database all wrapped up into a single executable package.
Especially if you could do cross-platform builds so that it
automatically creates Windows, OSX, and L
I don't run Windows but I quickly glanced over the Freetype
documentation. You'll need to make sure that Freetype is in your
compiler path and that you reference it when you compile PIL. For my
information, look at this page:
http://freetype.sourceforge.net/freetype2/docs/tutorial/step1.html
Hope
Hello,
I never heard of MediaTemple or their CDN until I read your post. I
tried to look at their site for your information and it seems to be
hidden.
We just went through this same thing but starting with Rackspace and
then moved to Amazon.
One thing I ran across is that they (MT) use "Objects"
Hey,
I have a Model, a ModelForm (that does other custom stuff aside from
just editing the Model) and a FormView. Everything works great for
creating the Model and running my custom logic to do other things.
I'm trying to create an Edit/Update View now. I tried looking at
UpdateView as mentioned
Hey guys,
I have some custom context in a view. I'm going to be replicating this
context three times for different object relationships. I didn't
count, but looking at django-debug-toolbar I'm thinking this block of
code runs at around 10 queries. Times that by 3 and I'm going to be
bogging my app
11 at 8:37 PM, Kurtis wrote:
> > Hey,
>
> > I'm trying to build a custom template for my ModelForm. My ModelForm
> > contains several M2M fields. If I run the ModelForm.as_view and then
> > in my template print {{ form.as_p }} it'll automagically display thos
Hey Guys,
I'm trying to create a "router" as recommended in IRC for several
different views. My Views are UpdateViews, so they are the new CBVs. I
don't mind my router being a simple function based view, though.
Basically, a User can edit some data. This data changes based upon the
user's "class"
Okay, I think I've got the exact steps down needed to get this running
right. If these are actually it, I'm not sure if I had any other
prerequisites I can't think of at the moment, then it's a matter of
copying and pasting 3 lines into your terminal. (Less than 5-10
minutes total)
1. Install "Bre
Hey,
I started doing some heavier reading on MongoDB and realized that is
awesome! I took a look around at using it as a back-end for Django and
it seems like you have to use the Django-norel fork.
My question to those who have used it -- is it a fairly extensive
change to go from a standard rela
Hey,
I've got a part of my site that is just prototyped at the moment. It's
not particularly optimized since it's still in the works.
I don't think it's going to take a considerable amount of time to load
while we have few users. But, when we start migrating our old users to
the new system, I can
Hey,
I've got a very simple setup for a sample application. Basically, I
have a Model w/ an ImageField. I have a ModelForm using that Model.
Finally, I have a FormView for using that Form.
In my View, I call my form's .save() method and pass along the request
user. I'd like to manipulate where th
.DateField(auto_now_add = True)
user = models.ForeignKey(User)
# Note: upload_to is referencing the above function in the same
file.
data = models.ImageField(upload_to = user_image_folder)
On Nov 1, 10:55 pm, Kurtis wrote:
> Hey,
>
> I've got a very simple setup for a sample application
Hey,
I have a couple of FormViews that override quite a few methods. I want
to write an "Abstract View" that I can subclass for these. I'm
guessing what I actually need is a custom Mixin but I'm really not
sure.
Any suggestions on how to go about doing this?
Some methods I'm overriding:
get_for
Hey,
I just created a nice little prototype of a custom API Application.
This application allows you to set various CSS Selector/Value/
Attributes elements. It also dumps the data (on a per-user basis) to a
dynamically generated CSS file. There's going to be quite a bit more
features in the future
MySQL
- A Love of Music
Please contact me immediately if you feel you are willing to take on a
project of this magnitude and can do so within the constraints of their
budget. They pay well and this might grow into a full time opportunity
given the start-up succeeds.
Thanks,
- Kurtis Mullins
--
When running syncdb, I am getting an unusual error. I'm using Django 1.5.1
and a relatively recent version of MariaDB on Arch. I am using some
pre-existing tables which I've built Models around. The error is:
*DatabaseError: (1005, "Can't create table '.#sql-1e51_2be' (errno: 150)")*
Running sy
I should mention that I *did* convert all of my existing tables to InnoDB
which hasn't helped at all. I don't have any weird configuration in my
settings.py dealing with the database. As far as I can tell, all new tables
created by syncdb are also InnoDB.
--
You received this message because y
To try and find more information, I erased the Django-created tables and
re-ran syncdb again. This time, I turned verbosity on to 3 and piped all of
my stdout to a text file. I actually did this first. However, here's the
contents of the first one which includes everything up to the point of
fa
e top (or bottom) of the PASSWORD_HASHERS tuple?
2. *How can I disable or otherwise bypass this feature?* The database I am
working with is shared with an older code-base and until we migrate the
other components, I"d rather not "upgrade" the existing password hashes.
Thanks!
- Ku
f anyone has given this a shot before, can you share some tips or pitfalls
you ran into during the process?
Thanks!
- Kurtis
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from
has suggestions or experience with implementing
something along these lines. I have some 'creative' ideas on how to do it
but I'd like to get some input first.
Thanks!
- Kurtis
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
rger ORM
caching libraries but I'd like to find a clean solution without a whole lot
of overhead.
Thanks!
- Kurtis
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, se
docs.python.org/tutorial/inputoutput.html
Hopefully that helps a little bit. I'm not sure if I understand the problem
right but I figured I'd give it a shot.
Good luck!
- Kurtis
On Wed, Feb 29, 2012 at 4:27 PM, Paul Bunker wrote:
> Hi Django Users,
>
> I'd like to use the dj
Hey,
I don't have a good answer for your exact question. One alternative,
though, may be to use nginx, or another httpd, to handle the upload and
just have it pass the path along to Django. e.g.
http://www.grid.net.ru/nginx/upload.en.html
Good luck!
On Sat, Mar 10, 2012 at 11:18 AM, Fedel Bari w
Sorry for the late chime-in. Here's the "budget scalability" route we at
http://www.fireflie.com are taking for our rewrite in Django.
We decided to go with AWS. Initial hosting costs are free for the server
until we are ready to push to production and need a larger instance. We are
using Nginx fo
; infinite and beyond.
I meant "paying $1,000 for a *scalable* web application, and therefore
expecting a large amount of traffic...". Sorry about that.
On Thu, Mar 15, 2012 at 9:55 PM, Kurtis Mullins wrote:
> Sorry for the late chime-in. Here's the "budget scalability"
What are you using for your session engine? Maybe try another one? (
https://docs.djangoproject.com/en/1.3/topics/http/sessions/#configuring-the-session-engine
)
On Sun, Mar 18, 2012 at 9:51 AM, pyramid...@gmail.com
wrote:
> If i clear my cookies and run this view, i get a new session key each
>
Personally, I would just create a custom Form for that validation logic
then store the number in some generic Model Field (like IntegerField). You
can write a method in your model to format that integer as a telephone
number for display purposes using __string__ or other similar methods. Just
conve
field, though. They do include telephone numbers.
Judging by the django developer's choice to put that logic in Form Fields
instead of Model Fields, it may be a good idea (or at least easier) to
follow their lead on doing it that way.
On Mon, Mar 19, 2012 at 9:49 AM, Kurtis Mullins
>
> I'm not sure what you meant by "simply using nginx" since as far as I
> know it doesn't have standard WSGI module.
I use Nginx w/ WSGI (Django running under uWSGI, communicating w/ WSGI
Protocol) out of the box. No special modules or anything were installed --
just a quick download and compil
People will probably need more information to help you. For example, what
are the errors you are seeing?
On Mon, Mar 19, 2012 at 9:44 AM, Enrique Juan de Dios
wrote:
> Hello Everyone.
> I tried to send email with the email settings shown below, but doesn't
> work.
>
> EMAIL_HOST = 'smtpout.secure
elf.
Good luck and happy hacking!
On Mon, Mar 19, 2012 at 10:46 AM, Alexander wrote:
> Kurtis,
>
> There is nothing wrong with using uwsgi protocol instead of FastCGI
> but you still have to run uWSGI server and it doesn't fit "simply
> using nginx" description. And
Check out django-celery.
On Mon, Mar 19, 2012 at 1:52 PM, Felipe Arruda <
felipe.arruda.pon...@gmail.com> wrote:
> Hi, I'll try to explain the best I can my problem, and I don't know if
> what I'm trying to archive is the best way to get where I want, but
> here is it:
> I want that a specific vi
Did you check out django-celery yet?
On Mon, Mar 19, 2012 at 2:18 PM, Arruda wrote:
> *(I've created a topic like this a few minutes ago, but was using the old
> google groups, and now it's broken. So I created a new one using the new
> google groups).*
> Hi, I'll try to explain the best I can my
If you're worried about stylizing specific fields, it'll be setup as a
table, ul, or paragraph based upon how you "render the form" (paragraph by
default I think). The individual fields are named with the following
convention (if I recall correctly) . So
for a field named "password" in a paragraph
I keep a checked out copy of the Django source code and just refer to the
source code, docs, google, the mailing list and IRC for reference, I tried
the book when I first started but it lacked the Class Based Views which I
prefer to use when possible.
Good luck!
On Thu, Apr 12, 2012 at 8:49 AM, R
Man, I think if you don't know the answers to these questions -- you may
not want to apply for that job. Go research and play with NoSQL. Read the
documentation on Template Tags -- and realistically, the point of the
Templating engine in general. If you don't know about the Data Layer then
read the
Check out ModelForms:
https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#django.forms.ModelForm
Note: I'm not sure which version of Django you are using but you may want
to choose a different document-version respectively.
Also, check out CreateView, UpdateView, and DeleteView for your
Congrats on finding people to fill your position(s), Cal!
At first I read that and thought "man, that's almost insulting". I can
honestly say that it's not completely unfair to pay someone $20/hour
-- especially if they're still in school. I barely make more than that as a
lead-developer for a sta
Raphael,
According to another topic -- some developers are being paid roughly
$20/hour. It's under a post by Cal Lemmings where he is trying to hire some
entry level developer(s). You might be able to use that information as
well. I just thought I'd let you know.
On Mon, Apr 30, 2012 at 4:24 PM,
You could use a pseudo-random filename so that it's very unlikely people
will be able to easily find other's photos.
If you're very concerned with users being authenticated before viewing the
media (which to me, sounds like there won't be a huge load on that segment
of your web application) then y
http://stackoverflow.com/questions/550632/favorite-django-tips-features --
Fourth Answer Down from the Top:
from django import template
template.add_to_builtins('project.app.templatetags.custom_tag_module')
On Mon, Apr 30, 2012 at 9:40 PM, CLIFFORD ILKAY
wrote:
> On 04/30/2012 09:21 PM, Rajat
Judging from your Import Error -- I think you're having a problem with
Django not being on the Python path. In my uwsgi configuration file (I used
.xml), it looks like this:
DJANGO_SETTINGS_MODULE=fireflie.settings
4
0.0.0.0:7999
/home/fireflie/staging/fireflie/
django.co
I messed with the SFTP implementatoin a while back. I noticed it was pretty
tough and, if I'm not mistaken, a bit out-dated. We ended up moving to
Amazon S3 so it wasn't a big deal.
Anyways, maybe you could try using another file system? SSH isn't really an
ideal solution for this sort of a proble
only. I was a little
> confused thinking that was ready for deployment. I'm new to all this and
> get confuse sometimes.
>
>
> On Tuesday, May 1, 2012 8:04:00 AM UTC-7, Kurtis wrote:
>>
>> Judging from your Import Error -- I think you're having a problem with
>>
You could do something along these lines:
{% for field in form %}
...
{% ifequal field form.someSpecificField %}
> {{ form }}
>
> {% endfor %}
>
> Previously I have accessed certain ModelForms using {% if forloop.counter
> == # %} to add some customization.
>
> However, now I would like more de
quot;, it won't
work.
});
// On Error:
jqxhr.error(function() {
// Do something in here in the case of errors.
});
});
Good luck!
-Kurtis Mullins
On Thu, May 3, 2012 at 1:46 PM, Bill Freeman wrote:
> AJAX
>
> You may require a separate view, but maybe not.
>
> If you
Your Database may very well be setup to Authenticate the Accessing User on
127.0.0.1 and not 'localhost' (or vice-versa). This would be setup in the
database when setting credentials for a user, in the case with MySQL.
On Wed, May 2, 2012 at 9:52 PM, Peter of the Norse <
rahmcoff+...@radio1190.org
dle clients, clear and concise
>> communication plays a huge part in pricing.
>>
>> The other problem is that the market is flooded with charlatans, who are
>> driving the prices up and make it even more diluted for the rest of us.
>>
>> You also have to remember tha
When I first dove into Django, everything was confusing. I can't say I ever
used the book because I wanted to use class-based-views immediately (was
recommended in IRC). They were confusing as could be, I constantly needed
hand-holding, etc...
Eventually, I started to understand things a bit more,
It might help to get a little bit more information. Do you want to
programmatically manage them to use in another application (or though the
command-line), do you want a web-based interface, etc...?
On Thu, May 3, 2012 at 3:34 PM, William Ibarra Rodriguez <
legolas...@gmail.com> wrote:
> i've wor
Awesome. Well, I'm not sure how familiar you are with Django but I'd just
create views for the different functionality (for example, creating a new
user). There's nothing the admin does that you can't do yourself. If you
run into a specific problem, feel free to ask!
On Thu, May 3, 2012 at 4:10 PM
Are those symlinks? It might be worth seeing if that's part of the problem
(although doubtful that it would be).
If that's not the problem, does Django-CMS have its own specialized 404
handling? I've never used it but it's a couple of ideas to try out.
On Thu, May 3, 2012 at 10:03 AM, James Hargre
Can we see what your "Reservation" model looks like? Specifically, that
'timeout' field?
On Thu, May 3, 2012 at 6:22 PM, psychok7 wrote:
> hi i have done a succefull query and i converted the results into links so
> i can make a post by clicking on the links to make a reservation.
>
> my problem
(”The timeout variable wasn’t posted.”)
This time, you should see exactly where that error is popping up. Also,
ModelForm + CreateView would be a great an easy combination for this exact
situation.
Good luck!
-Kurtis Mullins
*From:* psychok7
*Sent:* Thursday, May 03, 2012 4:47:56 PM
*To:* django-
I think what he was trying to get at is that the Python MySQL Adapter is in
early stages of development where-as Django is depended upon to be a very
stable platform/framework. It would be great to have the option to use that
adapter though for situations like yours.
On Fri, May 4, 2012 at 1:21 AM
Jani is right, I didn't take a close look at that HTML. Using this (without
any Javascript), you're not submitting a form with method="post" so you
won't actually have any of that request.POST data available that you're
looking for.
On Fri, May 4, 2012 at 3:58 AM, Jani Tiainen wrote:
>
> 4.5.201
In your form (template), are you trying to modify the is_active? I don't
see anything that pops out at me that's missing. If you want to explicitly
set this, you could do someting like this:
class UserForm(ModelForm):
#
def save(self):
m = super(UserForm, self).save(commit =
hmm, are you supplying the user's pk to the UpdateView?
On Fri, May 4, 2012 at 11:24 PM, William Ibarra Rodriguez <
legolas...@gmail.com> wrote:
> i made it but isn't solved, maybe i need to override another function
> in the class UpdateUserView?
>
> --
> You received this message because you ar
t; Unfortunatly we can't move to Amazon S3. So what other file system or
>> transfer method would you recommend? We had an NFS in place, but getting it
>> to play nice with permissions was quite a hassle.
>>
>> How do other people do this?
>>
>> Tino
>>
cleaned_data should return the value of the field, not the index. Did you
create your own clean__fieldname method?
On Tue, May 8, 2012 at 11:35 AM, francescortiz wrote:
> You have to make sure that the javascript code that populates the second
> select box sets the value properly, or create a cus
1 - 100 of 415 matches
Mail list logo