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)

Kapil Raj
@kapil-raj
@Totoola-Kehinde welcome to the tribe. I started learning just 2 3 days before so welcome
matrixbot
@matrixbot
vincesolo_k Welcome! A tip from me would be to not get overwhelmed. When I first started, all the different files were quite daunting, but once you’ve understood the basic structure, django is a great framework, that I now love! :) Also, always have fun ;)
lulu08
@lulu08
pls help me the authentication function for creating deleting post and login of users won't show at my server but in my local server it's working fine, i've already push it to github and pull in my python anwhere server but the problem still persist. The icon for such things won't show
santhosh_reddy
@santhosh-reddy03
NoReverseMatch at /upload/sheets/1/
Reverse for 'columns' with keyword arguments '{'slug': '1900s'}' not found. 1 pattern(s) tried: ['sheets/(?P<pk>[0-9]+)/(?P<slug>[-a-zA-Z0-9_]+)$']
this is my error, i am creating a href to this like:<!-- <p><a href="{% url 'columns' slug=sheet %}"> {{sheet}}</a></p>--> and my url for this is path('uploads/sheets/<int:pk>/<slug:slug>', views.columns, name='columns')
santhosh_reddy
@santhosh-reddy03
@lulu08 did you use /admin to login
if you use so then in python anywhere console, type python manage.py dbshell
sry @lulu08 you need to create a new super user in python any where because your local db is ignored in .gitignore , what ever the data available there wont show here, so create new super user and it will be fime
fine*
lulu08
@lulu08
i've already did that at the start of creating my domain and log in in admin page then go back to my home page but still the problem persit
persist
santhosh_reddy
@santhosh-reddy03
are you able to login as admin?
lulu08
@lulu08
yes
i logged in using my newly created superuser account
in bash console
@santhosh-reddy03 can i send screenshot here?
santhosh_reddy
@santhosh-reddy03
no try it on website that you launched
lulu08
@lulu08
yes, i tried it <mydomain>/admin right?
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!