Wednesday, October 26, 2011

Re: New member question about developing in Ubuntu Server

Hello Ethan,

Welcome to Django, the web framework for people with deadlines and great taste!

Django absolutely does not require access to the builtin (or contrib,
as we call it on djangoland) admin app in order for you to configure
models.

A model is a representation of a way to store data, which in regular
Django setups is a description of a database table.

In order to define said table, one needs only a little knowledge and a
text editor so that models.py can be edited, which is where model
definitions live.

The admin is simply a generic web application that ships with django
in order to help you get some actual data in those tables in little
time. It is not, contrary to what you may have been led to believe, a
prerequisite to working with Django.

In fact, the further you go from basic CRUD functionality, the harder
it gets to make the admin app fit to your requirements.

To sum it all up, a model is defined in models.py, and the admin is
one of many ways to add rows to your database tables.

Having said that, I must recommend that you develop locally at first
so that you can leverage the features provided by the dev server,
namely auto reloading on code changes and handy debugging tools.

While you're at it, look up virtualenv. You'll thank me eventually!

Good luck and happy coding!


Cheers,
AT

On 10/26/11, Ethan Drower <chicagosocialconnection@gmail.com> wrote:
> Hey all,
>
> I am a brand new developer to django and had a question. I've
> successfully installed django on my remote ubuntu server and have
> already started going through tutorials. I notice that they all
> require access of the admin console through a browser in order to
> configure models etc. If i'm remoted into my ubuntu server I cannot
> view these very easily (w3m doesn't quite cut it). So i was wondering
> what the best environment to develop in django is, do I need a gui to
> develop effectively? I hope that question was specific enough, thank
> you in advance for the responses!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

--
Sent from my mobile device

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

No comments:

Post a Comment