Custom Commands?

2013-04-10 Thread Mark Lybrand
I am at a loss how to get custom commands working in my Django project. I am on Windows 7, running Python 2.7.3, Django 1.4.5. When I try to make my "hello world" command, I get an unknown command error. I have the following structure: │ manage.py │ ├───mysite │ │ settings.py │ │ set

Re: Custom Commands?

2013-04-11 Thread Mark Lybrand
'management' folder should be located in your application folder. And > don't forget add application in INSTALLED_APPS in your settings.py > (INSTALLED_APPS = ('myapp', )) > > On Thu, Apr 11, 2013 at 4:52 AM, Mark Lybrand wrote: > > I am at a loss how

Re: Custom Commands?

2013-04-11 Thread Mark Lybrand
#x27; folder should be located in your application folder. And >> don't forget add application in INSTALLED_APPS in your settings.py >> (INSTALLED_APPS = ('myapp', )) >> >> On Thu, Apr 11, 2013 at 4:52 AM, Mark Lybrand wrote: >> > I am at a loss

Re: Custom Commands?

2013-04-11 Thread Mark Lybrand
PP bring with it any security or performance issues I should be aware of? Thanks for all the help. On Thu, Apr 11, 2013 at 5:14 AM, Tom Evans wrote: > On Thu, Apr 11, 2013 at 12:41 PM, Mark Lybrand wrote: > > So, you have a management/commands structure in each app of your project &g

Re: Custom Commands?

2013-04-11 Thread Mark Lybrand
Thanks. I appreciate the glimpse into how another developer organizes their application. This will help me decide what I think might work for my needs. On Thu, Apr 11, 2013 at 5:44 AM, Tom Evans wrote: > On Thu, Apr 11, 2013 at 1:22 PM, Mark Lybrand wrote: > > Sorry about that, he

Status of Django with Python 3.x

2013-04-11 Thread Mark Lybrand
I understand that there is only experimental support for Python 3.x in Django 1.5. Is there any feeling for how far out a stable version of Django using Python 3.x might be? I understand that any answer is likely to be conjecture and guessing and that is okay. I am just trying to gauge if I am l

Static Files on IIS install

2013-04-11 Thread Mark Lybrand
I have managed to get a Django app installed on IIS7. It is not finding the static files for the admin section. Can someone give me some pointers on the steps I need to take to get static files to work in general, as well as specifically how to make my Django app pull the appropriate static files

Re: Static Files on IIS install

2013-04-11 Thread Mark Lybrand
b server: IIS 7 with FastCGI Python: 2.7.4 Django: 1.4.5 Should I post my settings.py file as well? On Thu, Apr 11, 2013 at 10:21 PM, Mike Dewhirst wrote: > On 12/04/2013 12:56pm, Mark Lybrand wrote: > >> I have managed to get a Django app installed on IIS7. It is not finding >>

Re: One Way to Install Django on IIS

2013-04-12 Thread Mark Lybrand
27;m going to need when I'm done with development. > > Thanks! > > On Friday, April 12, 2013 6:02:49 AM UTC-7, Mark Lybrand wrote: > >> My buddy and I were working last night on getting Django running on IIS7. >> We are not quite done as we are still working out issue

Re: need help with csv export

2013-04-13 Thread Mark Lybrand
Have you looked at this: http://docs.python.org/2/library/csv.html On Fri, Apr 12, 2013 at 2:53 PM, frocco wrote: > Hello, > > I have a php export file that I need to duplicate in django. > I am using django csv import > > Here is the PHP format I want. > > 3128559,"GOODYEAR","4024064","","","

VirtualEnv After the Fact

2013-04-13 Thread Mark Lybrand
Okay, so I started learning and messing around with Django before learning about VirtualEnv. What is the best thing for me to do to start using VirtualEnv? I assume that I must uninstall Django; is that right? Do I need to pretty much uninstall all the packages I have installed up to now (so tha

Django Package Manager and Alternate Configs

2013-04-13 Thread Mark Lybrand
Another question that comes to my mind, is there such a thing as a Django Package manager (kind of PPM for Perl or NPM for node or ruby gems or NuGet... well, you get the idea)? Related: are there packages available to switch out the Django ORM (sort of like .Net has EF or NHibernate)? Or to swit

debugging with pycharm

2013-04-21 Thread Mark Lybrand
I can't get PyCharm to break at breakpoints when debugging a django app. what is the magic incantation i neec to invoke to make this happen regardless of where i am in code (views, urls, models, templates, etc) -- Mark :) -- You received this message because you are subscribed to the Google Gro

Re: debugging with pycharm

2013-04-22 Thread Mark Lybrand
server > isn't still running. Also, make sure your break point is on a line a line > which does something (e.g., *not* on a class/function definition, empty > line, etc.) > > _Nik > > > On 4/21/2013 10:14 PM, Mark Lybrand wrote: > > I can't get PyCharm to break

Re: debugging with pycharm

2013-04-23 Thread Mark Lybrand
3 3:03:11 PM UTC-3, Mark Lybrand wrote: > >> >> It would appear that this was broken in 2.7.1. When I upgraded to 2.7.2 >> my breakpoints once again work as expected. >> > > I think in 2.7.1 the BP did not work if you set them after running server, > on 2.7.2 is

Re: question about django tutorial

2013-04-30 Thread Mark Lybrand
Try: python manage.py syncdb If you have set up the rest of your project with the admin stuff, then this should create the tables for you. Then run python manage.py runserver again. Mark :) On Tue, Apr 30, 2013 at 1:45 PM, Christopher Spears wrote: > Hi! > > I am a Django newbie, so please