Hello, I want to upload image in django-admin interface to few
folders.
My models image field such: image =
models.ImageField(upload_to='images')
How can I do it?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Thanks Peter!
On Jul 23, 2011, at 1:09 AM, Eyad Al-Sibai wrote:
Thanks a lot! I appreciate it
On Sat, Jul 23, 2011 at 5:33 AM, Peter Murphy wrote:
> Eyad,
>
> Well, I'll be damned:
>
> http://www.djangosites.org/with-source/
>
> It's good etiquette to say "thank you" at this point. ;-)
>
> B
I've spent the 10+ years developing serverside apps in java. I've
never done any web page developement. Someone recommended Django. Any
suggestions on where to start? Is Django too advanced for me if I've
never done web side developement?
--
You received this message because you are subscribed to
Some python knowledge is helpful, if not required.
Since you should know general programming architectures from java, I
recommend "Dive into Python" to learn python.
http://diveintopython.org/
2011/7/23 Riefers
> I've spent the 10+ years developing serverside apps in java. I've
> never done
HI,
To have some knowlege of python is of course helpful but I think you can
learn to write django applications quite fast starting with Djangos own
tutorial since you have programming knowlege form another language.
https://docs.djangoproject.com/en/dev/intro/tutorial01/
Good luck!
On Sat, Jul
One thing for sure you need to know some HTML + CSS as well I remember when
I started Django I had my application but the UI sucked bad so put the combo
on ur check list :D
On Sat, Jul 23, 2011 at 8:52 AM, jocke khazad wrote:
> HI,
>
> To have some knowlege of python is of course helpful but I t
Hi guys
I'm agree with those guys, no further python knowledge it is required to
start with django, but maybe in the future will be necesary to increase your
django skills.
good luck and enjoy django.
On Sat, Jul 23, 2011 at 11:04 AM, Furqan Rauf wrote:
> One thing for sure you need to know so
That's interesting, I hadn't thought about using a hidden input for
next in the two login templates.
In the end, though, I went with just one login template.
And rather than use UserProfiles (since there were no additional
attributes I needed to attach to the default User model, and my two
user t
I am a little bit confused... what functions should I write it in the
Manager and what should be within the Model itself... Also what functions do
you think should be written inside the class Admin within the Model?
Regards,
Eyad
--
You received this message because you are subscribed to the Go
Have you got django to run on II7 at all. I tried it and was not able
to get it to work. If you did I'd love to try it and see what comes up
with it.
On Jul 22, 7:46 am, The Ape wrote:
> Hi,
>
> I am running Django (1.3) with PyISAPIe (Python 2.6.6) on IIS7.
> I am using the Django tutorial pages
About methods in managers and models are described rather well in:
https://docs.djangoproject.com/en/1.3/topics/db/managers/#adding-extra-manager-methods
Putting Admin class inside models is deprecated about 3 years ago. You
should read
https://docs.djangoproject.com/en/dev/intro/tutorial02/#writi
Model methods are custom methods that add custom row level
functionality to your objects.
For example, if your model has a first_name field and a last_name
field, and you wanted to return the full name, your custom model
method could be:
class Person(models.Model):
first_name = models.CharFi
Reason is that admin uses QuerySet.delete()
(https://docs.djangoproject.com/en/1.3/ref/models/querysets/#delete)
Note that deleting files while deleting models is dangerous: what happens if
deletion is aborted and rolled back for some reason? You have now deleted
files but instances stayed in a da
On 23 juil, 15:19, Riefers wrote:
> I've spent the 10+ years developing serverside apps in java. I've
> never done any web page developement. Someone recommended Django. Any
> suggestions on where to start? Is Django too advanced for me if I've
> never done web side developement?
I don't understa
On Sat, Jul 23, 2011 at 3:03 PM, bruno desthuilliers
wrote:
> I don't understand what you mean by "serverside apps" here - I mean,
> Django IS for serverside applications, not client side (which would
> require javascript).
There are other kinds of servers and clients besides web, you know.
Also
Many thanks Bruno and Jacob.
Rodney
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
Fo
I went from JAVA to python and am now learning django.
Going from JAVA to python is not a big deal.
Most of the concepts are the same, the biggest difference
being that JAVA is strongly typed and python is weakly typed.
This just means a python object can be any type, it doesn't have to
be declare
Hi,
I try to populate a template from a Model with a ForeignKey element)
members of the foreign key element should be displayed.
If I understand correctly my first attempt resulted in one query for
fetching the entries from my first model and in one Query for each row
in order to look up the cont
On 07/22/2011 04:15 PM, Alexey Luchko wrote:
> On 22.07.2011 02:59, Gelonida N wrote:
>> Another issue, that I had is trying to use django under windows with
>> py2exe.
>>
>> Management commands are no more found, as django would require the
>> python source code in order to find existing managemen
I am python django developer having almost 5 years of experience including 3
years of django experience. I have more than 200 hours odesk time as well.
Plz let me know if you have such kind of jobs for remote developer.
Sincerely,
Kashif
On Wed, Jul 13, 2011 at 2:38 AM, Robert Boulanger <
rober
TypeError at /waybill/deserialize/
Incorrect padding
Request Method: POST
Request URL:http://127.0.0.1:8000/waybill/deserialize/
Django Version: 1.3
Exception Type: TypeError
Exception Value:
Incorrect padding
Exception Location: /Library/Frameworks/Python.framew
21 matches
Mail list logo