I would be interested in joining the project. What is the project?
On Wed, Aug 5, 2020 at 7:56 AM neeraj garg wrote:
> Hi Guys,
>
> Could you please give me a clue what kind of project you are planning to
> build?
>
> On Wed, Aug 5, 2020, 8:23 PM jhabar singh
> wrote:
>
>> Sapna, Can you tell m
Great. Thanks Jason.
On Friday, November 17, 2017 at 8:29:02 AM UTC-5, Jason wrote:
>
> You can do this with pip, check out
> http://www.nyayapati.com/srao/2014/06/how-to-pip-install-python-packages-offline/
>
>>
>>
--
You received this message because you are subscribed to the Google Groups
I need to upgrade Django 1.9 to 1.11 on a closed network. Is there a way
to upgrade from a downloaded source file ?
I've successfully upgraded on our Cloud environment using "pip3.5 install
-U Django" but can't use this command on a closed network since pip is
looking to
enterprise clients?
Mudassar, what in particular should I look at on that site? It looks like
it's a service for migrate on-premise infrastructure to the cloud?
On Monday, December 26, 2016 at 12:34:47 PM UTC-6, Todd Schiller wrote:
>
> My team is considering using Django for a SaaS
tion/Authorization: e.g., LDAP, AD, etc.
- Updates: bug fixes, and changes requiring migrations
Also, if you're a development shop that has experience building enterprise
Django applications, we'd love to chat with you because we're looking for
some extra resources on our projects.
Having a miserable time trying to get a django site running on a wintel box.
The issue comes after I add models to models.py.
I keep getting the error Could not import settings 'myapp.settings'...No
module named myapp.settings.
Very irritating trying to get a site up and working on a windows ma
Thanks Tom. I tried copying and pasting the urls.py data into the thing and
I got this error.
Could not import django.views.generic.list_detail.object_detail. Parent module
django.views.generic.list_detail does not exist.
I'm assuming that that is depreicated and that this app no longer works?
I have a feeling that this application is too old to use and is missing too
much code?
--
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, send an email
to django-users+unsubscr...@
Hello there,
I just install Django yesterday. I am trying to take a calendar app and
edit it for my own means. Unfortunately I am a little confused on how to
create the Urls.py file to match the application.
Here is the application.
http://code.google.com/p/django-event-calendar/source/browse/#
nd of information was available
in an overview document on the django-cms project homepage.)
Todd Wilson
Jonas Obrist wrote, on 01/14/2011 09:31 AM:
> The django CMS core team just released the third release candidate for
> version 2.1.
>
> Download: http://pypi.python.org/pypi/dja
s. I also have to decide where to install
django (if they don't do it for me), where to put my django application
files, and where to put my site media. I'd be grateful for any advice
on these topics. Thanks,
--Todd
tiemonster wrote, on 12/12/2010 06:03 AM:
> Do you have access to
elf with an .htaccess file?
--Todd
> On Dec 9, 8:56 pm, Todd Wilson wrote:
>> A couple of weeks ago I sent the message quoted below to the list. One
>> reader (Daniel Roseman) replied and suggested that I might not need to
>> ask the hosting service to install anything, quoting
can be
done with an .htaccess file, and how much I will have to ask them to do
for me?
Thanks,
--Todd
Todd Wilson wrote, on 11/27/2010 07:20 PM:
> I'm helping some friends improve a portal website they have created
> using PHP, but which would be ideal for Django, in the sense that a lot
>
a foreign-key
relationship? I'm facing this decision in a number of different places
in a Django application I'm working on.
Thanks,
--Todd
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
been looking into. I'm pleased to
see that it coincides with your recommendation :-).
--Todd
--
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...@googlegroups.com.
To unsubscribe from this g
e would be many to choose from:
http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts
Thanks,
--Todd
--
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...@googlegroups.com.
To unsubs
I teach a course in which I have students developing unrelated Django
projects on servers of their own choice. As we near the end of the
semester, I would like to set up a single server where I can host all
of these student projects together. I will obviously create a new
user, as well as a new m
Hello all,
I've been working through an issue with my django project. The issue
is I've got one project, which will retrieve data for users of
different clients. I need to know 'from where' a viewer is coming from
(request.path [my original solution]). I've been looking at a number
of different op
x and the ability to compose forms dynamically and quickly.
Thanks for the help. I may pick it up again - but probably not for this
project.
-Todd Blanchard
On Dec 20, 2009, at 1:06 AM, Russell Keith-Magee wrote:
> As for dynamically expanding forms - Django treats that as a client
> side pr
expanding forms - IOW, allow the user to keep
adding books to an Author using DHTML.
So far my impression of forms is - ick - lame.
-Todd Blanchard
On Dec 19, 2009, at 4:37 PM, Karen Tracey wrote:
> On Fri, Dec 18, 2009 at 7:27 PM, Todd Blanchard wrote:
> One thing I'm keenly miss
Clear as mud. Where does it show how I update two objects in one form?
On Dec 19, 2009, at 1:16 PM, Antoni Aloy wrote:
> 2009/12/19 Todd Blanchard :
>> How does this solve the problem of having two related objects that have the
>> same attribute name (like "name") on
ef/request-response/#querydict-objects
> for more info.
>
> On Sat, Dec 19, 2009 at 2:27 AM, Todd Blanchard wrote:
> One thing I'm keenly missing from rails is the form input naming convention
> that causes the form values to be converted into a hierarchy. For instan
two' }}
this is very handy when updating multiple related objects in a single form
submit.
Is there a similar facility for django/python or will I need to write it?
-Todd Blanchard
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
I need users to attach arbitrary media files to database records. Attachments
seems to do what I need, except that its UI is utterly lame - it should figure
out the media type of the file from the extension and display an appropriate
thumbnail as well as a way to provide a viewer inline. Also,
'
and the entire app dies)
and a few others. I'm stuck. What's the trick to getting compatibility tags
for django installed into jinja2?
-Todd Blanchard
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
m no regex maven - I use them seldom and always
have to look them up and fiddle around with them for quite awhile to get them
right).
So, no, I would not be happier with pylons. I'm happy here with this
modification, thanks.
-Todd Blanchard
On Dec 4, 2009, at 12:41 AM, bruno desthuill
I'd gotten nearly a dozen responses to a later question so I figured the
threshold of awareness had passed on this one.
Anyhow, I'll check that one out. Thanks.
On Dec 3, 2009, at 2:48 PM, Nick Arnett wrote:
> tempted not to respond due to the "deafening silence" comment... did you
> imagine
y model vs view (because when I say view - I
mean just a function that takes a request, returns a response, and lives in a
file called views.py).
What am I missing?
On Dec 3, 2009, at 11:58 AM, bruno desthuilliers wrote:
> On 3 déc, 20:42, Todd Blanchard wrote:
>> On Dec 3, 2009, at 10:46
include it? I definitely cringe when copying an integrated
app's templates into my project's template hierarchy.
-Todd Blanchard
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
c 3, 2009, at 9:05 AM, Todd Blanchard wrote:
> Forms seem nifty, but sometimes I want to display the data in the same format
> but readonly. Is there a to do this? I can't seem to find it.
>
> -Todd Blanchard
>
> --
>
> You received this message because you are s
Oh, I've already come to terms with that. So long as XCode makes indenting
easy I'm OK. :-)
On Dec 3, 2009, at 11:19 AM, Alex Robbins wrote:
> If you start to complain about significant whitespace too, you aren't
> welcome to stay either. :)
--
You received this message because you are subscr
I'm quite aware how the amazon browse service works. I also know it takes a
whole team of people to manage it. I'm one guy. :-)
On Dec 3, 2009, at 10:31 AM, Sean Perry wrote:
> Here is the page on Amazon for Learning Python:
--
You received this message because you are subscribed to the Goog
han one. Not DRY
at all. Just adding an app to INSTALLED_APPS should make all this other stuff
just happen.
-Todd Blanchard
On Dec 3, 2009, at 9:40 AM, Javier Guerra wrote:
> have you considered writing a url pattern generator? if it's handy
> enough, it would become quite popul
Forms seem nifty, but sometimes I want to display the data in the same format
but readonly. Is there a to do this? I can't seem to find it.
-Todd Blanchard
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
python, django, postgis, and
a whole other raft of technologies all at once. Its a steep curve and I can
use all the help I can get.
-Todd Blanchard
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, se
That did it. I figured if the form had a primary key it would do an update. I
guess that was wrong.
The url is the form you describe, but the dispatcher view method adds the id to
the GET of the request to pass it on. So the url for this is actually
/incidents/edit/4.
Thanks.
On Dec 3, 20
n_occurred = forms.DateTimeField(widget=widgets.AdminSplitDateTime())
reporter = forms.ModelChoiceField(User.objects.all(),
widget=forms.HiddenInput())
id = forms.CharField(widget=forms.HiddenInput())
class Meta:
model = Incident
fields = ('title', '
Thanks, that makes the form show up populated.
But saving it creates a new record, despite making sure I have id in a hidden
field on the form. :-/
On Dec 3, 2009, at 12:26 AM, Rishabh Manocha wrote:
> On Thu, Dec 3, 2009 at 4:17 PM, Todd Blanchard wrote:
>> All the tutorials on form
onary of values, so how to convert a model object to a
dict?
-Todd Blanchard
--
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...@googlegroups.com.
To unsubscribe from this group, se
string
> you've got handy.
>
> I think that the reason why this latter suggestion doesn't have a
> reason to exist is because you've always got to validate all sorts of
> stuff very specific to the model. By making one generic view, you're
> bound to never r
>> form = IncidentForm(initial={
>>'reporter': request.user.id,
makes it work OK. Seems counter-intuitive given the the ForeignKeyField wants
to work with objects rather than keys though.
On Nov 26, 2009, at 12:33 PM, Todd Blanchard wrote:
> I want it to
iceField
> (User.objects.all(), widget=forms.HiddenInput())
>
> then it should work out ok. I usually hide fk fields to a user if i
> want the current request.user object, because I don't want to allow
> the possibility for it to be changed.
>
> On Nov 25, 10:32 pm, Todd Blanchard wro
ve rendered the current logged in user's name elsewhere on the page,
it is set. But the popup selector isn't getting its selection set right. Any
tips?
-Todd Blanchard
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
s
on every page as part of the base template.
So far so good. Hopefully I won't find any more widgets with surprise
dependencies.
-Todd Blanchard
On Nov 25, 2009, at 12:14 PM, Tim Valenta wrote:
> Is it a widget that has the "core.js"? I'd suggest putting that on
>
results in failure.
Is there some way to specify order dependency in js files using this mechanism?
Otherwise I think it is worthless.
-Todd Blanchard
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
ittle snippet or recipe to do this generically once and for all?
-Todd Blanchard
--
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...@googlegroups.com.
To unsubscribe from this group, send e
Did that, filed it. Ticket #12264
-Todd Blanchard
On Nov 25, 2009, at 8:01 AM, Tim Valenta wrote:
>
>
> On Nov 24, 10:32 pm, Todd Blanchard wrote:
>> Yep, I solved this by ripping and copying some code out of admin/sites.py
>> and adding a url conf for it.
>>
Yep, I solved this by ripping and copying some code out of admin/sites.py
and adding a url conf for it.
It works now, but this should be included by default through the widget media
dependency system. Not very slick. I tried filing a bug and the submission
was rejected as spam.
-Todd
I'm trying to use the date/time entry widgets from admin and I get this
javascript error and the controls don't render.
Where is this supposed to come from?
In annoyance, I have copied the head section precisely from an admin page that
work. Still doesn't work in my page.
in the admin
but now I'm building my own UI).
In fact, I'm pretty fuzzy in general about how code like widgets gets "found"
and loaded.
-Todd Blanchard
On Nov 24, 2009, at 3:52 PM, Tim Valenta wrote:
> Sorry-- I got out of sync with the replies.
>
>> Or am I missing s
gt; appreciating the slick objects that have been crafted for this very
>> purpose.
>>
>> Your view:
>> cumulative_media = form.media for form in forms
>> return render_to_response('mytemplate.html', {'media':
>> cumulative_media})
>>
ve_media})
>
> Your template:
>{% block my_media_block %}
>{{ block.super }}
>{{ media }}
>{% endblock %}
>
> I fail to see what is so hard about this.
>
> Tim
>
> On Nov 24, 4:13 pm, Todd Blanchard wrote:
>> You know what, this is
ight in my head.
-Todd Blanchard
On Nov 24, 2009, at 2:05 PM, Tim Valenta wrote:
> The idea is along the lines of what you initially guessed.
>
> The admin accomplishes the non-duplicate effect in django/django/
> contrib/admin/options.py, starting at line 770. It loops over the
&g
What about de-duping?
If two forms want the same js file, will it get included twice?
It seems like this is the kind of thing that the framework should handle and
the current "solution" is kind of half baked.
-Todd
On Nov 23, 2009, at 2:40 PM, Mark (Nosrednakram) wrote:
>
> He
f properly but I cannot figure
out how. Seems like I should be able to do something like
{{ media }}
but I cannot figure out exactly how to properly aggregate all the forms'
media's and get them spewed into the templates properly.
-Todd
--
You received this message because you a
Wow, thanks. I can actually walk to that one!
-Todd
On Nov 21, 2009, at 11:34 AM, Donna Snow wrote:
> Todd,
>
> Have you tried Meetup? If you can't find one there.. start one :-)
>
> Found this Django San Diego - meeting December 1:
>
> http://djangosd.jottit.com/
&
I'm still kind of struggling to get off the ground with django and
think I'd benefit from some face time with other developers. I'm in
San Diego.
Any resources?
-Todd
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
x27;m building a multiple-domain site and using the sites module
so I want different layouts for different sites.
Can someone point me an example or a module or something?
Thx
-Todd
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
ddleware',
)
I added the last line and restarted the server. Same result.
On Nov 3, 2009, at 9:16 AM, Todd Blanchard wrote:
> As a total noob - I do that how?
>
> On Nov 3, 2009, at 9:14 AM, DrBloodmoney wrote:
>
>> Make sure that you have the CSRF middleware ins
As a total noob - I do that how?
On Nov 3, 2009, at 9:14 AM, DrBloodmoney wrote:
> Make sure that you have the CSRF middleware installed.
>
>
>> On Nov 3, 2009 12:09 PM, "Todd Blanchard" wrote:
>>
>> What did I screw up?
>>
>> TemplateSyntaxErr
What did I screw up?
TemplateSyntaxError at /polls/1/
Invalid block tag: 'csrf_token'
Request Method: GET
Request URL:http://localhost:8000/polls/1/
Exception Type: TemplateSyntaxError
Exception Value:
Invalid block tag: 'csrf_token'
Exception Location: /Library/Python/2.6/site-pac
y of the tools
yet, but I've got a web app to build and I've judged django has more
pre-built parts I need than anything else so here we go.
-Todd
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dj
You shouldn't have to do that. Most browsers cache form state so if a
user jumps off your page, then hits back, the form values should all
be restored. Try doing nothing and see what the browser does. I'll
bet it is what you want.
-Todd
On Oct 27, 2009, at 4:37 PM, webbo wrot
Great, I was trying to decide between that and "The definitive guide"
and guess which one I ordered
Back to Amazon... :-/
There's quite a learning curve here.
-Todd
On Oct 27, 2009, at 5:15 PM, Mike Dewhirst wrote:
>
> Todd Blanchard wrote:
>> Total d
that
relationship.
Anybody done this? Got any tips?
Thanks,
-Todd Blanchard
--~--~-~--~~~---~--~~
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@googlegro
ect
abandoned? Is there another workflow lib for django? I love the
admin and am leaning heavily towards django just for this, but I am
doing a system with a lot of different classes of users and events and
handoffs.
-Thanks
-Todd Blanchard
--~--~-~--~~~---~--~---
Hello all,
I'm working through the Practical Django Projects 2nd edition, and I'm
using Django 1.0.2.
I installed the tagging application tarball in my site-packages and
when I ran the syncdb command the tagging application referenced a
deprecated django object parse_lookup:
from django.db.mode
els import Document
def document_auther(request, filename=None, *args, **kwargs):
# Here I can perform any logic like a normal view, with access
to request.user
(trimmed a bit for simplicity, a full solution would probably use
uuids on the filepath). So, is this a good idea/would people
the desert instead
of getting something done?
Thanks,
Todd
--~--~-~--~~~---~--~~
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 unsubscrib
In addition to displaying the message, it's also submitting the form,
so you see the text for a second and then the form reloads.
Change the instead of "submit" and see if that helps.
Todd
On Sun, Feb 1, 2009 at 6:05 PM, min wrote:
>
> First I have a form:
>
>
How about:
items = Item.objects.filter(categories=category, expire_date__gt=today)
?
Todd
On Sun, Feb 1, 2009 at 2:04 PM, KJ wrote:
>
> Hi, I want to filter objects based on whether they have expired or
> not. Each object has an expiration date. Right now, I am getting all
> the
You can pass data to a form class as a dictionary, so just save a
dictionary of the values in your session under some name that you'll
know to use.
On Fri, Jan 30, 2009 at 5:04 PM, Tyler Brownell wrote:
> http://groups.google.com/group/django-users/browse_thread/thread/ed74391560c762bb
>
> On Fr
On Thu, Jan 29, 2009 at 9:28 PM, Malcolm Tredinnick
wrote:
>
> On Thu, 2009-01-29 at 15:40 -0500, Todd O'Bryan wrote:
>> I'm trying to validate an uploaded csv file, so I want to read the
>> first line of text and if it's not the right format, send an error
&
ll create a two-line patch and
submit it--both StringIO and temp files support the method) or a
design decision with a good reason?
Thanks,
Todd
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&quo
I'm not sure I understand what you're asking, but
projs = Project.objects.filter(campaign__industry=x)
where x is one of 1-6 should do what you want, I think.
Is that what you were asking?
On Thu, Jan 29, 2009 at 9:54 AM, Kyle wrote:
>
> Hello!
>
> I am trying to get a list of "Projects" base
ant it. I'm
okay with living in the present. Especially since I've had four whole
days to work on Django stuff since my school district (I teach CS at
the high school level.) is closed all week because of an ice storm
that has knocked out power at about 1/3 of the schools.
Todd
On Sun, Jan 25, 2009 at 7:13 PM, Karen Tracey wrote:
> On Sun, Jan 25, 2009 at 7:03 PM, Todd O'Bryan wrote:
>>
>> I've been trying to convert my apps to use the relative imports from
>> __future__ and have noticed a problem. I think it may be something
>&
ng this, does it have to since it will mess
up absolute_import users?
Thanks,
Todd
--~--~-~--~~~---~--~~
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@g
On Tue, Jan 6, 2009 at 6:23 PM, Russell Keith-Magee
wrote:
>
> On Wed, Jan 7, 2009 at 4:51 AM, Todd O'Bryan wrote:
>>
>> So, I've been trying to speed up tests. Surprise. I came across a
>> fairly easy solution, so I'm sure I must be missing somethin
On Tue, Jan 6, 2009 at 6:05 PM, Malcolm Tredinnick
wrote:
>
> On Tue, 2009-01-06 at 14:51 -0500, Todd O'Bryan wrote:
> [...]
>
>> So, what am I missing? I know this doesn't deal with doctests--the db
>> gets cleaned for all of those, but does anyone see when t
ed.
Just trying it on some model and request/response tests, I got a
speed-up from nearly a minute to less than 20 seconds for 13 tests.
So, what am I missing? I know this doesn't deal with doctests--the db
gets cleaned for all of those, but does anyone see when this is just
going to blow up
Hi,
I'm using the latest django release 1.0.2 and following the tutorial.
I noticed I do not have 'Sites' in my admin site. Am I missing
something to get the 'Sites' appear?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
='thisUsername')
classes = myUser.class_set.all()
Todd
On Sun, Aug 17, 2008 at 8:11 PM, Robert <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I'm trying to query a ManyToManyField to see whether or not it
> contains a specific type of object.
> My query is as follows:
m trying to get a multiple items from the DB, and if an item is
selected, then the page reloads with the selected items information.
Thanks,
Todd
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&quo
My students and I are working on a Django system for online quizzes.
It should be finished sometime this summer. I'll post a link when we
finish it.
Todd
On Wed, May 14, 2008 at 10:35 PM, Ariel Mauricio Nunez Gomez
<[EMAIL PROTECTED]> wrote:
> Moodle and Django can coexist happi
There's also xlrd:
http://www.lexicon.net/sjmachin/xlrd.htm
On Wed, Apr 9, 2008 at 1:23 PM, Claudio Escudero <[EMAIL PROTECTED]> wrote:
> Thanks,
>
> I liked it.
> =)
>
> I did that tips for using pyExcelerator with the django
> Http://www.developer.com/lang/other/article.php/3727616
>
> On Wed,
On Wed, Apr 9, 2008 at 6:54 AM, Russell Keith-Magee <[EMAIL PROTECTED]>
wrote:
>
> On Wed, Apr 9, 2008 at 1:47 AM, andy baxter
> <[EMAIL PROTECTED]> wrote:
> >
> > Do you mean middleware specifically written for django? If so not sure,
> > but it might be worth looking at dojo (http://www.dojoto
On Mon, Mar 31, 2008 at 12:46 AM, Kenneth Gonsalves <[EMAIL PROTECTED]>
wrote:
>
>
> On 31-Mar-08, at 9:58 AM, Todd O'Bryan wrote:
>
> > Sorry this is two weeks late (it's been a bear of a two weeks), but
> > I use Django with high school students who
ents.
If you'd like more info, feel free to email me.
Todd
--~--~-~--~~~---~--~~
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 unsu
ing a static checker on Django code
is a mess.
Would a good GSoC project involve modifying one or both of the standard
Python code checkers so that they're smarter about Django?
Or maybe everybody thinks static checking is for wimps and I should just
stop misspelling things...
Todd
P.S.
Hi all,
I've been looked at the links here on this thread, and online for how
to connect my css but the answer still aludes me. I'm not sure where
the things are going wrong, so I'm going to present a dummy
environments to try to go through the steps of connecting to static
files.
Say I've got a
Sorry, I didn't see the reply from Thomas.
I do have a question about this answer, it says to use only in a
development environment. How can I handle this issue in a production
environment?
T
On Feb 4, 8:30 am, todd <[EMAIL PROTECTED]> wrote:
> Hi Django users,
>
> I h
Hi Django users,
I have the same problem...
Do I have to register the css in urls.py (I shouldn't think so)? Also
I found the ADMIN_MEDIA_URL (I believe that's the setting, in the
settings.py file) It mentions it should be the path to css, and
javascript, but I guess that's only for the admin in
got a suggestion to try the svn version, which i did, and
hey yep the error is gone.
thanks for the time
t
On Jan 25, 7:08 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> On Jan 25, 12:55 pm, todd <[EMAIL PROTECTED]> wrote:
>
> > class Image(models.Model):
> > image = mode
class Image(models.Model):
image = models.ImageField(upload_to='/PATH/site/files',
blank=True, unique=True)
class Admin: pass
def __str__(self):
return self.image
class Client(models.Model):
name = models.CharField(maxlength=255)
street = models.CharField(maxlength=2
7;\\'\\xff\\xd8\\xff\\xe00\\x10JFIF\\
\\0\\x01\\x02\\x010H0H00\\xff\\xe1\\x' at line 1")
The same thing happened with a ManyToManyField(Image).
Has anyone got any clues what's happening?
Thank,
Todd
--~--~-~--~~~---~--~~
Y
submitting a
form. (There are probably more subtle rules, but stick with these unless you
have a good reason to break them.)
Todd
On Jan 20, 2008 5:58 PM, Greg <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I have a form submission where people can search by properties of my
> produc
initial?
>
Not exactly what you're looking for, but in the neighborhood:
http://code.djangoproject.com/wiki/CookBookNewFormsDynamicFields
You want to do something like
def __init__(...):
...
self.fields['text'].initial = function_to_get_my_initial_value()
HTH,
Todd
--
Try downloading Kodos and sticking in your regex and the string you
want to match it and see what it says.
Todd
On Jan 2, 2008 12:59 AM, Greg <[EMAIL PROTECTED]> wrote:
>
> ocgstyles,
> Tried it...still no good
>
> (r'^(?P[a-zA-Z]+)_(?P[a-zA-Z]+)/$', '
Have you added the app to your INSTALLED_APPS ?
Maybe you should paste in your site's urls.py as well as the app's.
On Jan 1, 2008 11:09 PM, Greg <[EMAIL PROTECTED]> wrote:
>
> ocgstyles,
> I've tried the following combinations however I still get the Page Not
> Found error:
>
> (r'^(?P[a-zA-Z-]
1 - 100 of 296 matches
Mail list logo