Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 16 2015 16:59
    olasitarska commented #362
  • May 16 2015 16:59

    olasitarska on master

    Making post_detail.html more co… Merge pull request #362 from ve… (compare)

  • May 16 2015 16:59
    olasitarska closed #362
  • May 16 2015 16:57
    kvbik commented #362
  • May 16 2015 16:51
    veuu opened #362
  • May 16 2015 15:20
    hjwp commented #361
  • May 16 2015 15:16
    hjwp synchronize #361
  • May 16 2015 15:15
    hjwp synchronize #361
  • May 16 2015 15:12
    bmispelon commented #361
  • May 16 2015 15:08
    hjwp opened #361
  • May 16 2015 14:58
    bmispelon opened #360
  • May 16 2015 13:15
    bmispelon commented #359
  • May 16 2015 13:15

    bmispelon on master

    Provide alternative runserver c… Merge pull request #359 from Al… (compare)

  • May 16 2015 13:15
    bmispelon closed #359
  • May 16 2015 13:14
    keimlink commented #359
  • May 16 2015 13:13
    olasitarska commented #359
  • May 16 2015 13:09
    bmispelon commented #359
  • May 16 2015 11:53
    Almad opened #359
  • May 15 2015 20:00
    bmispelon commented #358
  • May 15 2015 19:59

    bmispelon on master

    fixing broken github link Merge pull request #358 from gs… (compare)

santhosh_reddy
@santhosh-reddy03
did you use collect static files after pulling from git
lulu08
@lulu08
@santhosh-reddy03 nope i forgot about it
i thought it's only for css files
santhosh_reddy
@santhosh-reddy03
yes in css the graphics for href is enabled so you have to collect those files
lulu08
@lulu08
@santhosh-reddy03 what command should i type to collect static in bash console
@santhosh-reddy03 is ti the python manage.py collectstatic?
santhosh_reddy
@santhosh-reddy03
yes
before that make your environment active
lulu08
@lulu08
copy, then after that should i pull it again in github
santhosh_reddy
@santhosh-reddy03
refresh the website under python anywhere web site then again check your main website
lulu08
@lulu08
@santhosh-reddy03 it didn't work, i reload the page after colectstatic then log in but it didn't work
Danyal Ali Asghar
@DanyalAliAsghar
How to pass data from one template to another template?
Raphael Das Gupta
@das-g
In what scenario?
Danyal Ali Asghar
@DanyalAliAsghar
I want to pass the user input on a template (home.html) to another that displays the visual output (graph.html).
Raphael Das Gupta
@das-g
So home.html will be a form?
Danyal Ali Asghar
@DanyalAliAsghar
Yes.
It takes multiple user inputs.
Raphael Das Gupta
@das-g
Then you need a view to receive the POST action. This view could then redirect to the view that will render graph.html and pass the data to that.
If the data shall be persisted, store it in the database through appropriate model objects and have graph.html get it back from there.
Have you gone through the Django Girls tutorial, yet? There a form is made for entering blog posts, and submitting the form redirects to the page of the blog post.
Danyal Ali Asghar
@DanyalAliAsghar
I've not yet gone through the DGT.
Raphael Das Gupta
@das-g
That would probably be a good start before attempting a Django project. If you're already familiar with Python programming and the command line, you can also go through the tutorial in the Django documentation.
Danyal Ali Asghar
@DanyalAliAsghar
Thanks man. Appreciated,
Raphael Das Gupta
@das-g
You're welcome. :smiley:
santhosh_reddy
@santhosh-reddy03
i am trying to make input through check list of html , how can i receive the submitted data in django
now on wards i would like to share the answer too here, i think it would help others to know if they have similar doubts
Kishankp1
@Panchalkishan
I am facing issue when adding search field on django buit in feature, even it simple empty when I hit enter it throw exception.. guide me how to resolve this type of issue
Darioc2280
@Darioc2280
good morning people i'm beginner in django python, it possible that someone helps me please
Darioc2280
@Darioc2280
hello
Raphael Das Gupta
@das-g
@Darioc2280 Have you gone through the Django Girls tutorial, yet? That is a great way to start (and the tutorial is actually the topic of this Gitter channel.)
Buggyhunter
@Buggyhunter
Hello World!
Buggyhunter
@Buggyhunter
i had a website's project, it's an e-commerce website that i should redesign, but i'm sucked and don't know how to start! should i start from scratch? i mean if i do like this i will lost my databases! and can i change completely the backend's language? sorry if my is not verry good btw!
thanks everyone!
Raphael Das Gupta
@das-g
Database contents can be migrated to new schemas, if necessary. But that kinda requires that you know what you're doing.
(And before doing anything, you should probably make a backup of everything. Database contents is probably best backed up as a database dump.)

And yes, it is possible in principle to change the backend's programming language completely, but that usually means re-implementing the backend completely in that new language. That might be more work than you can accomplish. So the question is not so much whether it's possible, but whether it's feasible. (And also, whether it's worth the effort.)

Your time might be better spent learning the technologies and languages the project currently uses.

Raphael Das Gupta
@das-g
(Which you also might have to do for being able to re-implement it in a new language, anyway.)
Buggyhunter
@Buggyhunter
oh thank you so, i think i got what i wanted :)
Olonilua Olalekan
@lecxis

How savvy are you on the latest dev tools and technologies? All developers who complete the survey and register enter a raffle to win $16,000 worth of prizes. Get your community involved too - promote the survey and you may win in addition $1,000 in cash!

https://developereconomics.net/?member_id=pdSrFATx&lang=en

Strictly for developers or those learning any programming language

Make your voice heard and earn cool cash and swags as a developer.

khalid khan
@khalid18_gitlab
im not getting the admin page in website
can anyone help me
please
im getting server error please contact administrator
Raphael Das Gupta
@das-g
for the locally running webserver or for the page hosted on PythonAnywhere?
Raphael Das Gupta
@das-g
If the error is for your blog hosted on PythonAnywhere, see https://help.pythonanywhere.com/pages/#im-looking-at-an-error-message-in-my-web-app for how to get to the log that may contain a useful error message.
If it's for the locally running webserver, have a look at the command line window where the webserver process is running. The error message should be in its terminal output.
dragonfly-cyber
@dragonfly-cyber
doing djangogirls tutorial. i managed to deploy on pythonanywhere.com but I am now stuck with django urls topic. my console looks nothing like the tutorial says it should look ("It's telling you that there is no attribute 'post_list'")
so frustrated! can't help thinking i'm to stupid to get it
mpqm
@mpqm
-bash: django-admin: command not found
djangogirls tutorial not working?