newbie question

2010-10-04 Thread mark jason
hi I am quite new to django ..I have written a web app that takes user input and adds customer details to db. I store customer name,email ,a datetime value for each customer. When the application starts ,I want a utility program to check the db and if system datetime matches the datetime value

Newbie Question

2011-02-13 Thread meni
I'm planning new web App. Short description of my app: I have hierarchy of: Company then under it the company subsidiary and each subsidiary as few clients each client has few sites and in each site I have few Apps. Company-> subsidiary1-> ClientX |

Newbie Question

2011-02-13 Thread zedkil
Hi all, I'm not sure if its the right place to ask, so if it not can someone direct me to the right place. I'm newbie to django I'm planning new web App and I've some question since I'm not sure if what i'm planning is possible at all. Short description of my app: I have hierarchy of: Company

newbie question

2015-03-18 Thread VMD
New to django and web frameworks in general. The tutorial is great for database type apps but I want to solve a different problem to start with and am kinda stuck. All I want to do is allow a user to input a value(s) and return the output of a python function using that value(s). Could someone

Newbie Question

2008-01-29 Thread Tim Sawyer
My model includes: surname = models.CharField(maxlength=50) forenames = models.CharField(maxlength=50) def __str__(self): return self.name def name(self): return self.forenames + ' ' + self.surname Referencing name in a template works fine, but in the adm

Newbie question.

2007-12-01 Thread walterbyrd
I am trying to work through the tutorial. Everything seems to work. But, when I run: $ python manage.py validate polls I get: Error: Command doesn't accept any arguments The error does not make any sense to me. I am using djangodomain.com for my django environment. I am using django 0.96, and

Newbie question

2007-01-13 Thread Rob J Goedman
Hi, We converted an access system written in VB to a Django app. The pure db side and GUI work great. Data is also obtained from control panels that have fingerprint readers attached. So I wrote a separate python program to 'scan' these control panels (embedded linux based) and store it i

newbie question

2007-01-18 Thread Randy
Hello - and thanks to the developers for django, I'm a newbie at django, actually a newbie at web frameworks in general, but I know Python. I've got django installed (from svn), mod_python (3.2.10) working in apache (2.0.55), and I can make things work running the web server embedded in django

Newbie Question

2007-03-31 Thread M Harris
I am new to the Django lists. I would like to know what types/kinds of messages frequent this list... and (as a web page creator--- hopefully with python/django) which list is more appropriate for useage, documentation, etc, questions? Is the developer list strictly for development questions re

Newbie Question

2006-04-22 Thread Roger
Hi, As a newbie I have been working through the Django Tutorial. I must say it is very well written, even so I have hit a wall... I have activated the admin site, and created a superuser and can log in as the superuser. What I have sofar failed to do is to add the demo site (polls) to the admin

Newbie question

2021-06-07 Thread Moose Smith
I have a table which holds simple data like addresses. Created a form which displays the records in the form and allows the user to select a record "address" to edit. I want this edit function to be generic so it will work on any table without me having to define fields etc... and using Model

first newbie question

2009-01-09 Thread _Sebastian_
Hi all, I've been following the tutorial http://docs.djangoproject.com/en/dev/intro/tutorial01/#playing-with-the-api and working on a own test-project as well. so I tried to adapt from class Poll(models.Model): question = models.CharField('question',max_length=200) def __unicode__(sel

django newbie question

2009-02-20 Thread nixon66
If this is the wrong list to post a newbie question please let me know. I'm getting an error message while trying to populate the tables created by the models and not sure why. Here are the models from django.db import models class County(models.Model): name = models.CharField(max_leng

basic newbie question

2009-03-11 Thread nixon66
Trying to test out something in the interactive shell as I write a view. Tried this: f = Country.objects.get(slug=county) I'm getting a nameError saying name: "country" is not defined. I've imported the models so country should be there. I know there is something simple I'm missing just can't f

Total newbie question

2008-06-10 Thread Pedro Cora
First of all, sorry if i'm making a question that should appear a lot here. I'm a webdesigner that knows xhml and css.. and I can READ (but not write) in PHP. My question is. Is it possible to learn how to work with django? READ and WRITE code? How should I start? Python lessons? Regards and sor

Quick newbie question

2009-05-26 Thread Itai
Hey, As I was working my way through the tutorial (part 3), I ran into a little problem. When creating the HTML file with style descriptions (, ..), the page doesn't render the styles but rather the actual code, i.e: What's up? instead of: What's up? (in the correct style) What am I doing wr

MySQL Newbie question

2010-08-16 Thread Bradley Hintze
Hi all, I'm trying to install MySQL for Python on Snow Leopard and I get : sh: mysql_config: command not found Traceback (most recent call last): File "setup.py", line 15, in metadata, options = get_config() File "/Users/bradleyhintze/Desktop/MySQL-python-1.2.3/setup_posix.py", line 43,

Re: newbie question

2010-10-04 Thread Martin Melin
On Mon, Oct 4, 2010 at 8:25 AM, mark jason wrote: > hi > I am quite new to django ..I  have written a web app that takes user > input  and adds  customer details to db. > I store customer name,email ,a datetime value for each customer. > > When the application starts ,I want a utility program to c

Re: newbie question

2010-10-04 Thread Chris Lawlor
Also, one way to integrate scripts like this is to write them as django management commands, so you can run them as 'python manage.py yourcommand'. Management commands are pretty well documented in the django docs, you should have no trouble finding enough info to get started. Again, good luck C

Re: newbie question

2010-10-04 Thread mark jason
thanks guys mark -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, vis

Re: Newbie Question

2011-02-13 Thread Cal Leeming [Simplicity Media Ltd]
Hey, I did this *exact* same thing for a requirement of one of our clients. We used an inherited permissions model, but it will require you to make substantial changes to the authentication system, and doesn't just work "out of the box". Best thing to do is to write it up from scratch, then monke

Re: Newbie Question

2011-02-13 Thread Cal Leeming [Simplicity Media Ltd]
-repost- Hey, I did this *exact* same thing for a requirement of one of our clients. We used an inherited permissions model, but it will require you to make substantial changes to the authentication system, and doesn't just work "out of the box". Best thing to do is to write it up from scratch, t

Re: Newbie Question

2011-02-13 Thread zedkil
Could you elaborate please ? -- 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+unsubscr...@googlegroups.com. For more o

Re: Newbie Question

2011-02-13 Thread Cal Leeming [Simplicity Media Ltd]
Okay er, there's a group model, where a group can belong to a parent group, and then the permissions for the children are inherited from the parent object, with the permissions specified on the child object being the overrides. I am looking to re-write this soon, so I will ask the client if they w

Re: Newbie Question

2011-02-14 Thread zedkil
Thank you very much for your kind explanations. Another question on the admin UI, can I customize the user page in the admin gui and add him some capabilities do some actions like get statistics see some graph and so on, and do this customization per level, or this is out of scope for the admin

Re: Newbie Question

2011-02-14 Thread Kenneth Gonsalves
On Mon, 2011-02-14 at 02:14 -0800, zedkil wrote: > Thank you very much for your kind explanations. > > Another question on the admin UI, can I customize the user page in the > admin > gui and add him some capabilities do some actions like get statistics > see > some graph and so on, and do this

Dumb newbie question

2012-02-17 Thread Bob Carlson
I'm well into beginning building my actual app after going through the tutorial, but I have no feel yet for the answer to this question. Can apps share a set of models? My application neatly divides into three pieces, but all the pieces share the same data. Should these be 3 apps or 1? Can apps

Re: newbie question

2015-03-18 Thread Avraham Serour
short - use a view follow the tutorial, yes you will learn how to store and retrieve values from a database, and I understand that you don't need that yet but the tutorial is very brief, you won't waste your time with advanced topics you don't need On Wed, Mar 18, 2015 at 8:08 PM, VMD wrote: >

Re: newbie question

2015-03-19 Thread VMD
On Wednesday, March 18, 2015 at 12:51:22 PM UTC-6, Avraham Serour wrote: > > short - use a view > > follow the tutorial, yes you will learn how to store and retrieve values > from a database, and I understand that you don't need that yet but the > tutorial is very brief, you won't waste your time

Re: newbie question

2015-03-19 Thread Javier Guerra Giraldez
On Wed, Mar 18, 2015 at 9:41 PM, VMD wrote: > I have skimmed the tutorial and didn't find (notice) the answer. Why not > point me to an answer to my question? that's exactly the point. your question assumes Django works in some specific way, and there should be a simple answer for a simple need

Re: newbie question

2015-03-19 Thread Andrew Farrell
The other commenters are right that reading the tutorial is a good use of your time. https://docs.djangoproject.com/en/1.7/intro/tutorial03/ is the section relevant to your question. On Thu, Mar 19, 2015 at 10:39 AM, Javier Guerra Giraldez wrote: > On Wed, Mar 18, 2015 at 9:41 PM, VMD wrote: >

Re: newbie question

2015-03-20 Thread David Gleba
Does part 3 of the tutorial cover how to make a form, get the values without storing them in a database, perform the arithmetic and then display the result? I didn't see that in there. On Thursday, March 19, 2015 at 11:58:14 AM UTC-4, Andrew Farrell wrote: > > The other commenters are right tha

Re: newbie question

2015-03-20 Thread VMD
On Friday, March 20, 2015 at 9:58:23 AM UTC-6, David Gleba wrote: > > Does part 3 of the tutorial cover how to make a form, get the values > without storing them in a database, perform the arithmetic and then display > the result? I didn't see that in there. > I don't what to store them in a da

Re: newbie question

2015-03-20 Thread David Gleba
I will try to answer your question here another way. I searched google for: form to add two numbers I see: http://stackoverflow.com/questions/14496531/adding-two-numbers-using-javascript This example uses an HTML form and javascript to perform the task on the input. You don't actually need p

Re: newbie question

2015-03-20 Thread john
I'm not aware that you can use javascript in views.py. In the Template - I believe you mean. Johnf On 03/20/2015 09:35 AM, David Gleba wrote: Also, I am not an expert in Django yet, but I think you can use html and javascript in views. -- You received this message because you are subscribed

Re: newbie question

2015-03-20 Thread VMD
On Friday, March 20, 2015 at 11:09:57 AM UTC-6, David Gleba wrote: > > > You don't actually need python or django to get form input and do > something with the input. > My function is not as simple as adding two numbers and for various reasons I am not interested in using Javascript. I just use

Re: newbie question

2015-03-20 Thread john
Maybe another way to reply to your question is to break down how it would work normally. There are two sides of this question - the server side and the client side. In general client side stuff is done in javascript. Server side requests are done in python. So you have to decide where you want

Re: newbie question

2015-03-20 Thread Vincent Davis
On Friday, March 20, 2015, john wrote: > Maybe another way to reply to your question is to break down how it would > work normally. > There are two sides of this question - the server side and the client side. > > In general client side stuff is done in javascript. > Server side requests are don

Re: newbie question

2015-03-20 Thread Tom Lockhart
> The Python functions I wish to execute use numpy and other Python packages I > would like like to convert to JavaScript. As has been suggested, the tutorial is where you want to start. By the time you finish part 4 you will have a good idea how to bypass references to a data model and use for

Re: Newbie Question

2008-01-29 Thread Tim Chase
> surname = models.CharField(maxlength=50) > forenames = models.CharField(maxlength=50) > > def __str__(self): > return self.name > > def name(self): > return self.forenames + ' ' + self.surname > > > Referencing name in a template works fine, but in the a

Re: Newbie Question

2008-01-29 Thread Ivan Illarionov
> Fortnately, Python makes this very easy with the built-in > property() call: > > class MyModel(Model): > surname = CharField(...) > forenames = CharField(...) > def _get_name(self): > return self.forenames + ' ' + self.surname > name = property(fget=_get_name) Python (2.

Re: Newbie Question

2008-01-29 Thread Tim Chase
>> your __str__ returns a function...you omitted the call to that >> function: >> >> def __str__(self): >> return self.name() > > Ah - knew it would be obvious. Thanks. Simple typo on my part, I've just > split the name field in two, so it used to be a property. Fortnately, Python makes

Re: Newbie Question

2008-01-29 Thread Krzysztof Ciesielski
On Jan 29, 2008 10:03 PM, Tim Sawyer <[EMAIL PROTECTED]> wrote: > > My model includes: > > surname = models.CharField(maxlength=50) > forenames = models.CharField(maxlength=50) > > def __str__(self): > return self.name > > def name(self): > return self.forenames + '

Re: Newbie Question

2008-01-29 Thread Tim Sawyer
On Tuesday 29 Jan 2008, Tim Chase wrote: > your __str__ returns a function...you omitted the call to that > function: > > def __str__(self): > return self.name() Ah - knew it would be obvious. Thanks. Simple typo on my part, I've just split the name field in two, so it used to be a prope

Re: Newbie Question

2008-01-30 Thread Tim Sawyer
Thanks everyone, I've been reading my Python In a Nutshell ("covers python 2.2!") and it's reminded me of what I've forgotten! Any suggestions for good books? Was going to get the django book and the O'Reilly Python Cookbook. On Tuesday 29 Jan 2008, Ivan Illarionov wrote: > or, better: >d

Re: Newbie Question

2008-01-30 Thread J. Clifford Dyer
On Wed, 2008-01-30 at 23:01 +, Tim Sawyer wrote: > Thanks everyone, I've been reading my Python In a Nutshell ("covers python > 2.2!") and it's reminded me of what I've forgotten! > > Any suggestions for good books? Was going to get the django book and the > O'Reilly Python Cookbook. > >

Re: Newbie question.

2007-12-01 Thread Karen Tracey
On 12/1/07, walterbyrd <[EMAIL PROTECTED]> wrote: > > > I am trying to work through the tutorial. Everything seems to work. > But, when I run: > > $ python manage.py validate polls > > I get: > > Error: Command doesn't accept any arguments > > The error does not make any sense to me. I am using dja

Re: Newbie question.

2007-12-01 Thread walterbyrd
On Dec 1, 10:47 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 12/1/07, walterbyrd <[EMAIL PROTECTED]> wrote: > > Are you sure you are using 0.96? How do I find out? At djangodomain, django comes pre-installed. I thought the default install was 0.96, but I could be wrong. --~--~-~--

Re: Newbie question.

2007-12-01 Thread Karen Tracey
On 12/1/07, walterbyrd <[EMAIL PROTECTED]> wrote: > On Dec 1, 10:47 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > On 12/1/07, walterbyrd <[EMAIL PROTECTED]> wrote: > > > > Are you sure you are using 0.96? > > How do I find out? At djangodomain, django comes pre-installed. I > thought the defau

Re: Newbie question.

2007-12-01 Thread Karen Tracey
On 12/1/07, Karen Tracey <[EMAIL PROTECTED]> wrote: > > I know nothing of djangodomain so have no idea what version they offer. OK, so I got curious and consulted my friend Google. This page: http://www.djangodomain.com/pages/Info/ says that unless you specifically request an older version, yo

Re: Newbie question

2007-01-13 Thread Honza Král
just a thought: do you have DEBUG turned off in your settings? if not, django will store all qeuries it made in memory so that it is accessible for debugging purposes... On 1/13/07, Rob J Goedman <[EMAIL PROTECTED]> wrote: Hi, We converted an access system written in VB to a Django app. The pu

Re: Newbie question

2007-01-13 Thread James Bennett
On 1/13/07, Rob J Goedman <[EMAIL PROTECTED]> wrote: Normally the delays are natural and are controlled via Twisted (TCP and callLater). Above program is stable if I comment out the cpl=list (...) statement, otherwise it grows forever. Each time that code is called, it's fetching every row fro

Re: Newbie question

2007-01-13 Thread Rob J Goedman
Thanks a lot Honza and James! On Jan 13, 2007, at 1:35 PM, Honza Král wrote: just a thought: do you have DEBUG turned off in your settings? if not, django will store all qeuries it made in memory so that it is accessible for debugging purposes... That's it! With debug off it's stable! Sup

Re: newbie question

2007-01-18 Thread Guillermo Fernandez Castellanos
Hi, You are simply supposed to run Apache (/etc/init.d/apache2 start) and, if well configured, mod_python will take care of everything. With Apache, you're not supposed to use manage.py in any way. The thing you must think about is to add a web server to, well... serve the /media files. For tha

Re: newbie question

2007-01-18 Thread Randy
Thanks for your reply. I *am* running my apache server (and restarted it after making all changes). When I try to go to: http://localhost/fun/, I get the following debug output from django in the page: Using the URLconf defined in fun.urls, Django tried these URL patterns, in this order: 1.

Re: newbie question

2007-01-18 Thread Guillermo Fernandez Castellanos
In that case, the problem seems to be in your urls.py file. The fact is, the name of yur app does not have to be the name of the url to access your app. I mean, you can have an app called 'fun' and access it as /fun/, /now/, /whatever/,... this will be defined in urls.py. Now, did you try to a

Re: newbie question

2007-01-18 Thread [EMAIL PROTECTED]
How about try this url? http://localhost/fun/now Your application is seemed like to serve urls that starts with http://localhost/fun. "/now" should be followed by /fun to served by apache and passed to mod-python handler. --~--~-~--~~~---~--~~ You received this

Re: newbie question

2007-01-18 Thread Randy
No, that doesn't work either. Let me summarize - I'm simply trying to get the example in chpt 3 at djangobook.com working using apache: My /homedir/djangoProj/fun contains the following in urls.py: from django.conf.urls.defaults import * from fun.views import current_datetime urlpatterns = pa

Re: newbie question

2007-01-18 Thread Karen
I'm no expert, and I haven't read the book you are working from, but it seems the problem is the "/fun" part introduced in the apache config. You don't have "fun" in the urls you use with the development server, but apache has been configured to need the "fun" at the beginning in order to route t

Re: newbie question

2007-01-18 Thread Randy
Just to report some progress... if I change the line in my .../fun/urls.py from: (r'^now/$', current_datetime), to: (r'/now/$', current_datetime), then the following link will execute the 'current_datetime' method properly: http://localhost/fun/now/ Yeah! -Randy --~--~-~--~

Re: newbie question

2007-01-18 Thread Jeremy Dunck
On 1/18/07, Randy <[EMAIL PROTECTED]> wrote: Just to report some progress... if I change the line in my .../fun/urls.py from: (r'^now/$', current_datetime), to: (r'/now/$', current_datetime), then the following link will execute the 'current_datetime' method properly: http://localhost/

Re: Newbie Question

2007-03-31 Thread TaMeR
On Mar 31, 6:37 pm, M Harris <[EMAIL PROTECTED]> wrote: > I am new to the Django lists. I would like to know what types/kinds of > messages frequent this list... and (as a web page creator--- hopefully with > python/django) which list is more appropriate for useage, documentation, etc, > question

Re: Newbie Question

2007-03-31 Thread Russell Keith-Magee
On 4/1/07, M Harris <[EMAIL PROTECTED]> wrote: > > What is the django definition of user vs developer? The appropriate sort of messages for each kind of list is covered in detail in the navigation sidebar on: http://djangoproject.com/community/ and the advice on; http://www.djangoproject.com/d

Re: Newbie question

2021-06-07 Thread Lalit Suthar
try form.save(commit=False) On Mon, 7 Jun 2021 at 22:10, Moose Smith <47kanga...@gmail.com> wrote: > I have a table which holds simple data like addresses. Created a form > which displays the records in the form and allows the user to select a > record "address" to edit. > > I want this edit fun

newbie question about breadcrumbs

2008-10-09 Thread Mirto Silvio Busico
Hi all, I'm lost in understanding how to use/reuse or create breadcrumbs. Where can I find documentation /examples of setting up breadcrumbs? This is my use case: I have a site with the admin app. So I have: mysyte (admin) myapp1 myapp2 The mysite site is hosted behi

Re: first newbie question

2009-01-09 Thread Eric Abrahamsen
On Jan 9, 2009, at 10:19 PM, _Sebastian_ wrote: > > Hi all, > > I've been following the tutorial > http://docs.djangoproject.com/en/dev/intro/tutorial01/#playing-with-the-api > and working on a own test-project as well. > > so I tried to adapt from > > class Poll(models.Model): >question =

Re: first newbie question

2009-01-09 Thread Umapathy S
I usually do def __unicode__(self): return "%d" % self.question_number On Fri, Jan 9, 2009 at 2:42 PM, Eric Abrahamsen wrote: > > > On Jan 9, 2009, at 10:19 PM, _Sebastian_ wrote: > > > > > Hi all, > > > > I've been following the tutorial > http://docs.djangoproject.com/en/dev/intro/tut

Re: first newbie question

2009-01-10 Thread _Sebastian_
juhu, it works... I have to admit after reading my initial post again I could habe been more clear. So here my example & test case which now works with Umapathy S suggestion. I created a model: class Diameter(models.Model): thickener_diameter = models.SmallIntegerField() when I add a few

Re: django newbie question

2009-02-20 Thread Alex Gaynor
On Fri, Feb 20, 2009 at 2:06 PM, nixon66 wrote: > > If this is the wrong list to post a newbie question please let me > know. I'm getting an error message while trying to populate the tables > created by the models and not sure why. Here are the models > > from django.db

Re: django newbie question

2009-02-20 Thread eleom
efined before. P.S. By the way, you mix 'County' and 'Country' in your example. On Feb 20, 8:06 pm, nixon66 wrote: > If this is the wrong list to post a newbie question please let me > know. I'm getting an error message while trying to populate the tables > c

Re: django newbie question

2009-02-20 Thread nixon66
.S. By the way, you mix 'County' and 'Country' in your example. > > On Feb 20, 8:06 pm, nixon66 wrote: > > > If this is the wrong list to post a newbie question please let me > > know. I'm getting an error message while trying to populate the tables &

Re: django newbie question

2009-02-20 Thread nixon66
lient='G corp', > city = 'Walla Walla', county='blah blah', dollar_amount =54000) > > where c is the County object defined before. > > P.S. By the way, you mix 'County' and 'Country' in your example. > > On Feb 20, 8:06 pm, nixon6

Re: django newbie question

2009-02-20 Thread Alex Gaynor
gt; > > > instead of > > > > l = Company(name='xyz corp', address='56 b. street', client='G corp', > > city = 'Walla Walla', county='blah blah', dollar_amount =54000) > > > > where c is the County object defin

Re: django newbie question

2009-02-20 Thread nixon66
unty='blah blah', dollar_amount =54000) > > > > where c is the County object defined before. > > > > P.S. By the way, you mix 'County' and 'Country' in your example. > > > > On Feb 20, 8:06 pm, nixon66 wrote: > > > &g

Re: basic newbie question

2009-03-11 Thread Alex Gaynor
On Wed, Mar 11, 2009 at 10:26 PM, nixon66 wrote: > > Trying to test out something in the interactive shell as I write a > view. > > Tried this: > > f = Country.objects.get(slug=county) > > I'm getting a nameError saying name: "country" is not defined. I've > imported the models so country should

Re: basic newbie question

2009-03-11 Thread nixon66
Here is the view, which works fine. Trying to write another that's similar but wanted to try out in shell first. def county_detail(request, county): c = County.objects.get(slug=county) Vendors = Vendor.objects.filter(county=c) return render_to_response('county/county_detail.html',{'co

Re: basic newbie question

2009-03-11 Thread Alex Gaynor
On Wed, Mar 11, 2009 at 10:34 PM, nixon66 wrote: > > Here is the view, which works fine. Trying to write another that's > similar but wanted to try out in shell first. > > def county_detail(request, county): >c = County.objects.get(slug=county) >Vendors = Vendor.objects.filter(county=c) >

Re: basic newbie question

2009-03-11 Thread nixon66
Thanks On Mar 11, 11:36 pm, Alex Gaynor wrote: > On Wed, Mar 11, 2009 at 10:34 PM, nixon66 wrote: > > > Here is the view, which works fine. Trying to write another that's > > similar but wanted to try out in shell first. > > > def county_detail(request, county): > >    c = County.objects.get(

Django models - newbie question

2008-06-07 Thread nikosk
Hi all Does anyone know how to do something like this : class Game(models.Model): team1 = models.ForeignKey(Teams, related_name=u'team_home') team2 = models.ForeignKey(Teams , related_name=u'team_away') round = models.ForeignKey(Round) game_date = models.DateField() def __uni

Re: Total newbie question

2008-06-10 Thread Hernan Olivera
> My question is. Is it possible to learn how to work > with django? READ and WRITE code? How should I start? Python lessons? Maybe you can start with the Django tutorial ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Total newbie question

2008-06-10 Thread Richard Dahl
I would start with 'Dive into Python' or 'How to think like a computer scientist in python' to gain familiarity with basic python concepts. -richard On 6/10/08, Pedro Cora <[EMAIL PROTECTED]> wrote: > > > First of all, sorry if i'm making a question that should appear a lot > here. > > I'm a web

Re: Total newbie question

2008-06-10 Thread Gonzalo Delgado
El Tue, 10 Jun 2008 08:46:14 -0700 (PDT) Pedro Cora <[EMAIL PROTECTED]> escribió: > > First of all, sorry if i'm making a question that should appear a lot > here. > > I'm a webdesigner that knows xhml and css.. and I can READ (but not > write) in PHP. My question is. Is it possible to learn how

Re: Total newbie question

2008-06-10 Thread Juan Hernandez
djangobook.com is a great place to start On Wed, Jun 11, 2008 at 11:33 AM, Gonzalo Delgado < [EMAIL PROTECTED]> wrote: > El Tue, 10 Jun 2008 08:46:14 -0700 (PDT) > Pedro Cora <[EMAIL PROTECTED]> escribió: > > > > > First of all, sorry if i'm making a question that should appear a lot > > here. >

Re: Total newbie question

2008-06-10 Thread cjl
Pedro: If you have about 40 minutes to kill, you can check out my tutorial: http://www.instantdjango.com It is written for absolute beginners, and even includes a portable Django development environment for Windows, so you don't have to fool around with installing Django. The tutorial covers so

Re: Total newbie question

2008-06-11 Thread Pedro Cora
Thank you all! This weekend I'll start following everything that you guys recommended. :) On Jun 10, 5:10 pm, cjl <[EMAIL PROTECTED]> wrote: > Pedro: > > If you have about 40 minutes to kill, you can check out my tutorial: > > http://www.instantdjango.com > > It is written for absolute beginners

newbie question - import conflicts

2008-08-27 Thread [EMAIL PROTECTED]
All apps works fine in the local development environment, upload it to the server run syncdb and bang! import conflicts all over the place 'cannot import xxx'. Django apps and standalone apps are fine, it's only with the import statements amongst inter-related models in the project's own apps tha

newbie question: django-registration

2009-04-12 Thread MrBodjangles
Hi Folks and Happy Easter! OK, making slow but sure progress on learning Django. I am using django-registration, have provided the simple templates required, and am to the point that a user can register (their usename, password, etc. get populated in the auth_user table of the PostgreSQL databae

Re: Quick newbie question

2009-05-26 Thread Kenneth Gonsalves
On Wednesday 27 May 2009 04:22:12 Itai wrote: > As I was working my way through the tutorial (part 3), I ran into a > little problem. > > When creating the HTML file with style descriptions (, ..), > the page doesn't render the styles but rather the actual code, i.e: > What's up? > > > > instead

Re: Quick newbie question

2009-05-26 Thread Itai
Ok sorry about that weird question - I figured it out now. Thanks Kenneth! On May 27, 6:54 am, Kenneth Gonsalves wrote: > On Wednesday 27 May 2009 04:22:12 Itai wrote: > > > As I was working my way through the tutorial (part 3), I ran into a > > little problem. > > > When creating the HTML file

Re: MySQL Newbie question

2010-08-16 Thread David
mysql_config is usually part of the MySQL client library (not to be confused with the Python/MySQL library). You can get the full mysql package from http://dev.mysql.com/downloads/mysql On Aug 16, 12:21 pm, Bradley Hintze wrote: > Hi all, > > I'm trying to install MySQL for Python on Snow Leopar

Re: MySQL Newbie question

2010-08-17 Thread Xavier Ordoquy
Hi, On top of the package found on mysql, you have to check that mysql_config is in the path (it is provided by the package). In a shell just run the command. If you just installed the mysql package for osx, you will want to open a new shell to get an updated path. Regards, Xavier. Le 16 août

Newbie question about _set

2010-05-23 Thread Daemoneye
class People(models.Model): GenderChoice=( (u'M', u'Male'), (u'F', u'Female'), ) PositionChoice=( (u'S',u'Student'), (u'A',u'Admin'), ) Schoolnum=models.IntegerField(primary_key=True) Gender=models.CharField(max_length=100,choices=GenderCh

newbie question about paths

2011-01-29 Thread Brian Craft
Suppose the project is /var/www/django/project. Following the django with wsgi docs, you would add /var/www/django to the path, and DJANGO_SETTINGS_MODULE would be project.settings. However, in that case, the path scheme described in the tutorial doesn't work, e.g. setting up admin.py for Polls as

Re: Dumb newbie question

2012-02-17 Thread Furbee
Yes, they just need to import the models from the module that they need. Be aware, of circular imports, though. That is when one module imports from another which also imports from the first one. Check the imports at the top to make sure the module from which you are importing classes, modles, defs

Re: Dumb newbie question

2012-02-17 Thread Babatunde Akinyanmi
I'm also a noob. If I had code that would use the same models then I would keep everything inside one app but divide them into modules On 2/17/12, Bob Carlson wrote: > I'm well into beginning building my actual app after going through the > tutorial, > but I have no feel yet for the answer to thi

Re: Dumb newbie question

2012-02-17 Thread Babatunde Akinyanmi
I'm also a noob. If I had code that would use the same models then I would keep everything inside one app but divide them into modules On 2/17/12, Bob Carlson wrote: > I'm well into beginning building my actual app after going through the > tutorial, > but I have no feel yet for the answer to thi

Re: Dumb newbie question

2012-02-17 Thread Tom Evans
On Fri, Feb 17, 2012 at 4:15 PM, Babatunde Akinyanmi wrote: > I'm also a noob. If I had code that would use the same models then I > would keep everything inside one app but divide them into modules > I would say that is slightly sub optimal. There is nothing wrong with an app that consists sole

RE: Dumb newbie question

2012-02-17 Thread Bob Carlson
Of Tom Evans Sent: Friday, February 17, 2012 10:12 To: django-users@googlegroups.com Subject: Re: Dumb newbie question On Fri, Feb 17, 2012 at 4:15 PM, Babatunde Akinyanmi wrote: > I'm also a noob. If I had code that would use the same models then I > would keep everything inside

Newbie Question: URLconf suggestions

2007-06-01 Thread cjl
D: I am in the process of learning Django, and I'm trying to build a very simple mapping application similar to chicagocrime or newhavencrimelog. I like the URLconf that chicagocrime uses for displaying crimes by type: /crimes/arson /crimes/burglary This makes sense, and the urls look nice. I'

New Forms/Newbie Question

2007-03-19 Thread JimR
Alright, I've been struggling with this for a while, so I hope someone can help me. I'm not even sure if I can ask the question intelligently enough for a reply. I'll paraphrase the problem using a subset of my model. I'm familiar with DB programming but not good at it right now! I'm developin

  1   2   3   4   5   >