I am new to Django and am learning it baically because I wanted to create a
BookMarker project. A project for managing bookmarks. For this I am going
to create a UI through Django and a JavaScript for sending the URLs to the
app. There is a problem of CSRF token in Django. I was able to do a dum
. For example if I tried to run the
app on a different computer than I will have to manually check the CSRF
token for that and change the hard-coding.
On Tuesday, May 13, 2014 12:57:40 AM UTC+5:30, Sanjay Bhangar wrote:
>
> Hi Aseem,
>
> On Mon, May 12, 2014 at 11:25 PM, Aseem Ban
integrate JS
with Django?
On Tuesday, May 13, 2014 1:44:08 AM UTC+5:30, Tom Evans wrote:
>
> On Mon, May 12, 2014 at 9:08 PM, Tom Evans
> >
> wrote:
> > On Mon, May 12, 2014 at 9:01 PM, Aseem Bansal
> > >
> wrote:
> >> Hi Sanjay
> >>
&
he
bookmarklet. Hard to distinguish that way.
On Tuesday, May 13, 2014 10:44:02 PM UTC+5:30, Aseem Bansal wrote:
>
> I understand that it would leave the view open to CSRF attack. That is the
> reason why I asked about "Also when you are doing Django projects and need
> to deal wit
rospective? I mean should I
try to look at the browser extensions for this functionality? Try to create
one myself?
On Tuesday, May 13, 2014 10:54:25 PM UTC+5:30, Tom Evans wrote:
>
> On Tue, May 13, 2014 at 6:14 PM, Aseem Bansal
> >
> wrote:
> > I understand that it wo
I am working on a BookMarker project for managing my bookmarks. I was
creating the search page for lisitng bookmarks as per categories. I hit a
snag while testing it. I am unable to open locally stored webpages. I
understand that it is for security purposes but is it possible
(cross-browser way
I am running with DEBUG=TRUE so far
On Wednesday, May 21, 2014 12:10:02 AM UTC+5:30, Adam wrote:
>
> On Tue, 2014-05-20 at 11:29 -0700, Aseem Bansal wrote:
>
> I am working on a BookMarker project for managing my bookmarks. I was
> creating the search page for lisitng b
ay, 20 May 2014 19:29:06 UTC+1, Aseem Bansal wrote:
>>
>> I am working on a BookMarker project for managing my bookmarks. I was
>> creating the search page for lisitng bookmarks as per categories. I hit a
>> snag while testing it. I am unable to open locally stored webpage
The server will not be able to open pages stored on client machine but the
client user should be able to open html pages stored on client machine by
clicking on a hyperlink manually.
On Thursday, May 22, 2014 10:02:52 PM UTC+5:30, Aseem Bansal wrote:
>
> I want the the webpage served
this with a 'file://...' url, that will cause the browser to
> open a file on the local file system, the browser won't need to ask for
> permission, the only issue is that the files will need to be in a known
> path.
>
> François
>
> On May 22, 2014, at 12:34
mplate you are rendering it will give us something to latch onto and debug
>
> Kirby
>
> On Thursday, May 22, 2014 12:23:06 PM UTC-5, Aseem Bansal wrote:
>>
>> I understand the requirement of file protocol. That's how I keep
>> bookmarks in Chrome currently. But when
The error is coming in Chrome's console not in Python/Django when I try to
click on the link in my webbrowser. The HTML generated is below
Python 3.4 Docs
On Thursday, May 22, 2014 11:30:31 PM UTC+5:30, Aseem Bansal wrote:
>
> Here is the code so far. I have just kept Bootstrap
t; > Errors without code aren't very useful. If you provide the view and
> template you are rendering it will give us something to latch onto and
> debug
> >
> > Kirby
> >
> > On Thursday, May 22, 2014 12:23:06 PM UTC-5, Aseem Bansal wrote:
> > I
l
> help in this specific case.
>
> And I am not sure about the wisdom of running a web browser with
> securities off.
>
> Regardless this is not a django issue but a browser issue, so this is not
> the forum for this question :)
>
> François
>
> On May 22, 2
nst the
> framework - the issue you have run into unequivocally has nothing to do
> with django. You would run into the same issue using any web framework in
> any language.
>
> On Thursday, May 22, 2014 1:22:18 PM UTC-5, Aseem Bansal wrote:
>>
>> There has to be a wo
I am averse to doing that because I have offline bookmarks like the Python
documentation also which contain a lot of links. If I rendered it as text
then this problem will go in an loop. The browser will not allow any of the
rendered links on that page to be opened. So a solution is needed. That
Just wanted to say that window.open failed for locally stored files. Guess
browser security is good in Chrome.
--
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 d
I guess I should tell that the thing worked. Using server to open the web
pages worked. I made ajax calls via jQuery to the server and used code
there to do the rest. A bummer out of way. Just adding here in case someone
is doing the same thing in future. :D
--
You received this message becaus
So I am making a hobby project which can be seen
here https://github.com/anshbansal/Bookmarker . This is my first time
working with Django/jQuery and first personal web app project. Is there
anyone interested in reviewing the code? I am willing to give any
explanations if necessary.
--
You r
Thanks Shmengie. I was thinking of using class based views as it was
pointed in tutorial that they are better but I was not sure which ones are
good here. So I decided to prioritize making it work and then go for
refactoring. CSS location I will change.
The tutorials used include's but I didn'
sions.
On Monday, May 26, 2014 9:49:47 PM UTC+5:30, Andre Terra (airstrike) wrote:
>
> Why are you using the webbrowser library? I don't see how it makes sense..
>
>
> Cheers,
> AT
>
>
> On Mon, May 26, 2014 at 12:32 PM, Aseem Bansal
>
> > wrote:
>
://github.com/anshbansal/general
http://stackoverflow.com/users/2235567/aseem-bansal
On Tuesday, May 27, 2014 7:09:47 PM UTC+5:30, shmengie wrote:
>
> Partials/sub-templates are the same.
>
> For a small one pager, includes aren't very useful. As for the logic in
> using them, that
n use a partial here.
But I am not sure how to render a partial by the html() function of a
javascript. Any ideas?
On Tuesday, May 27, 2014 8:26:20 PM UTC+5:30, Aseem Bansal wrote:
>
> Background? I have some experience(a few months only) with Java 6/Struts
> 1.2 for web development. S
I last asked for a review around two weeks back for my project. Is anyone
interested to give a second review for this project?
https://github.com/anshbansal/Bookmarker
The last thread was
here https://groups.google.com/forum/#!topic/django-users/ob4fXz3GF9w in
case someone wants to see that I
:47 PM UTC+5:30, shmengie wrote:
>
>
>
> On Saturday, June 7, 2014 6:07:52 AM UTC-4, Aseem Bansal wrote:
>
>>
>> My main concern currently is that this project is turning out to have a
>> lot more jQuery than Python/HTML. Am I designing this incorrectly? I
>>
erstood the objectives of your project, but these
> things stood out to me.
>
> Cheers,
> Arun
>
>
> On Saturday, 7 June 2014 15:37:52 UTC+5:30, Aseem Bansal wrote:
>>
>> I last asked for a review around two weeks back for my project. Is anyone
>>
26 matches
Mail list logo