I have a basic form with that shows user's uploaded images:
{% for photo in photos %}
Order:
{% endfor %}
I'm stuck trying to figure out how to get the post values for each
image in my view. I believe that I can do request.POST.getlist
('image') but that wi
How would I make a formset for exactly the # of images I have in a
queryset?
On Jul 26, 1:37 am, Daniel Roseman wrote:
> On Jul 26, 6:13 am, django user wrote:
>
>
>
> > I have a basic form with that shows user's uploaded images:
>
> >
> >
> >
shameless bump. Still can't figure out how this would be
accomplished...
On Jul 8, 8:01 pm, Tim Boy wrote:
> What's the best way to make this "custom" widget. I can't find any
> information online with someone making a widget do anything different to the
> actual html of the widget.
>
> TIA
>
>
I'm interested in a solution for this as well.
I am thinking that a good way might be to rewrite the auth middleware
to check and see if a user login for this user exists and if it does
then remove that login and log in the current user. A message could
then be passed to the login page letting th
So is there a viable django solution for this problem?
On Jul 31, 7:50 pm, Malcolm Tredinnick
wrote:
> On Fri, 2009-07-31 at 19:43 -0700, django user wrote:
> > I'm interested in a solution for this as well.
>
> > I am thinking that a good way might be to rewrite the
Hi,
(This is not directly related to Django, but would help me in that domain)
I was wondering if there exists some kind of automated documentation generator
(html, pdf, text, whatever readable format) for instanciated objects.
Basic use for me would be to pass a [newform] object, and it would
Hello,
Considering this basic model:
**
*from django.contrib.auth.models import User
*
*class Meeting(models.Model):
*chairmen = models.ManyToManyField(User, related_name="meetings")
*participants = models.ManyToManyField(User, related_
Hi,
I am wondering if there is a way to access request data and session object
directly from Django templates, in the same way as {{ user }} for instance.
I must admit I'm a bit lost with template context processors and so on...
Thanks for the tip.
--~--~-~--~~~---~-
Hi,
Reading the Django Book online, I noticed that Oracle support made its way in
chapter 5. It is the first time I see Oracle mentionned in official Django
material.
The only references I found before are from the 'Boulder Oracle sprint', tickets
87 & 1990 and their numerous patches.
What is th
Hi,
I store user data in sessions, for authenticated users.
When the user logs out (I use the view shortcut
django.contrib.auth.views.logout), his/her session data remains. Is there an
easy way to remove all session data after a user logout? I would prefer to
avoid wrapping the automated logout i
Thanks Antonio.
This does not directly solve my problem (linked to an old PHP reflex by the
way), but I'll definitely have a look as it may come in handy later.
I see no 'magic' answer to my problem, and looking at the function
django.contrib.auth.logout(), it's not that hard to wrap around it.
Hi,
I came across the new 'newforms' page in Django documentation pages.
I am rather happy to get details about the replacement plan, but it is
definitely lacking information about 'what' it will really replace, and in what
way.
So here I am with a few questions:
1) is this module fully operatio
Hi community,
Been playing with Django for a while now, but I am still confused about the
separation of applications within a project. So far, I end up either
implementing all my features within one Django app, or having too many direct
connections between my apps, making each of them unexportab
Basically I am working on a very light groupware project, customised for my unit
(in terms of functionalities, workflows, reporting, statistics).
I started a Django project with 3 major features in mind:
1) bug tracking (a la Trac, without any connection to revision control)
2) centralized docum
Hi community,
For a smallish app, I want to manage document templates (model: Template) for
documents (model: Document).
Template has a foreign key on Document (many to one relationship).
Now, I want a default Template per Document.
How would I do that?
I thought of various implementations:
- h
Hi,
I have a field in my database which contains data type as a text.
Note: these data types will be used when filling up information. How
to based my input in my specified data type as an Admin control?
For example, i have a category of payment and i choose on another
field is "numeric" as a
hello
i keep getting the following error messages that state mod_wsgi was already
loaded and segmentation faults. pls. see an example:
[Tue Jan 13 23:46:11 2015] [error]
/usr/local/lib/python2.7/dist-packages/pytz/__init__.py:29: UserWarning:
Module mod_wsgi was already imported from None, but
hello,
we are working on an application where users can register new types of data
streams through Django. so it requires a mechanism to create new tables
(cassandra) on the fly. what is the best Djangoish way to implement such
dynamic models? pls. let us know. thanks in advance.
--
You recei
during the
>> configuration step of the app).
>>
>> Not sure if this would work though...
>>
>> Em ter, 17 de mar de 2015 às 08:27, Django User > > escreveu:
>>
>> hello,
>>> we are working on an application where users can register ne
Hi, I have problems with Django in windows 7.
I installed Django using Windows Powershell:
PS C:\Python27> pip install django
Requirement already satisfied (use --upgrade to upgrade): django in
c:\anaconda\lib\site-package.
However, when I run "import django" in Python 2.7.6 shell, it showed t
t when you do the following?
>
> Python 2.7.6
>
> >>> import sys
> >>> sys.path
>
> On Thu, Jul 24, 2014 at 1:23 PM, New Django User > wrote:
> > Hi, I have problems with Django in windows 7.
> >
> > I installed Django using Windows Powe
ks.
Xuan
On Thursday, July 24, 2014 4:07:26 PM UTC-4, Matt Gushee wrote:
>
> Hi, Liu Xuan--
>
> What result do you get when you do the following?
>
> Python 2.7.6
>
> >>> import sys
> >>> sys.path
>
> On Thu, Jul 24, 2014 at 1:23 P
I am new to Django and building a simple webpage where the user can upload
a file and then that file will be processed using Google API. I am done
with creating a user login page but not sure how to start with the 2nd part
i.e. file upload and Google API.
Can anyone help me or suggest some tuto
> On Wednesday, 26 February 2020 18:00:09 UTC+5:30, New Django user wrote:
>>
>> I am new to Django and building a simple webpage where the user can
>> upload a file and then that file will be processed using Google API. I am
>> done with creating a user login page bu
24 matches
Mail list logo