you can use django commands...
https://docs.djangoproject.com/en/3.0/howto/custom-management-commands/
On Tue, Feb 18, 2020 at 2:17 PM Soumen Khatua
wrote:
> Hi Folks,
>
> I want to run a script or url at the time of django server loading.So
> Does this possible,If yes could you tell me,How?
>
Hi Folks,
I want to run a script or url at the time of django server loading.So Does
this possible,If yes could you tell me,How?
Thank you in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
Dear Django-Team,
I trying to create an IoT application with Django Channels, this is my plan
- I have is a python program that can fetch data from several hardware
devices(PLC, Smart Sensors, etc..) and publish data into the Redis channel
(this program is running 24/7 and 365 days).
I found an app called redirects that gives me a way to create redirects via
the admin UI.
It works great, but I noticed that it doesn't support passing along the URL
parameters to the new redirect target. It seems that this would be a good
idea.
I found that someone posted a snippet of code
I'm so down for this Let me know when you guys want to start this
journey.
-Mike
On Fri, Feb 14, 2020, 9:15 AM Akorede Habeebullah wrote:
> Hi guys,
>
> I've been learning Django on a solo for a while now and I'm really in need
> of a Programmer friend/partner who we can always learn
I am very pleased to announce that I will work on porting my work on a
versioned database (read: scalable wikidata) to Python and Django.
If you want to know more and follow the development watch this:
https://github.com/amirouche/copernic
Cheers,
Amirouche ~ https://hyper.dev
--
You
Hi I'm in
On Fri, Feb 14, 2020, 5:15 PM Akorede Habeebullah wrote:
> Hi guys,
>
> I've been learning Django on a solo for a while now and I'm really in need
> of a Programmer friend/partner who we can always learn together, build
> projects together. This will really benefit both sides greatly.
Hi Soumen,
On 17/02/2020 14.59, Soumen Khatua wrote:
Yeah, I'm trying to do it in your way but somehow it's not working in my
script.
Which way?
I didn't give you any way to do it, I gave you three ideas and I would
be very interested to hear what would work out best.
I definitely find
the CSV file is loading inside the AutoComplete(class) constructor
On Mon, Feb 17, 2020 at 10:44 PM Soumen Khatua
wrote:
> The CSV file is in project folder.Could you send me any code
> snippet,Please?
>
> Thanks for your time.
>
>
>
> On Mon, Feb 17, 2020 at 10:39 PM maninder singh Kumar <
>
The CSV file is in project folder.Could you send me any code snippet,Please?
Thanks for your time.
On Mon, Feb 17, 2020 at 10:39 PM maninder singh Kumar <
maninder.s.ku...@gmail.com> wrote:
> Hi Soumen,
> Where is the Csv file loading ?
> You could try return redirect also if the problem is
Hi Soumen,
Where is the Csv file loading ?
You could try return redirect also if the problem is due to continued
resubmission.
Sent from my iPad
> On 17-Feb-2020, at 7:14 PM, Kasper Laudrup wrote:
>
> Hi Soumen,
>
>> On 17/02/2020 14.31, Soumen Khatua wrote:
>> Hi Folks,
>> Actually I want
Actually my requirement is different it's like If anyone call the this
class first time then entire script will be execute. Afterwards if any one
wants to POST or any request then the constructor should not be execute
only the specefied request will be execute. otherwise if the csv file will
load
its possible if manipulation possible in CSV
On Mon, Feb 17, 2020 at 8:02 PM tribhuvan kishor <
tribhuvankishor...@gmail.com> wrote:
> add a unique field in csv and
>
>
>
>
>
>
> *class AutocompleteView(APIView):def __init__(self):self.keys
> = []with
add a unique field in csv and
*class AutocompleteView(APIView):def __init__(self):self.keys =
[]with open("search_terms_converteds.csv",'r') as file:
reader = csv.reader(file)for row in reader:*
* if row.get("perticular unique id
Could you send me any code snippet or any link,Please?
Thank you for your response
On Mon, Feb 17, 2020 at 7:40 PM tribhuvan kishor <
tribhuvankishor...@gmail.com> wrote:
> unique field in CSV
>
> On Mon, Feb 17, 2020 at 7:40 PM tribhuvan kishor <
> tribhuvankishor...@gmail.com> wrote:
>
>> i
unique field in CSV
On Mon, Feb 17, 2020 at 7:40 PM tribhuvan kishor <
tribhuvankishor...@gmail.com> wrote:
> i faced the same problem while i was dealing with CSV file.
> i gave a unique file in csv to make a check on the particular entry. by
> this way, i avoided multiple entries in my
i faced the same problem while i was dealing with CSV file.
i gave a unique file in csv to make a check on the particular entry. by
this way, i avoided multiple entries in my database
On Mon, Feb 17, 2020 at 7:30 PM Soumen Khatua
wrote:
> Yeah, I'm trying to do it in your way but somehow it's
Yeah, I'm trying to do it in your way but somehow it's not working in my
script.
Thanks for your valuable time.
On Mon, Feb 17, 2020 at 7:27 PM Kasper Laudrup
wrote:
> Hi Soumen,
>
> On 17/02/2020 14.51, Soumen Khatua wrote:
> > Okay.
> > Is it possible to load the csv file one time do the
Hi Soumen,
On 17/02/2020 14.51, Soumen Khatua wrote:
Okay.
Is it possible to load the csv file one time do the POST or any request
multiple times without loading the same file.Of course If it is in same
class??
Yes, I just gave you some ideas on how that could be done.
Kind regards,
Okay.
Is it possible to load the csv file one time do the POST or any request
multiple times without loading the same file.Of course If it is in same
class??
On Mon, Feb 17, 2020 at 7:14 PM Kasper Laudrup
wrote:
> Hi Soumen,
>
> On 17/02/2020 14.31, Soumen Khatua wrote:
> > Hi Folks,
> >
Hi Soumen,
On 17/02/2020 14.31, Soumen Khatua wrote:
Hi Folks,
Actually I want to load the csv file for first time only afterwards I
don't want to load the csv files,but everytime when i'm calling the url
the same csv fie is loading for the same operation.How I can restrict it
for multiple
Have you tried putting a print statement in views.py RegisterStudent to get to
an output in the server.
Perhaps the problem is in the template and the get isn't even coming to the view
Sent from my iPad
> On 17-Feb-2020, at 6:30 PM, Adam Mičuda wrote:
>
> Hi,
> you have to return instance of
Hi Folks,
Actually I want to load the csv file for first time only afterwards I don't
want to load the csv files,but everytime when i'm calling the url the same
csv fie is loading for the same operation.How I can restrict it for
multiple loadings?
*Here is my code:*
*class
I said Cape Town as i want this to be a group where we will be meeting like
once a month in person and learn form each other as well as helping each
other out
On Mon, Feb 17, 2020 at 3:07 PM Chucky Mada Madamombe
wrote:
> I suggest a group for everyone in RSA is fine and not just CAPETOWN. I am
I suggest a group for everyone in RSA is fine and not just CAPETOWN. I am
interested!
Regards
Chuck G. Madamombe
NAM: +264 81 842 1284
RSA: +27 78 208 7034
Twitter: @chuckygari
Skype: chuckygari
Facebook: Chucky Mada Madamombe
LinkedIn: Chucknorris Garikayi Madamombe
On Sun, 16 Feb 2020, 00:05
Pleas provide the code for clickjacking.py
On Mon, 17 Feb 2020 at 14:50, Ernest Thuku wrote:
> Hello guys please help on the error. I have been stuck for days now.
> I am Ernest from Kenya.
> please look into these files below
>
> --
> You received this message because you are subscribed to the
Hi,
you have to return instance of `django.http.HttpResponse` class from you
view `RegisterStudent` instead of string: *line 98* and *line 99*.
see
https://docs.djangoproject.com/en/3.0/ref/request-response/#django.http.HttpResponse
Regards.
Adam
po 17. 2. 2020 v 13:49 odesílatel Ernest Thuku
That's what I'm thinking of doing
On Mon, Feb 17, 2020, 12:16 PM Bruckner de Villiers <
bruckner.devilli...@gmail.com> wrote:
> Why not start a Django Meetup Group? There is already a Python Meetup
> Group. I would be interested.
> Regards,
>
> Bruckner de Villiers
> 083 625 1086
>
> On
Check sentdex tutorial on youtube "Django Web Development with Python" it
has great learning with tinymce also.
thanks
Ahmed
On Mon, Feb 17, 2020 at 12:34 AM Hedrick Godson's
wrote:
> https://django-tinymce.readthedocs.io/en/latest/installation.html
>
>
> That will help
>
> On Sun, 16 Feb
okay,thank you
On Mon, Feb 17, 2020 at 5:46 PM onlinejudge95
wrote:
> On Sun, Feb 16, 2020 at 11:09 AM Soumen Khatua
> wrote:
>
>> Hi Folks,
>>
>> I have a model where user can upload their image.
>>
>
> I am assuming you are not storing the image as a blob but rather as an
> object in some
On Sun, Feb 16, 2020 at 8:36 PM Alessandro D' Oronzo
wrote:
> Hi everyone,
> I have a problem with load bootstrap on my generic_template.
>
As best practices go around, try to include the static assets like CSS, js
from a CDN instead of downloading and manually serving them
>
> This is error
On Sun, Feb 16, 2020 at 3:19 PM maunish dave
wrote:
> I am creating an health care app which need to include patients and
> doctors account, i have created Doctor model which have various info of
> doctor now i want a serializer which maps this model to a proper html
> registration form.
>
You
On Sun, Feb 16, 2020 at 11:26 AM maninder singh Kumar <
maninder.s.ku...@gmail.com> wrote:
> Wouldn't the value field make it fixed ?
>
Sure but you can always grab what value to insert from your views. If it is
the first time form is being filled than simply use nothing as value, if
the user
On Sun, Feb 16, 2020 at 11:09 AM Soumen Khatua
wrote:
> Hi Folks,
>
> I have a model where user can upload their image.
>
I am assuming you are not storing the image as a blob but rather as an
object in some object storage.
> But after uploading a new image the old image is still their but as
Heloo sir. Send me link of python group please i want to join that group
On Mon, 17 Feb, 2020, 3:46 PM Bruckner de Villiers, <
bruckner.devilli...@gmail.com> wrote:
> Why not start a Django Meetup Group? There is already a Python Meetup
> Group. I would be interested.
> Regards,
>
> Bruckner
Why not start a Django Meetup Group? There is already a Python Meetup Group.
I would be interested.
Regards,
Bruckner de Villiers
083 625 1086
On 2020/02/16, 12:16, "Perceval Maturure" wrote:
That’s a good point. How about, could you elaborate on how this can be
done? Skype calls?
36 matches
Mail list logo