Re: Launching Our Django Developers' Error Resolution Group 

2023-12-07 Thread o1bigtenor
On Thu, Dec 7, 2023 at 6:41 AM Kani Sbt  wrote:
>
> Dear Django and RestFrameWork Community Members,
>
> I hope this message finds you well! We're thrilled to announce the launch of 
> a new initiative within our community — the Django Developers' Error 
> Resolution Group.
>
> In this group, we aim to foster collaboration and knowledge-sharing among our 
> talented developers. If you encounter any challenges or errors while working 
> on Django projects, this is the perfect space to seek assistance and share 
> your expertise with others.
>
> Whether you're a seasoned Django pro or just starting out, everyone is 
> encouraged to participate. Together, we can build a supportive environment 
> where we learn from each other's experiences and collectively overcome 
> obstacles.
>
> To get started, simply post your error or problem in the group, and let the 
> community work its magic. Remember, there's no such thing as a "silly" 
> question, and we're here to help each other grow.
>
> Let's turn challenges into opportunities and make our Django projects even 
> more successful!
>
> Looking forward to seeing you in the group and fostering a collaborative and 
> thriving community.
>
>
> join this Group :
>
> https://chat.whatsapp.com/KrnYaahVEZ8JmNbx4YNqHm
>
> Happy coding!
>


Methought that was what this list was about - - - - or has it become
that with all the job requests
and other that the original intent has been lost.

Please advise soonest.

(Wouldn't join anything on whatsapp on neither a bet nor a dare though
- - - - sorry!)

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-ogFZb1MYyOFCLHLCMYumLJ4WT7e84w1fwGTdLY-wVBA%40mail.gmail.com.


Re: developing a data logger

2023-07-12 Thread o1bigtenor
On Wed, Jul 12, 2023 at 3:38 AM David Nugent  wrote:
>
> It depends on what you want to do. Simply gathering data and scooping it into 
> a db does not require Django, which will probably not help much in this 
> regard other than defining models/tables for your db and supporting 
> migrations.
>
> If you want to provide web views or an API for this data, you're definitely 
> in the right ball park.
>
>
Thank you very much for your assistance!!!

You are calling it 'gathering data and scooping it into a db' - - - -
this is the
part that I'm finding it difficult to find pointers on how to do
easily and well.

Would you have someplace that you could point me toward so that I could figure
out how to do it easily ?
(Am hoping to work in python. Just not sure what to call what I'm trying to do
- - - coming up with syslog from the python libraries but that's not really what
I'm working on - - - - sensors here there and everywhere and wanting to log
the data (will be doing some use of the data immediately but it is important
that I collect the data).)

TIA

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5_g2kCJLZ0egpy_b589MuHefoRaHVshj6K9aeCOBTZpew%40mail.gmail.com.


developing a data logger

2023-07-11 Thread o1bigtenor
Greetings

It seems to me that Django together with a database (I'm thinking of
using postgresql)
would make a good fit for rolling a datalogger for some sensors.

Am I complicating things needlessly?
Is there another path?

Please advise

TIA

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5_VWw_FwyC0v5VhxKDc9UAKW7ON4VX94cofvQFB0qQ5dA%40mail.gmail.com.


Re: Suggestions for Reducing Spam

2023-06-19 Thread o1bigtenor
On Mon, Jun 19, 2023 at 1:03 PM Gobi Dasu  wrote:

> Great points Abhishek, Paul, and John,
>
> +1 for the separate group with a bit of nuance:
>
> The openai api integration might consider rerouting content to different
> groups rather than blatantly marking a message that someone has taken
> effort to write as "bad".
>
> I think that a lot of the Django developers in this group may be looking
> for roles, and we for one are always looking to hire good Django developers
> and lifelong learners.
>
> However, I think that the protocol has to be made clear:
> - post in this group A if you are hiring django developers (like me)
> - post in this group B if you are seeking a django role
> - post in this group C if you are seeking a solution to a django issue
>
> And finally, kindness and forgiveness to all people should be highly
> encouraged.
>
> snip - - - imo its the repeated offenders who need to just get black
listed.

sorta like - - - once - - - ignore the faux pas
second time - - - please do not do this any more
third time - - - have a good life buddy - - - - except somewhere else!

the sheer number of people asking for jobs likely is killing this site - -
- supposedly
a get help site - - - I for one find that people who can't follow clear
directions tend
to also mix up other kinds of things as well.

HTH

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf58Ph9t-OBuk%2BkhsN8riCrz8%2BJC2x4BSTuBgXARv4vi6vQ%40mail.gmail.com.


Re: Question re: input

2023-04-01 Thread o1bigtenor
On Sat, Apr 1, 2023 at 9:51 AM Robin Riis  wrote:
>
> What kind of environment are we talking about?

Me designed software  - - - physically challenging (possible outdoors,
possible inclement conditions + )
>
> But i guess you mean that you have a server in one location and multiple 
> clients from diffrent locations that should be able to upload some kind of 
> data to the server.

Not really
>
> SSH is great to connect to a remote machine in a secure manner. And scp to 
> send files over ssh.
>
> But it may not be what you are seeking. Is it files you wanna send or a 
> bytestream? What requirements are needed regarding security? About how much 
> data will be sent per request? Would you wanna send data over udp or tcp? Are 
> you really asking in the right forum?
>
> Maybee checkout unix sockets.
>
> Or is it just like people would login and write like a comment or upload a 
> photo?
>

More like user a needs to include notes on item xx
user b is doing y
user c has observed event WNIYx
possibly 15 to 20 input streams possible


(information I can find is predominantly finding information on web - - - -
this is much more doing task x - - - generating notes/data
task . . . .
etc to where there are a lot of tasks (some will generate a lot of
data (pulled into a database))

Does this help?

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf59q8YbZMbaZ8%3DVkNVyWFa59mMCW%2BUWA807qafP%3DHNTu%2BQ%40mail.gmail.com.


Question re: input

2023-04-01 Thread o1bigtenor
Greetings

I am in the porcess of planning out a complicated environment.

User will almost always be remote.

How does one easily get information 'into' the environment?

(Not sure these are the right questions but
1. Does one have to be connected to the environment
2. Does the complete form have to be on the inputting device   )

for starters

TIA

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf59HucOB%3Ds99MxkxkfZ3HFmMO7DN4EP%3Dm3ub67%3D_iHArew%40mail.gmail.com.


Re: Adding Microsoft Word Editor to Django

2023-02-01 Thread o1bigtenor
On Wed, Feb 1, 2023 at 2:16 AM Shittu Abdulrasheed
 wrote:
>
> Good day my co django-developers
>
> I have a project going on for my client and he want a features where users 
> will be able to upload a word documents file and he/she will be able to edit 
> the documents in our app just like editing in msword and save it back to our 
> database.
> How can i acheive that?
> I have try Many WYSIWYG but it is just only displaying the html format 
> without the sytles included eg. Ckeditor,Tinymce.
>
>
Methinks that you get to write a WYSIWYG text editor for that client.
Might be easier for the doc owner to do their editing on their own
software and then uploading the final doc.
If that needs editing - - - well then someone downloads the doc shifts
it back to a word processor file from pdf
does the editing changes back to a pdf and then uploads the now edited
file. That process is fraught with
possible gotchas - - - I can see why you might want such an
application - - - don't know of one though.

Maybe someone else has a better idea?

HTH

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf592ad7Yx_8CMcaRLBBW258%3DUmyjsG5U3D6Z8htreBn3ig%40mail.gmail.com.


Re: Unsubscribe

2023-01-15 Thread o1bigtenor
On Sun, Jan 15, 2023 at 2:31 AM Victor Tumwecj  wrote:
>
> Dear Django
> Please unsubscribe me from your mailing list
> Thank you
>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAK%2ByTSWOr54GNL6fWJKb2fg662QCgorqBNPLbj%2ByzkL0Fm6XgQ%40mail.gmail.com.


Hmmm - - - - excuse me - - - - - - please check the text that was
attached to your message
that went to all of the group. I do believe you might find some useful
information in that group of words.

HTH

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-pKxZAgR_9OX8CsEsDYiTv45fxeHDNS4YQ1k5%2BB1S7Qg%40mail.gmail.com.


Re: I can't use accented letters in my model

2022-06-10 Thread o1bigtenor
On Fri, Jun 10, 2022 at 6:15 AM Virgilio Ravagli
 wrote:
>
> I'm bound to use old versions of Python and Django, cannot pass to newer 
> versions in this project
>

https://python.readthedocs.io/en/v2.7.2/howto/unicode.html

maybe that helps

You may also have a severe case of 'can't get there from here' - - -
meaning it may be a no can do.

HTH

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-%2BUKahPbSdQkyhggYfspMNxL4R%3DvgEQvpjTN8-Aor4yQ%40mail.gmail.com.


Re: I can't use accented letters in my model

2022-06-10 Thread o1bigtenor
On Fri, Jun 10, 2022 at 2:50 AM Virgilio Ravagli
 wrote:
>
> I have surround book.save with a try...catch...; the exception is: You must 
> not use 8-bit bytestrings unless you use a text_factory that can interpret 
> 8-bit bytestrings (like text_factory = str). It is highly recommended that 
> you instead just switch your application to Unicode strings.
> Without the try...catch, here is the traceback:
> Environment:
>
>
> Request Method: POST
> Request URL: http://localhost:8000/uti/dataLoading/
>
> Django Version: 1.8.5
> Python Version: 2.7.10

H - - - - not speaking as any kind of expert - - - - but - - - -
Python 2.xx has been deprecated for some time now. Python 3.10 is
current. Likewise Django is now at version 3.2 for long-term support
and is at 4.0.5 for current. AIUI you may find that your issue has already
been addressed.

HTH

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf59v7_V7pgOFrH1zBy1Kx%2Bn6O8Lt2nMc9JJaN_JhJ5s5bg%40mail.gmail.com.


Re: how to question (web page item placement)

2021-07-11 Thread o1bigtenor
On Sun, Jul 11, 2021 at 11:05 AM Ryan Nowakowski  wrote:
>
> Do you want the indentation to be different on different screens sizes(mobile 
> phone, tablet, laptop, desktop)? 3.5 cm might be too much on mobile devices.
>
Hmmm - - - main focus is NOT mobile devices - - - don't think they
can handle the processor duty needed.

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5_5qWLbquwER3Cs8ExkWeqGmd06cPVhyvA%2BG4Sq%2BhC41g%40mail.gmail.com.


how to question (web page item placement)

2021-07-11 Thread o1bigtenor
Greetings

Am looking to use django for a personal application.

I am one of those plagued by planning things out - - - in advance.

I'm not finding direct information for how to specifically place
things on as page.
Vague - - - yes - - - that's html but if I want something like at 3.5
cm down from top margin and indented 1.5 cm I want a box which when
clicked upon I see a list containing these items (a1, a2, a3 etc and
the list can be augmented by the user) with list items being font size
14 bold and the box being flexible in that if the item shown is short
the box is narrower - - - if the item is long - - - -well the box is
wider.

How do I affect precise placement in a web page?

TIA

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-xvCKX6%3D1nzm1Nr8Fy9ix6mOVRzCZkivy7rwFOAtm%2Bbg%40mail.gmail.com.


Re: Doubt about which hosting choose

2021-04-12 Thread o1bigtenor
On Mon, Apr 12, 2021 at 8:06 AM Josep Oriol Condal Fontanet
 wrote:
>
> Hello,
>
>  I am developing a web-app with Django which we have different pages, 2 
> different directories with profiles of people or companies, a calendar with 
> different events related to our topic, some forum in which the users can 
> start a topic and discuss with others and more.
>
> With this features, i wonder if a Shared hosting is enough or we need a 
> managed VPS.
>
> We are from Barcelona (Spain), and I want to know which is the best hosting 
> for our needs and which are the ones with an easy or possible fast deployment 
> of our Django Project.
>
>
>
I would suggest that this question would be best answered by a local
LUG (linux user group).
This is a question that is not as easy to answer as one might think.
There are so many different definitions of 'best'
Best - - - is that price, responsiveness, offerings, uptime for starters.

Here - - - I have done searching for "best hosting company in (name of
country)",
have asked questions on a number of different user groups and I think
I might have
a good choice but you will need to ask me in a couple years - - - -
I'm not done my
own process yet.

One tip - - - - watch out for a service that is owned by another where
the larger one
owns LOTS of others - - - - service needs to be something that is not
just 'talked
about' but needs to be present over and over and over again. That's the kind of
hosting company you're looking for (found this information as a result
of my first
experience).

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-H1m0MP7ziDtsvYsqD1KXi6Cxx57dNLBK000Fm%3DuaObg%40mail.gmail.com.


Re: Okta Djnago integration

2021-03-16 Thread o1bigtenor
On Tue, Mar 16, 2021 at 8:48 AM Chandrashekhar Singh
 wrote:
>
> Hello guys,
>
> I am looking for someone who could help me to integrate djnago with okta.
>
> Python version 2.7 and djnago is 1.8
>

You're NOT going to get any love if you're insisting on running Python 2.7!

EOL for Python 2.x happened a while ago.
Please update to Python 3.x - - - - then try again.
First - - - - super generic questions really don't get good answers.
Try reading the docs and then trying something - - - if it doesn't
work - - - - or doesn't work in the way expected then you have
a 'good' question.

If you want to 'pay' someone to help you - - - - please advise - - -
- - I'll bet you'll have lots of takers!

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-iHW854KxcEa8cVrs6-8ZN9Q4Bft_n5y2GdQG7-FVoKA%40mail.gmail.com.


Re: Payments

2021-02-12 Thread o1bigtenor
On Thu, Feb 11, 2021 at 10:59 PM MUGOYA DIHFAHSIH  wrote:
>
> idealy i want to use visa, ineed help on how to integrate it into the payment 
> module. Thanks... but MPESA is from mobile phone to another phone 
> transaction(mobile money).
>
Makes sense - - - - likely a very regional product/service.

Thank you

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf59T-knNob7QxYzQ7Y_FuCQrKQzevG66L%3DPcbsAWUJz7eQ%40mail.gmail.com.


Re: Payments

2021-02-11 Thread o1bigtenor
On Thu, Feb 11, 2021 at 8:12 AM Joseph Mulingwa Kithome
 wrote:
>
> MPESA ,VISA,PAYPAL

What is MPESA?

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf58NjEfLrFMEQPsK4L8hjT0sk7HYAd8%3DWApEUrByAWuAog%40mail.gmail.com.


Re: Request for admins

2020-10-11 Thread o1bigtenor
On Sun, Oct 11, 2020 at 3:20 PM Agnese Camellini
 wrote:
>
> I full aree with you. This is spamming!
>

I agree and that address is listed as spam for my mail system.
As I thought about it there are legitimate offers and requests for service so
didn't want to preclude those - - - that is what prompted the idea of
a separate
list although its going to make work for an admin - - -  :-( !!

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf59KA27xORFB1SktUTN0pCA3oFWWqHd1j1mbGE%2Bij9wKnw%40mail.gmail.com.


Request for admins

2020-10-11 Thread o1bigtenor
Greetings

The list volume seems to have attracted those that purport to offer
help or services.

Is it possible that the volume of this has reached a point where there
is a separate list for just that.
That would be a separate subscription to a list where if one wanted to
either use or offer services one was free to do so. The second part of
that would be that if one overtly did the same on the 'users' list one
would be either punted or at the very least put on controlled listing.

This request is stemming from the 40 or 50 emails polluted by a listee
who seems to think that attaching his business card or better its
written equivalent to every thread is going to get him business. Mine
- - - - never - - - - I don't do business that way.

Hoping that this request isn't too far off topic!

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf59qjGznmqJTbpHe6c8t0_GoTn6O8bs6agggPA6Zbx8EMQ%40mail.gmail.com.


Re: Auto prompting City and State using ZIP code in Members Registration Form

2020-09-26 Thread o1bigtenor
On Sat, Sep 26, 2020 at 1:28 AM Ram  wrote:
>
> Hi,
>
> We are trying to use USPS API to get City and State attributes by passing ZIP 
> code. API is working fine, but we need to use this API in our members 
> registration form, where user enters ZIP code, then City and State should be 
> auto filled in respective fields. This way user does not have to type City 
> and State manually.
>

A heads up for you.
Zipcodes are not necessarily a reliable means of determining location!
If the individual lives in a rural area the zipcode is actually quite
useless for locational information.

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf599aY%3DD2dEk7CJGWbS5_i_gMg%2B0%3DgkTuwwDUrPTVbh8LA%40mail.gmail.com.


Re: Django compatibility with Django 3.0

2020-09-21 Thread o1bigtenor
On Mon, Sep 21, 2020 at 5:24 AM RANGA BHARATH JINKA
 wrote:
>
> Hi,
>
>Check this official docs from oracle.
>   https://developer.oracle.com/dsl/vasiliev-django.html
>

No writing as any kind of expert but - - - - - the url listed above links to
a document that is over 10 years old. Perhaps this process is today not
quite what it was in 2009? No way to know from the information given!

(This is becoming one of my frustrations with the internet - - - the bulk
of the search engine returns are highly unlikely to be useful - - - - those
links are almost all out of date!)

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf599gaOJjh2VtsE_K%3DaZ%2BPVdJd%2B2YCoxo72N-hWnjxxPbA%40mail.gmail.com.


Re: My first question

2020-07-20 Thread o1bigtenor
Appreciate very much your informative post. Question below - - -

On Sat, Jul 18, 2020 at 9:14 AM Liu Zheng  wrote:

> Hi. Doesn't sound like a Django question, but I assume you came across
> this question when writing Django codes:) So anyway, let me try to see
> whether I could provide any useful information here.
>
> This question is a bit too broad, so let me try to answer it in several
> levels.
>
> First, python doesn't care the format of any file. From python's point of
> view, any file is just a sequence of binary data. On the lowest level,
> python only two types of operations: read N bytes from the file starting
> from a position; write N bytes to the file starting from a position. That's
> it. What each byte mean is up to the programmers. So on the level of python
> programming, there's no difference between a txt file and a csv file.
>
> Having said the first point, there are standard formats defined by
> programmers, to make communication easier. First, among all binary files,
> there's special type of files called "text files". It's special because
> every byte of a text file must be a value from a certain table of symbols
> (think of the ASCII table). Not all files are text files. But if a file is
> a text file, then most text editors can handle that file well. (Python also
> have native support on the language level, that is, you open a file in the
> text mode if you use "open(, 'r')" intead of "open(,
> 'rb')". However, this is only for sake of convenience of human readability.
> It doesn't make a text file fundamentally different from other files. In
> fact, you can open a text file in the binary mode using 'rb'. Python will
> simply forget that the file is a text file.
>
> Next, text files still form a big family. By assigning meanings to
> different symbols and creating rules of how the content should look like,
> there are more types under text files. csv is a special type of text file.
> (Example of othe types are .py, .html, etc). Since it's just a text file,
> you can open a csv file using "open(, 'r')" and do
> read/write operations like any other text file. However, since it has its
> own rules, there are also some helper libraries to assist you handling csv
> files, too. Examples are "csv" package, "pandas" package, etc. But again,
> since it's a text file, you can ignore those packages and write your codes
> using string functions directly. For example:
>
> ```
> s = open("sample.csv", 'r').read()
> lines = s.split('\n')
> first_line = lines[0]
> columns_lables = first_line.split(',')
> ..
> ```
>
> Such a piece of codes will handle a very simple and standard csv file
> already. However, csv has more complications than this. It even has
> different variations (called dialets).
>

Did you mean dialects instead of dialets by any chance?


> If treating a csv file as an ordinary text file, you are basically
> re-inventing the wheel. (There's nothing wrong with that. Just tedious.)
> Those standard packages can handle those staff and let you focus on your
> business logic. That's all.
>
> In the end, I want to emphasize that files' extension names doesn't mean
> anything. When I said a csv file above, I don't mean a file whose file name
> ends with ".csv". I mean a file whose content complies the csv rules. By
> creating a file called "something.csv", I'm merely giving a promise to
> anyone who open it that "I promise you that the content in this file
> satisfies the csv rules. You have my words!" Whether I keep my promise or
> not is totally up to me (indeed, I can rename an image file "pic1.jpg" to
> "pic1.csv".) In addition, you can save some csv data into a .txt files. For
> example, consider the following data:
>
> Name,Job Title,Phone Number
> Alice,Manager,23121212
> Bob,Director,12345678
> Chales,Developer,41212113
>
> You can store the data into "contacts.txt". I will still call it a csv
> file even though it has ".txt" extension. Therefore, I can handle this file
> using any csv package. For example:
>
> ```
> import pandas as pd
> df = pd.read_csv("contacts.txt")
> ...
> ```
>
> Pandas will not complain just because its extension is not ".csv".
> However, it will be a good practice to choose the extension which best
> describes the nature of the file's contents. In this way, you'll bring less
> confusion to the users of this file (including the future yourself).
>
>
>
> On Saturday, July 18, 2020 at 2:25:57 PM UTC+8, Sead Sejo Gicić wrote:
>>
>> What is the difference between ordinary txt file and csv file for using
>> in Python programming?
>>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7a9b233b-a61b-4866-8383-44b4b60ac736o%40googlegroups.com
> 

Re: Two factor authentication using OTP

2020-07-16 Thread o1bigtenor
On Thu, Jul 16, 2020 at 6:52 AM Issa Kehinde  wrote:

> Hello everyone!
>
>  How can I implement a two factor authentication for my django web app?
> After a user login with his/her credential (i.e. username and password), I
> want  an OTP to be send to the user's phone number . The user will  enter
> the OTP to gain final access to the web application.
>
> As a person who has very very very terrible wireless phone reception where
I live I would hope that there is some other method that can be used to
help with two factor authentication without using the bloody useless cell
phone.
It seems that the programming community thinks that everyone has absolutely
wonderful reception so that the use of a SMS text is a wonderful idea.
There must be a better option that doesn't need to use of a cell phone. (I
hope and if not one should be found!)

Please rethink your proposed plan sir!

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5_6g58H0uwz%2BpPdQCaf-BdJejJnAkAp2mQsO6_nSUzzmA%40mail.gmail.com.


Re: How to get data from django model to excel sheet using openpyxl including images.

2020-07-10 Thread o1bigtenor
On Thu, Jul 9, 2020 at 10:02 PM Ashutosh Mishra 
wrote:

> I am creating an api to get data and images from django model to excel
> sheet ,how can i do that,someone please help me.
>
>
> What have you tried so far?

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf58f0qp7xEEYCBu694TNyXFXpLiLU1tcDKNFYQgp7jOM1w%40mail.gmail.com.


Re: Need suggestions-Reg

2020-07-01 Thread o1bigtenor
On Wed, Jul 1, 2020 at 7:56 AM shedd tutt  wrote:
>
> Zoom
>
> On Wed, 1 Jul 2020, 05:38 Sai Pavan Kumar  wrote:
>>
>> Hi ,
>> I need to integrate the video conferencing in my Django 
>> application.which is the best open source video conferencing tool available 
>> .please suggest me.


You bet - - - Zoom is a great choice if you like feeding the internet
information
slurp system. If you don't there are other systems out there. Have heard
suggestions of OpenMeeting and Jitsi but have only participated with
OpenMeeting and it seemed to work well most of the time.

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5_qgqj7PF4FsUYv0nKBRKOujCr4KOsLh%2B14KXk4Oio18g%40mail.gmail.com.


Re: 'Allowed_hosts' setup question

2020-06-21 Thread o1bigtenor
On Sun, Jun 21, 2020 at 7:57 AM Mohsen Pahlevanzadeh
 wrote:
>
> I recommend you to use iptables.
>
So if I'm using nftables (Debian presently is using nftables - - -
iptables has been deprecated) - - - what is the recommended setup for
Allowed_hosts ?

Rgards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf59S6Q_zuw2Wn6OLsFoHob5f_-Cj7wpjo5ZZkf5_DJOhzQ%40mail.gmail.com.


'Allowed_hosts' setup question

2020-06-21 Thread o1bigtenor
Greetings

At the beginning stages of my Django journey running on Debian
testing, postgresql 12 Django 3 using Python3 (and definitely no
bloody expert under the hood!!).

Working on a personal use application that I would like available for
use by anyone on my local network.
Allowed_hosts in the docs gives examples for serving specific urls
and/or FDQN names.

Is there a way of limiting access to a web application to only the
members of the network without opening access to those outside the
network?

(Maybe this is a networking question but I thought I might start here.)

TIA

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-A0PLYgoFaH_%2Bj13Ssz%3DNLZzyO_CadE3rzH61DegQDGg%40mail.gmail.com.


Re: how to Setup django helpdesk package to Django application - Please help

2020-06-20 Thread o1bigtenor
On Sat, Jun 20, 2020 at 8:26 AM VenkataSivaRamiReddy
 wrote:
>
> is there any details setup documentation?, i followed 
> https://github.com/django-helpdesk/django-helpdesk and clone the code and 
> created and activated virtual environment and after i run python setup.py 
> install. After i am trying to start python manage.py makemigrations, but 
> showing file not found
>
On the page you mention just before the option of setup using python
setup.py install there is described a process using pip.
Have you tried that option yet?

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5_hdfdPr8JLi6iEj58XNQ3iRru8EJ12QOfhV7HJT2M3Ew%40mail.gmail.com.


Re: how to Setup django helpdesk package to Django application - Please help

2020-06-20 Thread o1bigtenor
On Sat, Jun 20, 2020 at 5:09 AM venna venkatReddy
 wrote:
>
> i need to setup support ticket feature to my client application. i found 
> django helpdesk package but i try to setup but til now i dont complete, if 
> any of you worked this Support Ticket system please help me. thanks
>
Greetings

I can't help you in setting up your 'support ticket system' but I do
have some help for you.

The way you are describing your problem - - - - well that is also a problem.
What doesn't complete?
What is your setup ((software please) with version numbers would be of
great assistance)?
What were you trying to do?
What are your error messages? Or did you get any such?
(There are likely more questions but those I'll leave to those that do
know something - - - not me!)

If you answer those questions in your question - - - - I'd bet that
you would be much more likely to get help AND that that help would be
useful.
I'm following here to learn but I've found much activity and a lot of
assistance given - - - it seems quite a generous community.

Asking for help with a vague question - - - - -well you're really not
helping yourself that way!

HTH

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf59vvvZ_dbQbPE9AJo%2BAo5rY1m4%3DGqcq7_UjSN5S16ratQ%40mail.gmail.com.


Re: Please help me out?

2020-05-21 Thread o1bigtenor
On Thu, May 21, 2020 at 2:10 PM Kasper Laudrup  wrote:
>
> Hi Meera,
>
> On 21/05/2020 14.50, meera gangani wrote:
> > Actually my Problem is that i want to mark the attendance of all the
> > employee using ip address referenced to the mac address
> > So First I turned ip into whitelisting ip(Trusted IP Addresses )
> > then what was the implementation I do?
> >
>
> It is not very clear what you are trying to achieve. What do mean by
> "mark the attendance of all the employee"?
>
> Anyway, you shouldn't attempt to trust any client based on IP address.
> That is trivial to spoof and there really isn't any way around that
> because of how HTTP works.
>
> I don't understand what you mean by "ip address referenced to the mac
> address" either. Are you talking about the ARP cache on the host running
> Django? Do you want to do ARP lookups on the local network? Why?
>
> Please be more clear on what your problem is and what exactly you want
> to achieve.
>

My guess () is that someone wants to take attendance without
physically being
in a location. The idea is to use the presence of a 'stupid' phone to mark the
physical location of its bearer. (Just imo.)

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5_2sG-9FZG0jvaHd9ydp0yakbjuTGQntqpSYmXQ4LpPmQ%40mail.gmail.com.


Re: heroku hosting apllication error

2020-04-02 Thread o1bigtenor
On Thu, Apr 2, 2020 at 4:01 AM sagar ninave  wrote:

> thanks for reply
>
> but problem is solved now
>
> Hmm - - - - to assist anyone else that has run into this problem it
would
likely be quite useful if you posted what you did to fix things - - -
please?

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-CQactgT%2B51r1XfFgLSizdT9Ah2gKDTkTCdDjbuDOJZw%40mail.gmail.com.


Re: Online money transfer

2020-03-27 Thread o1bigtenor
On Fri, Mar 27, 2020 at 6:51 PM Motaz Hejaze  wrote:
>
> Mike thats exactly what i want to do...
>
> I want to allow users to donate to many bank accounts ..
>
> I dont know how to do this ?
> Also i dont know if stripe is the right tool for this ..
>
> On Sat, 28 Mar 2020, 1:15 am Mike Dewhirst,  wrote:
>>
>> Yes. That is how it works. Any customer uses any card or pretty much any 
>> other payment mechanism and Stripe gets the money and sends it your bank - 
>> after taking its commission.
>>
>> If you want the money to go to some other bank account depending on the 
>> transaction participants or the product involved you are out of luck. Stripe 
>> policy is to prevent such transfers.
>>
>> I wanted Stripe to send the proceeds to my own bank accounts in different 
>> countries depending on the currency used for the sale - in other words I 
>> wanted no currency exchanges - but they insist on converting everything into 
>> AUD at their own exchange rate and paying it into my home bank account.
>>

An entity called 'Transferwise' might be useful.

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-mhf3G%3DT8FkymAa9CkXb255c6u_t5EKTG8BhnFkDzx6A%40mail.gmail.com.


Re: Django 3.0 Released.

2019-12-02 Thread o1bigtenor
On Mon, Dec 2, 2019 at 6:18 AM Carlton Gibson  wrote:
>
> Django 3.0 is now available.
>
> https://www.djangoproject.com/weblog/2019/dec/02/django-3-released/
>
> With the release of Django 3.0, Django 2.2 has reached the end of
> mainstream support. The final minor bug fix release (which is also a
> security release), 2.2.8, was issued today. Django 2.2 is an LTS release and
> will receive security and data loss fixes until April 2022. All users are
> encouraged to upgrade before then to continue receiving fixes for
> security issues.
>
> See the downloads page [1] for a table of supported versions and the
> future release schedule.
>
> [1] https://www.djangoproject.com/download/#supported-versions
>
Greetings

Thank you - - - -interesting news!

I'm a little confused though - - - - I have, at least in many things
so far that I've used,
software I mean, tended to move from one long term service version to the next.
Yet - - - Django is different - - - - it is suggested that I leave a
long term version
for a short term version, which will itself be followed by a short
term version, and then
after another period of time there will be a long term service
version. Shortly after
that long term service version has been reached, if the pattern used
for the transition
from version 2 to 3, version 4 will be offered.

So - - - - what gives the best long term stability of function for use
of Django?

1. forget long term service versions and expect to revise you code
every 6 to 8 months
2. use LTS code but using it until the release of the next major
version means that
  interesting advancements again mean a relentless pattern of revision
3. don't worry about LTS and write the code and get the application to
work well and
 hope that I can hold things working without major security issues
until its worth
 redoing the application.

I'm starting to think that option #3 is looking more attractive.

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf58DU9XPYM-FOJ1%3DSy-PObNDJ%2B2Xw8hk3sr9BxTdFYcDjg%40mail.gmail.com.


Re: mysql data connectivity problem

2019-11-19 Thread o1bigtenor
On Tue, Nov 19, 2019 at 7:30 AM Prof soul  wrote:
>
> Hi i'm soul i'm new to django and late, i got an idea to handle the django 
> but  there is still lack of database  connectivity with django anybody know 
> about it in easy manner
>
No expert here but I do know that there are lots of pages in the docs
on database connections most topics with lots of details.
There are also more than a few, rather more detailed in fact,
questions that I've seen here on the help site.

Perhaps you need to show what you've actually done, what you are
expecting AND what you are seeing to get good answers to your
question.

Please try again.

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf59%3D0jMxtH0HTWhNetfJJfD%3D1MPby%3DEQJ08LuQvOE9V0ow%40mail.gmail.com.


Re: Django Channels persistent DB connection

2019-11-15 Thread o1bigtenor
On Fri, Nov 15, 2019 at 12:53 PM Adam Hooper  wrote:
>
> On Wednesday, October 30, 2019 at 12:17:54 PM UTC-4, BR wrote:
>>
>> I moved from a local sqlite3 DB file to a shared remote (local LAN) MariaDB 
>> server and noticed a bit of a slow down. On top of the DB now being remote, 
>> I'm also using SSL to encrypt the DB information. Based on the description 
>> of database_sync_to_async it sounds like the connection is closed/cleaned up 
>> on each call.
>>
>> Is there an option for a persistent DB connection in Channels?
>
>
> Use Django's CONN_MAX_AGE.
>
Read the docs and am left with a question.
If I want a connection to the database but want it for only the time
the customer (query source) is logged in - - - how do I specify that?
 (So I don't want the connection to be timed - - - would rather the
connection was related to the online access and then closed when the
client (customer) logged off.)

TIA

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-0M%2BP7Lxj941OX1_FZbWh68P3fgcaU%2BAxxc9Vjmqp_%3DA%40mail.gmail.com.


Re: reg: Django forms and models

2019-11-12 Thread o1bigtenor
On Tue, Nov 12, 2019 at 12:39 PM 'Amitesh Sahay' via Django users
 wrote:
>
> Hello Kasper,
>
> Thank you for the hint. I found my mistake and resolved it.
>
So what did you do?
(doesn't need to have all the detail just the idea please)

TIA

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5_RVtwmN73i5%3Dm2LmBdboYVfHvqY3dJyuqHxYQYbRzB_Q%40mail.gmail.com.


Re: Python +django

2019-09-09 Thread o1bigtenor
On Mon, Sep 9, 2019 at 7:57 AM Hani Fanous  wrote:
>
> Must admit I agree. With text you can at least try things out as you go and 
> attempt to debug problems. With video this is almost impossible.
>
Agreed - - - I find most webinars could be condensed to perhaps 2 to 5
pages of text - - - - and I can read that in maybe 20 minutes if I'm
going very very slowly.
Even with complicated procedures I would prefer working from a text document.

So there are no equivalent text documents from these videos?

Perhaps one should contact the videographer? (grin!)

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf59jxUVWjzcKG02Uce9rLVKaf6bRnc7jJNTVR4ZPTwPs0w%40mail.gmail.com.


Re: Python +django

2019-09-09 Thread o1bigtenor
On Mon, Sep 9, 2019 at 6:33 AM selim atmaca  wrote:
>
> You should learn python basics first but dont dive deep, just the basics. Then
> There is a nice django video series on youtube. Search for corey schafer 
> django. There are 17 videos in that series. If I was starting django today, 
> definetly I would start it with that video series.
>
Hopefully this isn't a thread hijacking - - - - but - - - - -
I am finding that online videos are hugely wasteful of time and would
rather have a text equivalent.
Is there such for this recommended video series?

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5_EJ2%2BNxqQ6tdRZdq%3Dugfhr%3D%3D59e8LsuxFKWG5qrvXNYA%40mail.gmail.com.


Re: Installation of django

2019-08-22 Thread o1bigtenor
On Thu, Aug 22, 2019 at 3:35 AM Abu Yusuf  wrote:
>
> First of all: don't use python2. It will be dead after 4 months.
> create a virtual environment: virtualenv -p /usr/bin/python3.5 venv
> then activate it: source venv/bin/activate

Greetings

Curious as to why you wouldn't install python 3.7 at this point?

Regards

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPpdf5-3dtz%2BC_GoQdS3VmDFLZA-X1UvyaGWiG0DyXPueQL-pw%40mail.gmail.com.