Please help me

31 views
Skip to first unread message

chaitanya.1...@gmail.com

unread,
Jul 4, 2018, 7:22:15 PM7/4/18
to Django users
I am beginner...
I want a Django project to import csv file and represent it in html page. ...please

Oladipupo Elegbede

unread,
Jul 4, 2018, 8:12:34 PM7/4/18
to django...@googlegroups.com
What have you done?
To get a python script to import data from csv isn't big of a deal. There numerous libraries you can take advantage of. Just Google reading a cab file with python.
To put those data in an html page is also not a big deal.
However, you need to be more explicit to greet any form of help.

On Wed, Jul 4, 2018, 14:22 <chaitanya.1...@gmail.com> wrote:
I am beginner...
I want a Django project to import csv file and represent it in html page. ...please

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ab1e144c-56b3-48fc-878c-3cba574432aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kasper Laudrup

unread,
Jul 4, 2018, 8:13:16 PM7/4/18
to django...@googlegroups.com
Hi there,

On 2018-07-04 20:02, chaitanya.1...@gmail.com wrote:
> I am beginner...
> I want a Django project to import csv file and represent it in html page. ...please
>

I assume you have already followed the excellent Django tutorial at:

https://docs.djangoproject.com/en/2.0/intro/

So you understand the basics of how Django works with models, views,
templates etc.

As to your specific question. Assuming the CSV file is well defined, I
would probably write a model defining the fields in the CSV file and
then use the python CSV module
(https://docs.python.org/3/library/csv.html) for reading the CSV file
and filling out the fields in the model when the CSV file is uploaded.

Then you could present the contents of the CSV file the same way you
would write any other view and template, with the added benifit of
having the data from the CSV file stored in a saner way in a database.

Just how I think I would do it. Not sure if it fits your scenario.

Kind regards,

Kasper Laudrup

Chaitanya Kulkarni

unread,
Jul 5, 2018, 3:19:03 AM7/5/18
to django...@googlegroups.com
Can u please write it for me...
Just once for a demo....

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Kasper Laudrup

unread,
Jul 5, 2018, 5:35:21 AM7/5/18
to django...@googlegroups.com
Hi Chaitanya,

On 2018-07-05 05:18, Chaitanya Kulkarni wrote:
> Can u please write it for me...
> Just once for a demo....
>

I'm not gonna do your job for you and certainly not for free.

If you're looking for consultants with experience in Django then state
that up front instead of pretending to ask for help. Also include how
much you're willing to pay.

Also, I'm not sure this is the right list for doing that, this is for
Django users after all.

Kind regards,

Kasper Laudrup

Chaitanya Kulkarni

unread,
Jul 5, 2018, 5:38:44 AM7/5/18
to django...@googlegroups.com
Its just i am fresher.. i m on a learning process and i m still not in a job role... So was asking for help me to learn....

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Kasper Laudrup

unread,
Jul 5, 2018, 5:42:32 AM7/5/18
to django...@googlegroups.com
Hi Chaitanya,

On 2018-07-05 07:38, Chaitanya Kulkarni wrote:
> Its just i am fresher.. i m on a learning process and i m still not in a
> job role... So was asking for help me to learn....
>

You're not going to learn anything by having others do your work for you.

If you want to learn then start by following the tutorial. After having
done that and gotten a basic understanding of how Django works, try
implementing a solution to your problem.

If you face any problems, then feel free to ask questions here. Then I'm
sure there are many people who'll be happy to help you.

Kind regards,

Kasper Laudrup

Chaitanya Kulkarni

unread,
Jul 5, 2018, 6:43:35 AM7/5/18
to django...@googlegroups.com
Done with views and template portion...
Only model is remaining...
We have to write the column header names in that ....??

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

TimT Vogt

unread,
Jul 5, 2018, 6:48:17 AM7/5/18
to django...@googlegroups.com

Oladipupo Elegbede

unread,
Jul 5, 2018, 10:08:51 AM7/5/18
to django...@googlegroups.com
You'll have to read it all and get your hands dirty first.

Start something.... Start a Django protect, an app, put something together.

Outline your road map to a solution as Kasper earlier suggested.

Make your mistakes and come back here for guidance.

That's how you learn...

Reply all
Reply to author
Forward
0 new messages