hello,
i want to add in my settings.py a declaration like:
LOGIN_REDIRECT_URL='^private_profile/(?P<id>\d+)/$'
#or
LOGIN_REDIRECT_URL='/accounts/private_profile/id/'
so that when the user with the id 1, for example,is logging in, he will be redirected to
LOGIN_REDIRECT_URL='/accounts/private_profile/1/'
but both alternatives,
LOGIN_REDIRECT_URL='^private_profile/(?P<id>\d+)/$'
#or
LOGIN_REDIRECT_URL='/accounts/private_profile/id/'
are wrong, because in my browser i don't see the current user id, where am i wrong?
Thanks
Hey guys,
I'm writing an app for BlackBerry OS 4.7 and would greatly benefit from having a lightweight relational database such as SQLite that my application can use to store data locally on the device. SQLite is coming out with 5.0, which is still in beta.
Can anyone recommend any other alternatives that permit commercial use?
Additional information:
- Concurrent access not required
- Transactions not required
Thanks in advance :-)
I have to read a file from a particular line number and i know the line number say "n":
i have been thinking of two choice:
1)for i in range(n)
fname.readline()
k=readline()
print k
2)i=0
for line in fname:
dictionary[i]=line
i=i+1
but i want to know faster alternative as i might have to perform this on different files 20000 times.
is there is any other better alternatives??
thanking u
With the IPTCInfo module under Python (http://snippets.dzone.com/posts/show/768 for more info) it's possible to read, modify and write IPTC info to pictures.
However, if a JPG doesn't already have IPTC information, the module simply raises an exception. It doesn't seem to be able to create and add this metadata information itself.
What alternatives are there? I've googled for the past hour but to no avail whatsoever.
Is IKVM.NET a good way to use Java Code or Java Libs in .NET applications ? Has anybody experiences with this tool ? Are there alternatives ? Are there possibilities to call Java functions / code in COM-based applications like Visual Basic 6 or Classical ASP ?
As so far i've "found" Yahoo UI library and it fully conforms to my requirements. Also there is jqGrid that i'm using right now. If there are any alternatives?
UPDATE:
Please suggest libraries and don't seek for matching all the requirements listed below. [i'll check it for myself]
My reqs are:
rows adding, deletinig
rows reoder (optionally with drag and drop)
rows selection
inline editing
json data over xhr
(optional) simple integration with backbone.js
disclaimer: there was almost the same question 2 years ago
I would like to dynamically allocate memory from an assembly
program that does not link against the standard C library.
Since brk(2) and sbrk(2) are unavailable on Mac OS X (10.6.2),
what are the alternatives?
(I'm guessing that it involves a Mach call, but there seems to
be little documentation around that)
Are there any PHP alternatives to Edgewall's Trac solution which works on Python, and not really portable?
Duplicate: Is there an equivalent to Trac written in PHP?
I'm looking for an image hosting website that'll allow me to upload images onto their servers from my own website using an API. I like Imgur.com's API but I'm looking for alternatives.
I've been handed a rather large, old, and crusty Access 2000/2003 database to clean up. I'll need to rename a number of tables and fields, but need to do so in a way that doesn't break existing queries. (Fortunately, there are no macros, forms, or reports to worry about.)
I've heard there are some commercial tools to make this job easier, but only found one (http://www.rickworld.com/products.html).
Can anyone recommend this software, or any alternatives?
What logging libraries do you recommend as alternatives to Log4j? Do these libraries work with Spring and Hibernate? Are they compatible with Slf4j or Jakarta Commons Logging?
Dear All,
I'm using facebox ( http://famspam.com/facebox ) for calling web pages in modal window.
Is there any RECOMMENDED alternatives to do this?
I prefer jQuery releated solutions.
Regards,
Nuri Akman
Ok http://localhost/ won't load now. Recently I installed skype and am aware of the skype port conflict error. I have removed 'use port 80 and 443 as alternatives for incoming connections' from options and still no luck. I have also uninstalled skype, reinstalled it and restarted my machine several times to no avail. Also, I just tried to run my torrent client and I am getting an error for the first time.
Any ideas?
many thanks
Hi,
In one of my application I'm using the WebClient class to download files from a web server. Depending on the web server sometimes the application download millions of documents. It seems to be when there are lot of documents, performance vise the WebClient doesn't scale up well.
Also it seems to be the WebClient doesn't immediately close the connection it opened for the WebServer even after it successfully download the particular document.
I would like to know what other alternatives I have.
Thanks,
Shamika
Suppose a service written with RoR starts to use AWS S3 to store some data. What is the best library to use for working with AWS S3? Currently the main two alternatives for me are:
RightScale AWS Ruby gems
http://github.com/rightscale/right_aws
AWS::s3 http://amazon.rubyforge.org/
What are their main advantages and disadvantages? What if later service will need to use other AWS (like EC2)? What other gems do you use and why?
Thanks!
Is is wrong to have a return statement in a catch block?
What are the alternatives?
i.e:
public bool SomeFunction()
{
try
{
//somecode
return true;
}
catch(Exception ex)
{
MessageBox.Show(ex.message);
return false;
}
}
Hi,
I am developing a web application, which is still in initial stages.I have put it on web for public to use.Should I use uservoice for feedback(free account)? What are the alternatives?
Can anyone recommend a good repository viewer for Git, similar to gitk, that works on Mac OS X Leopard? (I'm not saying gitk doesn't work)
Of course I would like a native Mac application, but as I haven't found any, what are the best options to gitk?
I know about gitview, but I'm looking forward to evaluate as many alternatives as possible.
http://sourceforge.net/projects/gitview
I've been looking into writing a web app that will run on Google App Engine, but before I commit myself to the platform I'd like to know what, if any, limitations there are. I'm aware of the basic CPU/bandwidth restrictions that Google places on the free service, but I'm wondering more about development restrictions like how BigTable compares to a standard relational database and what Python libraries aren't available on the GAE platform (and what alternatives Google provides).
Basically I'm looking for any hidden roadblocks before I commit to the platform. Thanks for your help!
I was told this a few times in this very site, but I wanted to make sure this is really the case.
I was expecting to be able to sprinkle NSLog function calls throughout my code, and that Xcode/gcc would automatically strip those calls out when building my Release/Distribution builds.
Should I avoid using this? If so, what alternatives are most common between experienced Objective-C programmers?
Hello,
I'm looking into DirectShow Source Filters for playing QuickTime media. Can anyone who has been down the same path offer any advice?
I've tested offerings from MediaLooks and RogueStream. Are there any others I should check out? Are there any free or open source alternatives?
Thanks,
I'm in need of a way to detect mobile browsers server-side. I'd like a way that requires me to do little to set up and little to maintain, yet still provide me with accurate detection of (at the VERY least) Android, Mobile Safari and Blackberry browsers, along with alternatives like Opera.
I'd like to have at least the majority of the mobile market covered, and I'd really prefer virtually all of the market if it doesn't take much.
In a Unix world I've been happily using gdb for debugging and valgrind for memory analyzation.
Are there open-source quality alternatives for Windows?
I'm looking for lightweight pieces of software that do what you need, and never get in your way (just like gdb and valgrind).