• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

danblee.com

Tutorials & Knowledge Base Articles for System Administrators who wear many, many hats.

  • Home
  • About
  • Ask Me
  • DBLHost.com
You are here: Home / Archives for Django

Django

Installing the latest version of Django and running Python3 in a virtual environment on Mac

June 2, 2017 by Dan B. Lee Leave a Comment

Scenario: You want to install Python 3.6+ on MacOS Sierra (or other MacOS versions running older Python versions) using a virtual environment. Here's the order we're going to go about things: Install Python3 Create a virtual environment using venv Install Django in the virtual environment Install Python3 It is not a good idea to upgrade your mac to Python3. Instead, you can install Python3 as an app. It will update your shell so when you invoke python3 in the terminal it will … [Read more...] about Installing the latest version of Django and running Python3 in a virtual environment on Mac

Filed Under: Programming, Python Tagged With: Django, pip, Python, python 3.6, Python3, Shell, venv, virtualenv

Django Error: AttributeError: ‘module’ object has no attribute ‘xxx’

April 20, 2015 by Dan B. Lee Leave a Comment

So you're working through creating some models and you attempt to make migrations when you're done but you get the following error or something similar: File "/home/dan/Documents/djlab/mysite/polls/models.py", line 5, in <module> class Question(models.Model): File "/home/dan/Documents/djlab/mysite/polls/models.py", line 6, in Question question_text = models.Charfield(max_length=200) AttributeError: 'module' object has no attribute 'Charfield' This error can happen with … [Read more...] about Django Error: AttributeError: ‘module’ object has no attribute ‘xxx’

Filed Under: Programming, Python Tagged With: database, Django, Models, Python

Primary Sidebar

Categories

  • Active Directory
    • Group Policy
  • Adobe Photoshop
  • Browsers
    • Chrome
  • Cloud Based Technology
    • Citrix XenApp
  • ConnectWise
    • LabTech
  • Dell
  • Internet Service Providers (ISPs)
  • iPhone
  • Linux
    • CentOS
    • OpenVPN
    • SaltStack
    • Ubuntu
  • Microsoft Office
    • Lync
    • Microsoft Excel
    • Microsoft Outlook
    • Microsoft Word
  • Microsoft Windows
    • Active Directory
    • PowerShell
    • Windows 7
    • Windows 8 Preview & Release
  • Networks
  • News
  • Off Topic
  • Office 365
  • Peripherals
    • Monitors
  • Printers
    • Local Printers
    • Network Printers
  • Programming
    • Python
  • Riverbed
  • Security
  • Sharepoint
  • Social Media
  • Splunk
  • Storage
  • Switching & Routing
    • Cisco
    • Fortinet
  • Technology Culture
    • Opinion
  • Uncategorized
  • Virtualization
    • VEEAM
    • VMware
  • WAMP
  • Web Hosting
    • WHMCS
  • Website Design
  • Windows Server
    • Exchange 2003
    • Exchange 2010
    • Exchange 2013
    • Microsoft SQL
    • Windows Server 2003
    • Windows Server 2008 R2
    • Windows Server 2012
  • WordPress

Footer

Recent Activity

  • idrac default login - Credit One on Dell iDRAC Default Username and Password
  • Windows Server hanya menampilkan Command Prompt setelah restart - Hanya Trial on Windows Server 2012 Just Showing a Command Prompt
  • pings on Xerox Phaser 3635MFP Default Admin Username and Password
  • Xerox Phaser 3635MFP Default Admin Username and Password — danblee.com on About Dan B. Lee
  • Estudio Login | LOGINEGG on Toshiba E-Studio Default Administrator Username and Password

Dan Lee

Dan B. Lee works at SyApps, LLC., a Managed Hosting Solutions Firm, as a Senior Network Engineer. Dan has a decade of IT experience and specializes in a number of different disciplines including Virtualization, Web Site Hosting and Design, Network Security, Data Center Architecture, Local and Remote Server Hosting, and Backup & DRS Solutions. Read More…

Links

  • Home
  • About Dan B. Lee
  • Ask Me
  • Privacy Policy

Copyright © 2021 · Genesis Child Theme on Genesis Framework · WordPress · Log in