Hi;
How can i implement to use signals inside channels2? I want to send
message via consumer when a database field is updated. Wiil that be inside
consumer or models? Is there a sample or tutorial?
Best regards
--
You received this message because you are subscribed to the Google Groups
Note that if these images will be displayed on the site it is best done by
your front end (Apache, ngnx, etc.) since the HTML to show them treats them
as a separate request, and serving static files is your front end's forte.
The front end knows how to do this with files, but probably not with
data
https://docs.djangoproject.com/en/1.7/ref/models/fields/#imagefield
The image file will not be stored in the database, but in MEDIAROOT by
default. So maybe this is not the answer to your question.
On Wednesday, October 29, 2014 10:18:30 AM UTC+1, Shubham Gupta wrote:
>
> Is there any way from
Is there any way from which i can add image as a field so that images are
added into my database?
what data type i must use for this problem..?
thank you in advance
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this grou
On May 11, 7:55 am, Karen Tracey wrote:
> Have you investigated creating your own custom field:
>
> http://docs.djangoproject.com/en/dev/howto/custom-model-fields/
Thanks, I did look at that briefly. Was hoping there was some sort of
built-in support that wouldn't require me to define my own cus
On Mon, May 11, 2009 at 6:08 AM, Will Kraytos wrote:
> Hi there,
>
> My company's application needs to store binary data in the database. I need
> it to work at least across the two database systems we're currently using:
> Postgres (bytea) for production, SQLite3 (BLOB) for development.
>
> What
Hi there,
My company's application needs to store binary data in the database. I need
it to work at least across the two database systems we're currently using:
Postgres (bytea) for production, SQLite3 (BLOB) for development.
What are my options?
The only relevant ticket[1] causes me to believe
On Mon, 2009-01-26 at 20:47 -0700, reed crowe wrote:
> I am trying to integrate a web front end to another
> application that uses a mysql database. The applications
> stores small png graphs as blobs in the database and I
> would like to be able to display those in the web front
> end. I have
I am trying to integrate a web front end to another
application that uses a mysql database. The applications
stores small png graphs as blobs in the database and I
would like to be able to display those in the web front
end. I have seen a few discussions on the topic, and maybe
a patch for co
Hi,
We use a lot of IP Adresses and Networks in FFSomething. Currently the
default IPAdressField which works more or less good. To make it easier
to work with IP Networks, i wan't to create a generic IP field type.
Now my problem:
To make this field working on every database, i thought about thi
Dear Aidas;
Can you please give me more details for the solution as i can't
understand how to develop this solution
Thank you for your help :)
Mary Adel
On Feb 27, 12:12 pm, "Aidas Bendoraitis" <[EMAIL PROTECTED]>
wrote:
> I think, overriding the admin template for specific application would
>
I think, overriding the admin template for specific application would
be the most straightforward solution:
* create a template in your template dir admin/yourapp/change_form.html
* show some field there only if request.user has some permissions.
Regards,
Aidas Bendoraitis [aka Archatas]
On 2/2
How can i create a field in a model that can't be seen by anyone that
logs onto the admin interface except by certain user only
Thank you in advance;
Mary Adel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djang
is is the correct way, if not somebody can advise me another
> > ;)
> >
> > On Nov 14, 11:37 am, "tinti" <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > > I need some help updating a database field. Can someone post me an
> > > example on
er
> ;)
>
> On Nov 14, 11:37 am, "tinti" <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > I need some help updating a database field. Can someone post me an
> > example on updating a database field using the views.py and a static
> > value to update. For exa
Hi all,
I need some help updating a database field. Can someone post me an
example on updating a database field using the views.py and a static
value to update. For example each time an item is requested set the
field read to 1. I have to build something similar.
Thanks for any reply
tinti
Got it:
update = Queue.objects.get(message=message_id)
update.read = 1
update.save()
I thinks this is the correct way, if not somebody can advise me another
;)
On Nov 14, 11:37 am, "tinti" <[EMAIL PROTECTED]> wrote:
> Hi all,
> I need some help updating
Rachel Willmer wrote:
> I have a complicated query which should return the subset of a table
> whose objects match one of several conditions.
>
> What's the easiest way of doing this, given that I can't just do a SQL
> statement, because some of the conditions require me to feed the
> object's va
I have a complicated query which should return the subset of a table
whose objects match one of several conditions.
What's the easiest way of doing this, given that I can't just do a SQL
statement, because some of the conditions require me to feed the
object's values into a function to evaluate i
19 matches
Mail list logo