It's more of a nice-to-have for work. But yeah, it'll not be a very large
project.
Devin Prater
Technical Assistant
256 761-3423
[image: Alabama Institute for Deaf and Blind]
P.O. Box 698 | 1105 Fort Lashley Ave.
Talladega, AL 35161
www.aidb.org
[image: Facebook] Discover
Hi all. I am a rather new Python learner, although I've made the following
script:
https://github.com/prater-devin/src/blob/main/lunch/lunch.py
I want to turn this into a central place where students can get not just
the lunch menu, but also other menus, upcoming events, things like that
please help me i want to upload a file in my django application
how to save in a database(postgresql) an upload file in django ... thank
for your answers .
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and
2 months ago yes !! please i need your help .. it's very importante for me
!!!
--
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...@googleg
hi I want to know how to display the elements from a database in a django
forms ? i use postgresql . please help me
--
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 em
}}
On Wednesday, July 30, 2014 9:19:11 AM UTC, Tom Evans wrote:
>
> On Wed, Jul 30, 2014 at 10:04 AM, Devin Cky > wrote:
> >
> >
> >
> >
> > thank you very much .. how is the template for such a view ... I've put
> each form in a form t
alid() and fich_form.is_valid():
> emet = emet_form.save()
> des = des_form.save()
> fich = fich_form.save()
>
>
> On Tuesday, July 29, 2014 10:53:59 AM UTC-5, Devin Cky wrote:
>>
>>
>>
>> On Tuesday, July 29, 2014 1:48:00 PM UTC, Tom Evans wrote
On Tuesday, July 29, 2014 1:48:00 PM UTC, Tom Evans wrote:
>
> On Tue, Jul 29, 2014 at 12:31 PM, Devin Cky > wrote:
> > hi i am a beginner in django and I have a problem .. how can I validate
> 3
> > forms on the same page simultaneously ..please help me
> >
&
*hi i am a beginner in django and I have a problem .. how can I validate 3
forms on the same page **simultaneously ..please help me*
--
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 i
I've got a complex query that uses a combination of Q objects and
qargs to produce the following query:
Note the T4 alias...this is central to the question.
SELECT
`t_answer`.`id`,
`t_answer`.`question_id`,
`t_answer`.`survey_id`,
`t_answer`.`content_type_id`,
`t_intanswer`.`answer_ptr_id`,
`t_in
Thanks everyone, I tried using some signal handlers but it wasn't
happening so I reverted to the override of the save method and now I
have it working.
Regards,
Devin Morin
On Oct 15, 8:56 am, Blue Cuenca wrote:
> On 10/15/2010 9:01 PM, Devin M wrote:> Hello everyone,
> >
handler.
Regards,
Devin M
On Oct 15, 12:25 pm, Damir Dezeljin wrote:
> Thanks.
>
> I read the docs you pointed med to and now I have few more questions:
> 1. Is it possible to use two or more different back-ends with a single
> Django project? For me it seems not.
>
> 2. After
Im just storing these files in standard ImageFields does the field
take care of that automagically?
And whats the best way to delete the files saved to tmp? should i do a
system call for rm?
On Oct 15, 7:41?am, Jonathan Barratt
wrote:
> On 15 ?.?. 2010, at 21:35, Devin M wrote:
>
>
to delete these files when the
object is deleted too.
On Oct 15, 6:01 am, Devin M wrote:
> Hello everyone,
> I am writing a save handler in my models.py file to run a few
> actions after a save. to do this I have a function called make_photos
> and a connection to the post_save si
Wait looks like i made an error.
http://testsite.com/page/{%pk - 1%}>Previous Page
and you might not be able to use pk so see if you can use data.pk
let me know if it works.
Regards,
Devin M
On Oct 15, 6:56 am, Devin M wrote:
> Oh you want just one record per page? Thats easy.
> url
t": data_list})
template list.html
{% if datalist %}
{% for data in datalist %}
{{ data.text }}
{% endfor %}
http://testsite.com/page/{%pk - 1%}>Next Page
{% else %}
No data is available.
{% endif %}
On Oct 15, 6:43 am, David wrote:
> Hi Devin
>
>
You could use a template in django if your only serving some static
html. Otherwise if its php or something, make a template and restrict
it to admin and have the view render the php and spit it out to the
page context.
On Oct 15, 2:12 am, bowlby wrote:
> We're hosting a small site on our own ser
ng a whole new database backend
from scratch is left as an exercise to the reader; see the other
backends for examples."
So i suppose you can look to the other backends for examples.
Regards,
Devin Morin
On Oct 15, 6:21 am, Damir Dezeljin wrote:
> Hi.
>
> I'm working on an appl
Wait... I just looked at your sql and it looks like you would need to
use multiple-column primary keys which are unsupported by django.
http://code.djangoproject.com/ticket/373
On Oct 15, 4:15 am, Alexander wrote:
> I have a database, which among others has the following tables:
>
> CREATE TABLE
rimary_key = True in your model and Django will
be happy."
Regards,
Devin Morin
On Oct 15, 4:15 am, Alexander wrote:
> I have a database, which among others has the following tables:
>
> CREATE TABLE users (
> userId BIGINT PRIMARY KEY
> );
>
> CREATE TABLE movies (
>
ata is available.
{% endif %}
Might not be 100 percent on the code but i hope it helps.
Regards,
Devin Morin
I think this would work because you can see them using an array in
http://docs.djangoproject.com/en/dev/topics/db/queries/#the-pk-lookup-shortcut
--
You received this message because
runs every save. So
it creates a infinite loop of sorts and I dont know how to make it
perform this action once. Is there another signal I should use? Any
ideas?
Regards,
Devin M
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
I have no problem pulling pages using httplib if the pages do not
require authentication. But now I want to pull pages only after
authenticating. Access is enforced by the contributed auth package.
import httplib, urllib
params = urllib.urlencode({'this_is_the_login_form':1,'username':
'myuser'
I'm having to add calls that look like this to my code so that stuff doesn't
blow up when passing model strings to other libraries:
oldsteadylib.func( smart_str(str) ) # forcing unicode back to bytestring
Ouch. Ugly. Reminds me of the bad old days of working with strings in
C++.
>From what I
settings.py, however this doesn't seem
to be relevant here, thought there is not much in the documentation
about this.
Any ideas? Did I miss the obvious solution?
--
Devin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
25 matches
Mail list logo