-
Replied To a Post in django inserting data to database from views.py file
I don't know how but the problem fixed after rebooting system. -
Replied To a Post in django inserting data to database from views.py file
models.py: from django.db import models class Publisher(models.Model): name = models.CharField(max_length=30) city = models.CharField(max_length=60) views.py: from django.http import HttpResponse import pymysql from books.models import Publisher def send(request): p = Publisher(name='Apress', city='Berkeley') … -
Edited django inserting data to database from views.py file
Hello. I want to insert data into django db from a function in the **views.py** file. I'm using **linux**, **python 3.4**, **django 1.8.2**, **PyMySQL** -
Created django inserting data to database from views.py file
Hello. I want to insert data into django db from a function in the **views.py** file. I'm using **linux**, **python 3.4**, **django 1.8.2**, **PyMySQL** -
Began Watching django inserting data to database from views.py file
Hello. I want to insert data into django db from a function in the **views.py** file. I'm using **linux**, **python 3.4**, **django 1.8.2**, **PyMySQL** -
Marked Solved Status for django "python manage.py validate" prints error "unknown command"
Hello. With running this command: `python manage.py validate` I faced with this error: `Unknown command: 'validate'` What should I do now? For more explanations: - Linux - Virtualenv - Python … -
Replied To a Post in django "python manage.py validate" prints error "unknown command"
I found the answer myself: `pip install Django==1.8.2` **Django==1.9.2** Does not support some commands. -
Created django "python manage.py validate" prints error "unknown command"
Hello. With running this command: `python manage.py validate` I faced with this error: `Unknown command: 'validate'` What should I do now? For more explanations: - Linux - Virtualenv - Python … -
Began Watching django "python manage.py validate" prints error "unknown command"
Hello. With running this command: `python manage.py validate` I faced with this error: `Unknown command: 'validate'` What should I do now? For more explanations: - Linux - Virtualenv - Python … -
Created How to config mysql with django and phpmyadmin?
Hello. How can I config django (python framework) with mysql? How can i use phpmyadmin to manage my database while i'm coding in django? Thank you. -
Began Watching How to config mysql with django and phpmyadmin?
Hello. How can I config django (python framework) with mysql? How can i use phpmyadmin to manage my database while i'm coding in django? Thank you. -
Created how to get SRC of img tag
Hello. This is my code: from bs4 import BeautifulSoup import urllib2 url = urllib2.urlopen('http://www.website_address.com') soup = BeautifulSoup(url) images = soup.find_all('img') Now how can I get the "src" of img tags? -
Began Watching how to get SRC of img tag
Hello. This is my code: from bs4 import BeautifulSoup import urllib2 url = urllib2.urlopen('http://www.website_address.com') soup = BeautifulSoup(url) images = soup.find_all('img') Now how can I get the "src" of img tags? -
Created How to sent the output into a txt file (with giving the destination path)
Hi. I'm creating a web crawler, I want to send the output into a txt file, how can I do it? And I also want to give a path to … -
Began Watching How to sent the output into a txt file (with giving the destination path)
Hi. I'm creating a web crawler, I want to send the output into a txt file, how can I do it? And I also want to give a path to … -
Created How to print text in UTF_8 (letters are reversed)
Hello. There is a text in my Python script that is in Persian language and the letters are from left to right, but in Persian language letters should be written … -
Began Watching How to print text in UTF_8 (letters are reversed)
Hello. There is a text in my Python script that is in Persian language and the letters are from left to right, but in Persian language letters should be written … -
Marked Solved Status for looking for a good fun DDOS script in python
Hello everybody. I'm looking for a good cool and fun DDOS script in python. Any suggestion? How can I create a good fun DDOS script using URLLIB?! -
Replied To a Post in looking for a good fun DDOS script in python
You are right I'm sorry for the question. Of course I didn't ask it to do an illegal action. I was going to test the security of my frind's server … -
Replied To a Post in looking for a good fun DDOS script in python
Why 2 members gave me 2 negative points?! What was the problem of my question? -
Replied To a Post in looking for a good fun DDOS script in python
Yes I mean a DDOS attack. Well, I mean a successful attack, just this! -
Created looking for a good fun DDOS script in python
Hello everybody. I'm looking for a good cool and fun DDOS script in python. Any suggestion? How can I create a good fun DDOS script using URLLIB?! -
Began Watching looking for a good fun DDOS script in python
Hello everybody. I'm looking for a good cool and fun DDOS script in python. Any suggestion? How can I create a good fun DDOS script using URLLIB?! -
Replied To a Post in a problem with getting the value of the selected option of drop-down menu
Would you please help me more clear? I don't know what to do exactly yet. I don't want to use many font style just less than 8! -
Replied To a Post in a problem with getting the value of the selected option of drop-down menu
Well, there is a problem, this is my code for now: <html> <head> <style> #main-font { width: 300px; height: 120px; background-color: white; opacity: 0.2; border-radius: 20px; box-shadow: 0px 0px 10px … -
Edited a problem with getting the value of the selected option of drop-down menu
Hello. Is there any other way for not using the submit button? <?php $user_choice = $_POST['font_styles']; if ($user_choice == "font_style_1"){ $font = 'firstfont'; }elseif ($user_choice == "font_style_2"){ $font = 'secondfont'; … -
Created a problem with getting the value of the selected option of drop-down menu
Hello. Is there any other way for not using the submit button? <?php $user_choice = $_POST['font_styles']; if ($user_choice == "font_style_1"){ $font = 'firstfont'; }elseif ($user_choice == "font_style_2"){ $font = 'secondfont'; … -
Began Watching a problem with getting the value of the selected option of drop-down menu
Hello. Is there any other way for not using the submit button? <?php $user_choice = $_POST['font_styles']; if ($user_choice == "font_style_1"){ $font = 'firstfont'; }elseif ($user_choice == "font_style_2"){ $font = 'secondfont'; … -
Created creating long drop-down menu of location (cities)
Hi. I want to create a drop-down menu for user's location (choosing cities) in the form. I know how to create it, but as I want a long list of … -
Began Watching creating long drop-down menu of location (cities)
Hi. I want to create a drop-down menu for user's location (choosing cities) in the form. I know how to create it, but as I want a long list of …
The End.