> On Sep 27, 2015, at 06:04, Cai Gengyang wrote:
>
> This is my entire settings.py file
>
> …
I’m not seeing the problem, but it is certainly there somewhere.
Try removing pieces of the settings file until you can isolate the syntax
problem which is likely on or before line 45. Copy the orig
> On Sep 27, 2015, at 05:26, Cai Gengyang wrote:
>
> Hi Tom,
>
> Following your latest instructions , I have posted my input and output
> results here. Still getting an error message though it is a different one
> this time ( a traceback error )
Oh, much better :)
You are now seeing a typo
> On Sep 27, 2015, at 04:39, Cai Gengyang wrote:
>
> Hi Tom,
> So I click on Finder ---> Go ---> Home ---> 'Weiqi' folder ---> mysite folder
> ---> manage.py file. (using a Mac OS X Yosemite Version 10.10.2)
> This puts me in the same directory as the manage.py file.
> Then I key in the command
> …
> However, when I try to run the following command : $ python manage.py migrate
> to create the tables in the database,
> CaiGengYangs-MacBook-Pro:Weiqi CaiGengYang$ python manage.py migrate
> input
> I get the following error message :
> /Library/Frameworks/Python.framework/Versions/2.7
> On Sep 14, 2015, at 21:12, sum abiut wrote:
>
> Hi all,
> Can someone please point me to right direction. I am trying to extract data
> from an existing ms sql database. i just need some direction to get started.
If you are trying to port your data from MySQL to Postgres, you may be able to
> On Sep 9, 2015, at 22:36, Pawanesh Gautam wrote:
>
> how to add extra field in user add screen ??
afaik you will need to use your own form (in forms.py) which includes the
fields you want.
hth
- Tom
--
You received this message because you are subscribed to the Google Groups
"Django us
> On Aug 11, 2015, at 12:29, Prabath Peiris wrote:
>
> Hi
>
> I am new to (kind of) Django framework and just finish the
> Django-REST-framework tutorials and it looks really cool. I am a big fan of
> ZendFramework2.0 (with Apigility) and trying to make parallels between these
> two framewo
> On Jul 27, 2015, at 11:48, Ingo Hohmann wrote:
>
> Thank you.
>
> It's the age old problem between management and development. I'd say develop
> on a small server, and then test how far it can go. But someone wants to know
> _now_.
“Thousands of entries” is relatively small. Unless you hav
> …
> I am having some trouble installing Django. The installation documentation
> is great and I have downloaded Python version 3.4.3 for OS X but can't seem
> to complete the download. I am new to programming so most likely its user
> error.
I use MacOS for my development machine. If it we
> On Jul 22, 2015, at 09:11, Steve Burrus wrote:
>
> I find myself in ned of help yet again w. django. Just to say parenthetically
> I have had this problem before. just what am I doing wrong with the command
> "python .\Scripts\ django-admin.py startproject me" to consistently get this
> err
> On Jun 5, 2015, at 8:44 AM, dk wrote:
>
> I created a website that can reboot a machine. basically subprocess a script
> that lunch the reboot command in Linux.
> after that I need to run some other operations. after that I wait 1 minute
> before start pinging the machine to see if its back
On May 19, 2015, at 8:13 AM, Chi Gao wrote:
> I encounter a similar problem. This issue is due to in MySQL "Currently, you
> cannot update a table and select from the same table in a subquery." A
> workaround way (in MySQL) is to create a template table from the selection:
>
> UPDATE `djangoa
On May 3, 2015, at 7:17 PM, Mike Dewhirst wrote:
> On 4/05/2015 11:41 AM, Tom Lockhart wrote:
>> On May 3, 2015, at 2:35 PM, Matthys wrote:
>>
>>> I posted the question also on stackoverflow:
>>>
>>> http://stackoverflow.com/questions/30017229/how-t
On May 3, 2015, at 2:35 PM, Matthys wrote:
> I posted the question also on stackoverflow:
>
> http://stackoverflow.com/questions/30017229/how-to-represent-month-as-field-on-django-model
>
> The question is for situations where a model instance relates to a specific
> month, but not to a specif
> 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
On Mar 20, 2015, at 9:59 AM, Fellipe Henrique wrote:
>
> On Fri, Mar 20, 2015 at 11:43 AM, Vijay Khemlani wrote:
> Soo when you open your webpage, look at its source code, click on the
> "/static/public/css/bootstrap.min.css" path it shows the file in Firefox?
>
> Yes.. when I open source
On Mar 20, 2015, at 7:37 AM, Néstor wrote:
> Is it OK to have this syntax?
> href=“{% static "public/css/bootstrap.min.css" %}">
fwiw yes it is OK to have that syntax with double quotes inside another set of
double quotes.
- Tom
>
> Should you not do something like this:
> href="{% static '
On Feb 19, 2015, at 8:03 AM, Valéria Pacheco wrote:
> Hello! I'm a newbie in Django and Python, I'm trying to use the ImageField
> property.
> The problem is represented in the attachment images.
> The uploading of the image works fine, but when trying to access it, the link
> seems to be broke
On Feb 18, 2015, at 11:04 PM, talex wrote:
> I have a functioning Django application that is based on sqlite3,
> but I want to change to using Postgres.
I’ll point out for the benefit of others who might be getting started: Postgres
is a full featured database and supports the full range of Dj
On Feb 19, 2015, at 5:27 AM, SHINTO PETER wrote:
> How to install django in redhat where i have python 2.6 and 2.7 and i need to
> install django in python 2.7
Use virtualenv to select and install python 2.7 from your existing installation
into a separate place. There is a redhat package for
On Jan 22, 2015, at 4:42 PM, Supermario wrote:
> Many thanks for your help Thomas. Indeed I am in the middle of big escape
> effort to get the heck away from Drupal.
>
> I tested your snippet in the shell and DrupalPasswordHasher hashes perfectly
> well there.
>
> However, when I integrate t
On Jan 21, 2015, at 3:07 PM, Supermario wrote:I am trying to move Druap 7 site to django 1.7 without invalidating user passwords, and this proved to be daunting.Fortunately, I have found this SO question and this hashing snippet but there is no documentation and as a newbie to
On Nov 22, 2014, at 4:53 AM, Krishnakant Mane wrote:
> Hello all,
> I have been looking for some good discussion on this issue.
> i see there is not much difference between 1.7 and 1.6 as far as my
> requirement goes.
> I have gone through the official docs for both in a kind of rappid specific
> Thanks for the reply. Yes, I am using a virtualenv for this project. I’ll
> try to stick it out with GeoDjango, but I really do not know what to do now
> to try to continue on with the install.
I would probably stop “continuing”, and go back to the start. afaict the
installation instructi
On Nov 19, 2014, at 2:24 PM, jogaserbia wrote:
> Thanks for the help Carl. Also, thanks for filing the ticket.
>
> Every bit of info helps. I really do like Python and Django so far.
>
> I am just wondering whether I should just quit trying to make GeoDjango work
> on my windows machine
On Oct 22, 2014, at 9:12 AM, robert brook wrote:
>
> I have alot of experience installing packages on windows and mac and it goes
> very smoothly.
> I do not have alot of experience doing the installs on a Linux box.
>
> I am running into problems installing 4 packages.
>
> The Lan team tried
On Oct 18, 2014, at 2:24 AM, Scipion wrote:
> Hey,
>
> I have started to use Django (1.6) few weeks ago and I have the following
> problem to resolve by using templatetags. (this is my very first templatetags
> draft, so I may be wrong in the way of designing it, do not hesitate to
> highlig
On Oct 12, 2014, at 10:01 PM, dk wrote:
> I have this 2 models
>
> class Choice(models.Model):
> restaurant = models.ForeignKey(Restaurant)
> person = models.ForeignKey(Person)
> date = models.DateField("time published")
> time = models.TimeField("date published")
>
> class Pers
On Oct 11, 2014, at 10:10 AM, sheyda kianimehr wrote:
> Hi guys I have a problem.
> I am so new in Django and Postgres
>
> I am installed python, django, postgres on Ubuntu (acording to
> https://docs.djangoproject.com/en/1.7/intro/tutorial01/)
> but I have problem in seting up The development
On 2014-09-03, at 4:22 PM, msoulier wrote:
> Hi,
>
> I am looking at Django's performance with respect to modifying large numbers
> of objects, each in a unique way that cannot be batched. If I make a simple
> change to one of my Django models and save(), and then do the same thing in
> sqla
On 2014-05-31, at 4:41 AM, ngangsia akumbo wrote:
> please i need some legit answer please
Please give one or two specific examples of functionality you need. There are
parameters for fields which can help specialize some behaviours without needing
a new model. And there are hooks to allow sp
r all songs at once you can implement a management command for
the command line or if in the admin GUI you will likely want to implement a GUI
button. I'd stayed away from GUI buttons previously but it turns out to be
pretty simple once you have one done.
hth
- Tom
> ...
> Now Jane Smith has the same ID as John Doe had previously. This may not be a
> problem in your situation, or it might. Anyway it's good practice to never
> re-purpose an ID.
MySQL started as a non-ACID query server (not a full relational database in the
accepted sense) and these kinds o
I am not using 1.6 yet. However, you will likely get the best help if you can
describe more exactly your symptoms. What does "giving a wrong time" actually
look like? Are the fields scrambled? Is there a time offset to the result? Or
something else?? Please be specific on what you are finding an
On 2013-12-24, at 4:55 PM, zobcl...@gmail.com wrote:
> I would like to create a web app / interface to manipulate and maintain my
> server's dhcpd.conf file.
> Background in Short:
> I was asked a few years back to build a wifi network for approximately 500
> users with unlimited devices. With
at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/952e8e35-bb11-4c66-aca8-d25585606d76%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Tom Lockhart
tlockh
he Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.goog
On 2013-12-20, at 1:07 AM, "Daniele Procida" wrote:
> As you may already be aware, tickets for Django Weekend Cardiff
> <http://djangoweekend.org> sold out in three weeks.
>
Congratulations Daniele!
Tom Lockhart
tlockhart1...@gmail.com
--
You received thi
nitial sql" may just be postponing
a problem to the future.
hth
- Tom
On 2013-12-14, at 6:02 AM, Larry Martell wrote:
> On Fri, Dec 13, 2013 at 8:08 PM, Tom Lockhart wrote:
>
> On 2013-12-13, at 1:48 PM, Larry Martell wrote:
>
>> I have 2 tabl
le.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACwCsY7si8kVqx3fqNRY%3DV%3DqPzGN1q-P2p5gfrc0a8UXps-OCQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Tom Lockhart
tlockhart1...@gmail.com
egroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3aefeaa5-cf81-47c0-99d6-00c09fcda6a9%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
To
ngo-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b54669cb-6d8e-481a-a4f7-665fd1e0876d%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Tom Lockhart
tlockhart1...@gmail.com
--
You received this messag
oogle.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJTdXTGzao5CaAfX9b%3Dyy_%2BG6LeEcSV1FA7Z11tALZ2WYR4XhQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Tom Lockhart
tlockhart1...@gm
On 2013-12-03, at 7:02 PM, Creed Mangrum wrote:
> Just wondering if there is any general feelings or inclinations to any good
> ones out there. Thanks!
I've been using Mezzanine as the underpinnings for a bigger site. I can
recommend it highly. Not familiar with others though.
On 2013-12-02, at 10:42 PM, Swastik Acharya wrote:
> django 1.4 version
> postgresql 9.1 version
>
> I have successfully loaded all the html files and css on browser using django.
> Now i have some tables in postgresql ,which i need to integrate it with
> django and .html files so that data w
On 2013-11-21, at 9:34 PM, Harjot Mann wrote:
> I want to save my html django templates to odt file. Is there any way
> to do this?
Not sure what you actually want to do. If you are trying to capture your final
html, you might be able to script something, possibly with selenium, to
generate t
his 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
On 2013-10-27, at 7:46 AM, Doug Snyder wrote:
> I don't have a very specific answer for your question. I just started doing
> my django dev on OSX coming from Ubuntu
> My understanding is that Home Brew is a better solution than Mac Ports, I
> have heard some people being very critical of Mac
On 2013-10-14, at 3:58 PM, Mark Strickland wrote:
> I am new to using Django and I can get one urls to work, but I cannot get
> another. I am running Django 1.5
>
> This url works.
>
> url(r'^$', views.index, name='index'),
>
> But if I try to follow this one.
>
> url(r'^(?P\D+)/$', views
On 2013-09-28, at 4:58 PM, Tom Lockhart wrote:
>
> On 2013-09-28, at 4:21 PM, Jason S wrote:
>
>> Thanks Tom,
>> I had a pretty painful install experience over a few weeks and had sudo'd a
>> command I shouldn't have when doing the GAE install.
>>
;
> - Tom
>
>
>
>
> --
> 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+unsubscr
On 2013-09-28, at 3:27 PM, Jason S wrote:
> I can now access my CSS file and i've confirmed it's location by changing its
> name and confirming the dev server can't see it any more.after I change the
> file name.
>
> The directory its finding it is under [project]/templates/static/css
> Sorry
On 2013-09-21, at 1:27 PM, Poom Buncha wrote:
> Hi all
>
> First off, I like to say that I am a beginner to everything related to
> computing. So I have to appologize a head of time if what I am asking is
> common sense.
> I'm trying to install Django on my windows computer
>
> So I instal
On 2013-09-06, at 4:04 PM, Natko Perko wrote:
>
> Obviously not and obviously I couldnt google it.
Ah, of course. What is obviously not obvious to you is not obvious to the rest
of us either.
Please be specific on what you did find and what you feel you are missing. Even
if it is obvious. O
o unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options,
On 2013-08-29, at 5:33 AM, Nagarajan Dharmar Sitha
wrote:
> if (os.stat('udacityLastFileNumberForL.txt').st_size == 0):
> MaxNumberFile = open("udacityLastFileNumberForL.txt", "w")
> self.udacityFileVersionNumberL = 1
> MaxNumberFile.write("DATA_VERSION_CONST
On 2013-08-23, at 11:19 AM, TinyJaguar wrote:
> I'm about to implement recaptcha in my feedbackform but I'm a bit confused by
> all the possibilities.
> Should I use:
> recaptcha-client 1.0.6 or recaptcha 1.0rc1.
> django-recaptcha or django-recaptcha-works
> other options? what would be yo
On 2013-08-22, at 9:39 AM, Tom Evans wrote:
> On Thu, Aug 22, 2013 at 5:14 PM, Shahmi Junoh
> wrote:
>> Dear admin,
>>
>> Kindly remove my subscription of this mailing list. Or how do I achieve
>> this?
>
> At the bottom of the email you just forwarded to the list was this text:
>
> You rece
On 2013-08-21, at 7:25 AM, Gerd Koetje wrote:
> He Thomas, ur right i didnt explain myself very well.
>
>
> What im trying todo is this.
>
> I have a mode that holds all my form field values in difrant group , name:
> Keuzes
> Now i want to populate multiple form fields with these values b
On 2013-08-21, at 3:46 AM, Gerd Koetje wrote:
> anyone willing to help out?
I was confused by your original example, talking about a form but then showing
just one field in a model definition. So I was waiting to learn something from
a knowledgable response. Instead you are stuck with my gues
On 2013-08-20, at 9:02 PM, Diek Kearney wrote:
> I am going through the Tutorial Django 1.5 Tutorial Part 3, and up to the
> current point everything was running smoothly, then I hit a wall that I
> cannot figure out. Maybe I am too focused on following, anyways I need some
> help.
> ...
> Th
On 2013-08-20, at 3:53 AM, kandelabr wrote:
> Hello!
>
> I want to define a new template tag and use it in a number of applications
> inside my django project. The documentation says:
>
> Custom template tags and filters must live inside a Django app. If they
> relate to an existing app it m
I haven't used the feature, but there is no reason to think that having the db
backend do a random sort is any slower than you doing it yourself.
If your query can reduce the number of rows returned to a relatively small
number, any "order by" should have acceptable performance. If not, it will
On 2012-09-13, at 10:17 AM, Bob Aalsma wrote:
> Django 1.4.1
> Python 2.7.3
> OS X 10.7.4
Ah, OS X…
You need to (slightly) modify your manage.py file to add this near the top:
import os
os.environ.setdefault('LANG','en_CA')
substituting your favorite language setting of course.
hth
On 2012-08-18, at 1:28 PM, phil archambault wrote:
> Hey django users I'm trying to figure out how to dl and install django into
> py, but I'm not having any luck with this issue. I have followed the
> directions down to the tee and issue still stands, any help help would be
> greatly apprecia
65 matches
Mail list logo