accessing django

8 views
Skip to first unread message

Lewis

unread,
Oct 9, 2012, 11:25:16 AM10/9/12
to django...@googlegroups.com
Hello,
Is it the right way to access django without going through the command shell, but instead using ftp -> making new file and edit just like using php?



Thanks

Jonathan Baker

unread,
Oct 9, 2012, 11:27:13 AM10/9/12
to django...@googlegroups.com
When you say "access django", exactly what do you mean?



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/7S69wHUUPMMJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Jonathan D. Baker
Developer
http://jonathandbaker.com

Lewis Satini

unread,
Oct 9, 2012, 11:29:55 AM10/9/12
to django...@googlegroups.com
For example, there's a script I want to install and everytime, I need to access to the command shell to install it, but in the case of php I can just unzip and upload to the server and access through browser.
Can I do with that way? how is the process?
facebook.com/artistbean
SMS at (646) 450-6756

Tom Evans

unread,
Oct 9, 2012, 11:36:15 AM10/9/12
to django...@googlegroups.com
On Tue, Oct 9, 2012 at 4:29 PM, Lewis Satini <jubile...@gmail.com> wrote:
> For example, there's a script I want to install and everytime, I need to
> access to the command shell to install it, but in the case of php I can just
> unzip and upload to the server and access through browser.
> Can I do with that way? how is the process?
>

Django doesn't work like PHP. In PHP, each PHP file is a single
"program" that is run when the web server loads that 'page'. In
django, there is a single "program" that runs and communicates with
the web server. There are no "Django scripts" for instance, there are
Django packages you can install which add functionality to your Django
"program".

So no, you can't simply upload "scripts" to the web server with ftp, not easily.

Cheers

Tom

Lewis Satini

unread,
Oct 9, 2012, 11:39:59 AM10/9/12
to django...@googlegroups.com
Hello,
I am sorry for misplace script and package. I am new to Django.
so everytime when I need to install Django packages. I need to do it through command shell? is there any other way without going through command shell?

Thanks


Tom

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Kurtis Mullins

unread,
Oct 9, 2012, 11:45:12 AM10/9/12
to django...@googlegroups.com
Not really. You could probably use a host that might have some fancy control panel for doing something like that; but I'd recommend just using the shell. It'll make life a lot easier in the long run.

Lewis Satini

unread,
Oct 9, 2012, 11:48:34 AM10/9/12
to django...@googlegroups.com
Thank guys for helping this out.
One more question what is the basic step of installing the package? are they all the same?

Tom Evans

unread,
Oct 9, 2012, 11:51:22 AM10/9/12
to django...@googlegroups.com
On Tue, Oct 9, 2012 at 4:39 PM, Lewis Satini <jubile...@gmail.com> wrote:
> Hello,
> I am sorry for misplace script and package. I am new to Django.
> so everytime when I need to install Django packages. I need to do it through
> command shell? is there any other way without going through command shell?
>
> Thanks
>

As I said, no not really. Certain python packages require compilation
with a C compiler (python-mysql, python imaging library, others), some
are just pure python, and others can do whatever the heck they want
before installing.

With the right setup, you could 'install' pure python packages simply
by creating the right folders, and uploading the files in the right
place, and having your web server notice when this happens and restart
your django application. I wouldn't recommend this, it would be
difficult to setup, and you always run the risk of a package not being
installed correctly. Just install them as they are supposed to be
installed.

Cheers

Tom

Tom Evans

unread,
Oct 9, 2012, 11:52:35 AM10/9/12
to django...@googlegroups.com
On Tue, Oct 9, 2012 at 4:48 PM, Lewis Satini <jubile...@gmail.com> wrote:
> Thank guys for helping this out.
> One more question what is the basic step of installing the package? are they
> all the same?

Why don't you install a couple and see?

They are normally similar, but not necessarily so.

Tom

Kurtis Mullins

unread,
Oct 9, 2012, 11:52:03 AM10/9/12
to django...@googlegroups.com
It depends on the computer, but I'd recommend using a Virtual Environment and the program called 'pip'. Google can be your friend there :) Or if you run into any specific problems, don't hesitate to ask!

Lewis Satini

unread,
Oct 9, 2012, 11:59:05 AM10/9/12
to django...@googlegroups.com
Thank you so much all of you and the fast response


Tom

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Jonathan Baker

unread,
Oct 9, 2012, 12:12:29 PM10/9/12
to django...@googlegroups.com
As a former PHP dev who avoided the command line at all cost, the frustrations during the transition period to Python/Django/CLI were well worth it. It can seem daunting, but command line syntax quickly becomes second nature, and I can't imagine going back to the days when I developed using a mouse.

As for package management, I'd highly recommend using pip within virtualenv. Here are a few links that helped me get started:

Reply all
Reply to author
Forward
0 new messages